yolov8 object detection
This test program will infer the yolov8 model to achieve target detection, and the results are only output in the form of printing.
Download the precompiled cvimodel
git clone https://github.com/zwyzwm/YOLOv8-Object-Detection.git
PC-side cross-compilation YOLO program
Duo256M yolov8 code location: sample_yolov8.cpp
Compilation method
Refer to the method in the previous chapter Introduction to compile the sample program
After the compilation is completed, the sample_yolov8
program we need will be generated in the sample/cvi_yolo/
directory
Model compilation
Export yolov8.onnx model
- Download the yolov8 official warehouse code, the address is as follows: https://github.com/ultralytics
git clone https://github.com/ultralytics
- Download the corresponding yolov8 model file
Take yolov8n as an example
cd ultralytics
wget https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt