Yolov7 Deep MI ONNX model process with OpenCV DNN C++.
Deep-learning Machine Intelligence Network.
Base is Yolov7
ONNX model format description using for the IoT device: ONNX home
OpenCV office
OpenCV 4.6.0 github
OpenCV 4.6.0 contrib github
- Windows 10 64-bit
- NVIDIA Geforce GTX 960 2 Gbyte RAM
- CUDA Toolkit v11.7
- Microsoft Visual Studio Community 2022
Downloading opencv files, there files are archive 7-Zip binary dll files
-Release mode: one size is 1 Gbye and other 21 Mbyte:
opencv_worl460.dll
unzip and copy to "./x64/Release/" directory.
-Debug mode: one size is 1.4 Gbye and other 21 Mbyte:
opencv_worl460d.dll
unzip and copy to "./x64/Debug/" directory.
-include and lib files:
opencv-4.6.0
unzip and copy to ./3rdparty.
-VS2022 started.
-"Open a project or solution".
-in Browse to search the "ImageDetector-yolov7-opencv.sln" file, and it open that.
-Build->Build Solution (F7).
Builded in "./x64/Release/ImageDetector-yolov7-opencv.exe".
cd ./x64/Release/ImageDetector-yolov7-opencv_image1.bat
cd ./x64/Release/ImageDetector-yolov7-opencv_video1.bat
Result video:
YouTube video (click):