Skip to content

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

Notifications You must be signed in to change notification settings

rohilsaraf97/Yolov3ObjectDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages