27.2. TensorFlowLiteMicro-FaceDetection

27.2.1. Overview

The TFLM example demos the use of a camera to capture an image, perform face detection via the integrated TFLM machine learning platform, and display the results on screen

27.2.2. Configurations

  • Connect the camera device to the CAM interface on the board

  • Click LCD-800480W070TC section and connect

27.2.3. Code Options

  • Add code before find_package to the project’s CMakeLists.txt to get a higher performance

        set(RV_ABI "ilp32d")
        set(RV_ARCH "rv32gc")
        set(CONFIG_HPM_MATH_NN_RVP32 1)
    

27.2.4. Running the example

When the example runs successfully, The LCD will display the live screen, the processed image and the recognition result