Open isinsuarici opened 2 years ago
I know it's about the part:
try: vid = cv2.VideoCapture(int(video_path)) except: vid = cv2.VideoCapture(video_path)
When I wrote --video 0, it looks for a camera but Colab doesn't have a camera. I have to connect to my local camera. But how can I do that? ( I saw the snippets about Javascript but I can't use it in this way.)
I'm using colab and when I run the following code:
then it says:
I know the problem is with opening the camera in Colab. But I couldn't find how to solve it.