This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

21.2. TensorFlowLiteMicro-FaceDetection

21.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

21.2.2. Configurations

21.2.3. Code Options

  • Add sdk_compile_options("-mabi=ilp32d") sdk_compile_options("-march=rv32gc") set(CONFIG_HPM_MATH_NN_RVP32 1) to the project’s CMakeLists.txt to get a higher performance

Warning

Please use flash_sdram_xip option for compilation due

21.2.4. Running the example

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