Read this in other languages: English, 中文.
This project aims to test the use of RKNN for retinaface inference on luckfox-pico plus. It annotates the inference results on the video stream through On-Screen Display (OSD). It utilizes multithreading to handle RKNN inference and RTSP streaming, ensuring the frame rate of streaming while performing model inference.
- Luckfox-pico SDK
export LUCKFOX_SDK_PATH=<Your Luckfox-pico Sdk Path>
mkdir build
cd build
cmake ..
make && make install
Upload the compiled luckfox_rtsp_retinaface_demo
to luckfox-pico, navigate to the folder, and run:
./luckfox_rtsp_retinaface_osd
Note: Before running, please close the default system rkipc
program by executing RkLunch-stop.sh
. Currently, it only supports detecting a single face.