首先在下载pycharm之前我们要先去下载python,官网是python.org。

下载之后再去下载pycharm。

在进入pycharm之后,可以在一开始不选择解释器,进入项目之后点击 文件->设置->项目->python解释器 选择添加本地解释器(即你安装的python):

接下来就可以下载opencv了。

点击下方终端

在里边输入:

pip install opencv-python -i Simple Index

下载完成之后再输入:

pip install opencv-contrib-python -i ​​​​​​​Simple Index

下载完成之后再输入:

 pip install numpy -i https://mirrors.aliyun.com/pypi/simple

完成之后opencv的下载就完成了,直接使用!

如果上面的镜像源无法下载成功请切换以下镜像源:

清华大学:https://pypi.tuna.tsinghua.edu.cn/simple
 
阿里云:https://mirrors.aliyun.com/pypi/simple
 
中国科学技术大学 https://pypi.mirrors.ustc.edu.cn/simple
 
豆瓣:https://pypi.douban.com/simple

GitHub 加速计划 / opencv31 / opencv
213
14
下载
OpenCV: 开源计算机视觉库
最近提交(Master分支:9 个月前 )
bbaed6f3 Fix Typos in Comments and Documentation #27455 Description: This pull request corrects minor typos in comments and documentation within the codebase: - Replaces "representitive" with "representative" in kmeans.cpp. - Replaces "indices" with the correct spelling in a comment in main.cu. 1 天前
d1b4b46d Fixed bugs in orthogonalization; simplified column vectors copying #27437 This PR mirrors to OpenCV a bug fix addressed by commit [a03d34b](https://github.com/terzakig/sqpnp/commit/a03d34b641ebba2986cf457cd910218cc8d3cc8c) in SQPnP It also fixes bugs in the orthogonalization introduced during the porting to OpenCV and simplifies column vectors copying, eliminating double loops. ### 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 2 天前
Logo

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

更多推荐