240

田头花匠

导航

VS配置openCV python接口的环境

1.安装VS 2017

    pan.baidu.com/s/1_HycbxXqRfptMYEaho02bg

    验证码:srpx

2.安装python 3.6.5

    https://pan.baidu.com/s/1JMQ9Tjbc8lFBr-OTYhjXeA

    提取码:lnuv

3.安装openCV库

 使用pip安装:

pip3 install opencv-python  

直接使用的速度较慢,推荐的一个方法:

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python
//在install后添加一个国内的镜像地址

清华:https://pypi.tuna.tsinghua.edu.cn/simple


阿里云:http://mirrors.aliyun.com/pypi/simple/


中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/


华中理工大学:http://pypi.hustunique.com/


山东理工大学:http://pypi.sdutlinux.org/ 


豆瓣:http://pypi.douban.com/simple/

 

posted on 2020-02-28 18:26  田头花匠  阅读(635)  评论(0)    收藏  举报