Connect webcam to google colab

45 views Asked by At

How can I use my webcam in colab? I need it for yolov5 running, I want to use the output of webcam as a source for object detection. `python detect.py --weights yolov5s.pt --source

I have done it with just simply showing the result of webcam in a single code but as I provided I need to use it as an output and combine it with yolov5

When I use the 0 in python detect.py --weights yolov5s.pt --source 0 I expect it open my laptops webcam but it doesn't

0

There are 0 answers