YOLOv3 Object Detection with OpenCV
1.0.0
This project implements an image and video object detection classifier using pretrained yolov3 models. The yolov3 models are taken from the official yolov3 paper which was released in 2018. The yolov3 implementation is from darknet. Also, this project implements an option to perform classification real-time using the webcam.
git clone https://github.com/iArunava/YOLOv3-Object-Detection-with-OpenCV.git
cd YOLOv3-Object-Detection-with-OpenCV
python3 yolo.py --image-path='/path/to/image/'
python3 yolo.py --video-path='/path/to/video/'
python3 yolo.py
Note: This works considering you have the weights
and config
files at the yolov3-coco directory.
If the files are located somewhere else then mention the path while calling the yolov3.py
. For more details
yolo.py --help
Click on the image to Play the video on YouTube
Click on the image to Play the video on YouTube
The code in this project is distributed under the MIT License.