|
2 년 전 | |
---|---|---|
.. | ||
models | 2 년 전 | |
CMakeLists.txt | 2 년 전 | |
Convert_PyTorch_models.ipynb | 2 년 전 | |
README.md | 2 년 전 | |
coco.names | 2 년 전 | |
requirements.txt | 2 년 전 | |
sample.jpg | 2 년 전 | |
yolov5.cpp | 2 년 전 | |
yolov5.py | 2 년 전 |
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.