TannerGilbert / Tutorials

Code for some of my articles
https://gilberttanner.com/
MIT License
561 stars 631 forks source link

image stream with a remote external camera #25

Closed vilmara closed 4 years ago

vilmara commented 4 years ago

how can we implement detection objects using a remote external camera?

TannerGilbert commented 4 years ago

Instead of saying cap = cv2.VideoCapture(0) you can for example say cap=cv2.VideoCapture('http://192.168.1.4:8080/video')

Hope this is what you're looking for. If not feel free to let me know.