OpenCV >= 3.4.5
Download weights and cfg files from darknet website
Command line usage for object detection using Tiny-YOLOv3
-
C++:
-
Build
mkdir build cd build cmake ../ make
-
A single image:
./detector --image=bird.jpg
-
A video file:
./detector --video=run.mp4
-
-
Python
-
A single image:
python3 object_detection_yolo.py --image=bird.jpg
-
A video file:
python3 object_detection_yolo.py --video=run.mp4
-