- yolov3.weights (416) must be on the same level with other files.
- Frame skips of video and webcam can be changed from Line 43. It detects objects in every 3 frames as default.
https://pjreddie.com/media/files/yolov3.weights
- Webcam: objectDetection.py webcam
- Video: objectDetection.py 'Path of the video'
- Image: objectDetection.py 'Path of the image'
objectDetection.py test.jpg