tensorflow-yolo icon indicating copy to clipboard operation
tensorflow-yolo copied to clipboard

Webcam support for demo.py

Open flonkler opened this issue 7 years ago • 0 comments

I added model prediction using "real-time" webcam image data. The prediction results are shown in a separate window using cv2.imshow(...).

You can choose what the model should predict as follows:

# cat image (default)
python demo.py --source image
# webcam image data
python demo.py --source webcam

Have a nice day!

flonkler avatar Oct 22 '18 09:10 flonkler