arunponnusamy / object-detection-opencv

YOLO Object detection with OpenCV and Python.
http://arunponnusamy.com/yolo-object-detection-opencv-python.html
MIT License
473 stars 336 forks source link

Could you do some additional work by adding video and stream reading support #10

Open bit-scientist opened 5 years ago

bit-scientist commented 5 years ago

Hi @arunponnusamy , your work is very useful, thank you! Is it possible to include video and stream video supports also?

arunponnusamy commented 5 years ago

Hello @bit-scientist , have a look at this example. https://github.com/arunponnusamy/cvlib/blob/master/examples/object_detection_webcam.py You can replace the zeo in VideoCapture(0) with video file like VideoCapture('video.mp4').