Skip to content

Latest commit

 

History

History
 
 

ObjectDetection-YOLO

Run the getModels.sh file from command line to download the needed model files

	sudo chmod a+x getModels.sh
	./getModels.sh

Python:
Commandline usage for object detection using YOLOv3 
a single image:
	python3 object_detection_yolo.py --image=bird.jpg
a video file:
	python3 object_detection_yolo.py --video=run.mp4

C++:
a single image:
    ./object_detection_yolo.out --image=bird.jpg
a video file:
    ./object_detection_yolo.out --video=run.mp4

Compilation examples:
g++ -ggdb `pkg-config --cflags --libs /usr/local/Cellar/opencv3/3.4.2/lib/pkgconfig/opencv.pc` object_detection_yolo.cpp -o object_detection_yolo.out