OpenCV Python: cv2.VideoCapture can only find 2 of 3 cameras, Windows Camera app finds all

前端 未结 4 808
自闭症患者
自闭症患者 2021-02-19 00:38

I\'m trying to create 3 real-time capture frames with webcams into a USB hub into my laptop. Using the \"camera\" app on Windows, I can change the camera source one at a time an

4条回答
  •  耶瑟儿~
    2021-02-19 00:46

    1) about cv2... Well, is there any other instances/alternatives? maybe that third cam is binded to other instance instead of cv2 ?

    2) did you try to start loop (range) from -1 instead of 0?

    3) If none of the method helps you, I advise to go to Device Manager and temporarily DISABLE the individual webcam and then run your script again and see what changes. After that ENABLE webcam and see what changed. ( in worst scenario, instead of ENABLE/DISABLE, you might insall/resintall the particular webcam and then windows might resolve them correctly).

提交回复
热议问题