我的操作系统是Ubuntu 14.04 LTS。在
我使用的是python2.7和opencv3.0beta版,我的网络摄像头是logitechwebcam pro9000。在
Cheese应用程序运行良好,表明网络摄像头驱动程序没有问题。在
在调用cv2.VideoCapture(0).read()
(或grab()
)时,我在大约10秒后收到错误“selecttimeout”。在
我在google上广泛搜索,找到了以下解决方案:
sudo rmmod uvcvideo
sudo modprobe uvcvideo nodrop=1 timeout=5000 quirks=0x80
现在API cv2.VideoCapture(0).read()
(或grab()
)就挂起了。在
尝试使用
cv
而不是cv2
相关问题 更多 >
编程相关推荐