1、pip install opencv-python

(不过这个下的贼慢,我还以为是我网的问题,原来是它本来就慢)

2、用镜像源下载,有以下几种:

(1)清华:​ ​https://pypi.tuna.tsinghua.edu.cn/simple​​
(2)阿里云:​ ​http://mirrors.aliyun.com/pypi/simple/​​
(3)中国科技大学 ​ ​https://pypi.mirrors.ustc.edu.cn/simple/​​
(4)华中理工大学:​ ​http://pypi.hustunique.com/​​
(5)山东理工大学:​ ​http://pypi.sdutlinux.org/​​

我采用的是清华镜像源,已成功下载,命令行如下。

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

 

GitHub 加速计划 / opencv31 / opencv
232
21
下载
OpenCV: 开源计算机视觉库
最近提交(Master分支:3 个月前 )
334b7146 Remove floating point arithmetic from angle computation in QR codes #28157 ### Pull Request Readiness Checklist resolves https://github.com/opencv/opencv/issues/24646 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 - [x] 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 6 小时前
f704001e Test: Add regression test for LINE_4 vs LINE_8 connectivity #28120 Add test to verify correct behavior of LINE_4 (4-connected) and LINE_8 (8-connected) line drawing. This test ensures: - LINE_4 produces staircase pattern (more pixels) for diagonal lines - LINE_8 produces diagonal steps (fewer pixels) - LINE_4 pixels have only horizontal/vertical neighbors (no diagonal-only) Regression test for issue #26413 where LINE_4 and LINE_8 behaviors were swapped. 1 天前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐