this repo based on yolov5 v3.0
- opencv
- onnx runtime linux
- cmake
1.git clone https://github.com/JiaoPaner/detector-onnx-linux.git
2.add your onnx file to model dir and modify detectorConfig::classes value in constants.h
3.modify the main method in src/api.cpp or the main.py in test dir to test by yourself
4.mkdir build
5.cd build
6.cmake ..
7.make -j8