opencv python3.4_如何安装opencvforpython3.4?

关于这个有很多教程和问题。

This似乎回答了你的问题。编辑:复制如下:1) Download OpenCV from http://opencv.org/downloads.html and extract

2)From the extracted folder, copy the file from the extracted directory:

opencv/build/python/2.7/(either x86 or x64, depending on your Anaconda

version)/cv2.pyd to your Anaconda site-packages directory, e.g.,

C:\Anaconda\Lib\site-packages

3)To get ffmpeg within opencv to work, you'll have to add the directory

that ffmpeg is located in to the path (e.g., opencv/sources/3rdparty

/ffmpeg). Then you'll have to find the dll in that folder (e.g.,

opencv_ffmpeg_64.dll) and copy or rename it to a filename that includes

the opencv version you are installing, (e.g., opencv_ffmpeg249_64) for

2.4.9.

{结束复制}

EDIT2:OpenCV不支持Python 3.x,除了opencv3.0版(仍处于测试阶段)。从下载站点下载3.0版本并尝试(感谢this question)。

祝你好运!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值