25.1. TensorFlowLiteMicro-PersonDetection
25.1.1. Overview
The TFLM example demos the use of a camera to capture an image, perform human detection via the integrated TFLM machine learning platform, and display the results on screen
25.1.2. Configurations
Connect the camera device to the CAM interface on the board
Click LCD-800480W070TC section and connect
25.1.3. Code Options
Add code before
find_packageto the project’s CMakeLists.txt to get a higher performanceset(RV_ABI "ilp32d") set(RV_ARCH "rv32gc") set(CONFIG_HPM_MATH_NN_RVP32 1)
25.1.4. Running the example
When the example runs successfully, The LCD will display the live screen, the processed image and the recognition result, while the serial terminal will output the score of whether someone is present or not
person score:-23 no person score 23