This repository contains the code for Object Detection using YOLOv5 and OpenCV DNN in C++ and Python blogpost.
pip install -r requirements.txt
List of tutorials for installing OpenCV for C++ here.
python yolov5.py
```C++ Linux mkdir build cd build cmake .. cmake --build . ./main
### CMake C++ Windows
```C++ Windows
rmdir /s /q build
cmake -S . -B build
cmake --build build --config Release
.\build\Release\main.exe
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.