cv2.VideoCapture.open() always returns FALSE

后端 未结 8 2019
没有蜡笔的小新
没有蜡笔的小新 2020-12-09 17:52

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.



        
相关标签:
8条回答
  • 2020-12-09 18:44

    video related functionality is not supported (not compiled with FFmpeg), if cv2 was installed from pypi wheel:

    pip install opencv-python
    

    https://pypi.python.org/pypi/opencv-python

    0 讨论(0)
  • 2020-12-09 18:44

    If you didn't solve it in many ways,you can try to
    find and install "opencv3.2.0-dev",I use it to solve
    the problem twice.
    just pip install opencv-python is not enough.(hmm,
    at least sometimes)

    0 讨论(0)
提交回复
热议问题