Read this in other languages: English, 中文.
Test luckfox-pico pro (128MB RAM) using rknn to infer retinaface and stream it via rtsp.
export LUCKFOX_SDK_PATH=<Your Luckfox-pico SDK Path>
mkdir build
cd build
cmake ..
make && make install
Upload the compiled luckfox_rtsp_yolov5_demo
(directory) to luckfox-pico, navigate to the directory, and run
./luckfox_rtsp_yolov5
Use VLC to open the network stream at rtsp://172.32.0.93/live/0 (modify the IP address according to your actual situation).
Note: Before running, please close the default rkipc program by executing RkLunch-stop.sh
.
Due to the large size of the yolov5 model, it requires more memory resources to load and cannot run on luckfox-pico mini/plus (rv1103).