yolov8 person-pets detection
This test program will pull camera data, add yolov8 algorithm, and use VLC and other tools to pull the stream in real time to view the effect.
Compile
Pedestrian detection program source code location:
Duo256M and DuoS: sample_vi_od.c
Reference: https://github.com/milkv-duo/duo-tdl-examples/blob/master/README.md method to compile the sample program.
Upload the test program and model files to Duos
- Refer to the method in the Run Duo section to install the system
Download the v2 version of the image: https://github.com/milkv-duo/duo-buildroot-sdk-v2/releases
- Refer to the method in the Camera section to connect the camera and power on
Upload the compiled sample_vi_od
to the Duo development board through the scp
command on the computer:
scp sample_vi_od [email protected]:/root/
Download cvimodel for human and cat and dog detection :
https://github.com/sophgo/tdl_models/blob/main/cv181x/pet_det_640x384.cvimodel
Use scp
to upload cvimodel to the Duo development board.
Run the example
Log in to the Duo terminal via the serial port or ssh.
Add executable permissions to the test program in Duo's terminal
chmod +x sample_vi_od