VideoCapture Does Not Work in Anaconda

后端 未结 7 890
谎友^
谎友^ 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:19

    The solution is to compile ffmpeg with opencv. For opencv3, refer to https://github.com/menpo/conda-opencv3

    For opencv2, refer to http://dhaneshr.net/2016/06/03/installing-opencv-2-4-x-with-ffmpeg-python-on-anaconda/

提交回复
热议问题