注:

安装opencv-contrib-python要求:

  1. python >= 3.6
  2. pip >= 19.3(越新越好)

步骤(全程不用3分钟):

  1. 创建虚拟环境

    # visb为环境名,可自己命名
    conda create -n visb python=3.7  
    # 激活环境
    activate visb
    
  2. 安装numpymatplotlib

    pip install numpy matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
    
  3. 安装opencv-python

    pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
    
  4. 安装opencv-contrib-python

    pip install opencv-contrib-python -i https://pypi.tuna.tsinghua.edu.cn/simple  
    

安装完成

在这里插入图片描述

GitHub 加速计划 / opencv31 / opencv
77.36 K
55.71 K
下载
OpenCV: 开源计算机视觉库
最近提交(Master分支:1 个月前 )
3919f33e G-API: Introduce level optimization flag for ONNXRT backend #26293 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake 1 天前
489df18a Use border value in ipp version of warp affine #26313 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake 1 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐