VideoCapture Does Not Work in Anaconda

后端 未结 7 902
谎友^
谎友^ 2020-12-09 12:58

I am using ubuntu 14.04, and have anaconda python installed. I used conda install opencv and conda install cv2 to install opencv. However I am unable to use the VideoCapture

7条回答
  •  天涯浪人
    2020-12-09 13:38

    I ran into the same problem. VideoCapture doesn't work with Conda's default version of OpenCV because ffmpeg is not enabled. In order for VideoCapture to work, you have to enable ffmpeg in the Cmake GUI and compile. You can also install my version of OpenCV which has ffmpeg enabled:

    conda install -c https://conda.binstar.org/jaimeivancervantes opencv

提交回复
热议问题