cv2.VideoCapture.open() always returns FALSE
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to access a Logitech c310 webcam on my beaglebone. It always returns false for any device ID, I am not sure why. I use the following code. >>> import cv2, numpy as np >>> cam = cv2.VideoCapture(0) >>> cam.open(0) False The camera does show up as video0 in dev/ and also in root@arm:~#lsusb , like below, root@arm:~# lsusb Bus 001 Device 002: ID 046d:081b Logitech, Inc. Webcam C310 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I could also access the