rohilsaraf97 / Yolov3ObjectDetection

Python: Real Time Object Detection (Image, Webcam, Video files) with Yolov3 and OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real time Object Detection using Python

Python: Real Time Object Detection (Image, Webcam, Video files) with Yolov3 and OpenCV

The initial file is written for performing yolov3 object detection on videos, it can be changed to work on images by just commenting and uncommenting a few lines of code.

Instructions for using this program for image and video files are written as comments in the main.py file.

Weights and Configuration file:

Download yolov3 cfg and weights file from here:

YOLO: Real-Time Object Detection (pjreddie.com)

Setup:

Ensure that the yolov3 cfg and weight files, and also the video/image chosen are at the same level as the main.py file.

After installing all the packages with in the requirements.txt file, just run the main.py file.

Sample Output:

image

About

Python: Real Time Object Detection (Image, Webcam, Video files) with Yolov3 and OpenCV


Languages

Language:Python 100.0%