YOLOv5 Object Detection
This program inference YOLOv5 model for object detection.
Cross-Compile YOLO Program for PC
Duo256M YOLOv5 code location: sample_yolov5.cpp
Compilation method
Refer to the previous section Introduction for compiling the sample program using the provided methods. After compilation is completed, the sample_yolov5
program we need will be generated in the sample/cvi_yolo/
directory.
Obtain cvimodel
You can download precompiled yolov5s INT8 symmetric quantized cvimodel models directly, or manually convert the models as described in Model Compilation.
Download Precompiled cvimodels
- Duo256M
# INT8 symmetric model
wget https://github.com/milkv-duo/cvitek-tdl-sdk-sg200x/raw/main/cvimodel/yolov5_cv181x_int8_sym.cvimodel