(base) C:\WINDOWS\system32>pip3 install opencv-contrib-python
Requirement already satisfied: opencv-contrib-python in e:\anaconda\lib\site-packages (4.9.0.80)
Requirement already satisfied: numpy>=1.21.2 in e:\anaconda\lib\site-packages (from opencv-contrib-python) (1.24.3)

我如果在pycharm上直接安装时这样显示不成功的:

然后我就在这个管理员窗口下,升级之后,在此按照上述方式安装还是不行,我就用了如下代码还是不行

pip3 install cv2

pip3 install opencv-contrib-python

我的电脑上是有juypter 和python3.11.4、pycharm24.4.1这三个,我感觉可能是哪里路径冲突了,但是我不知道怎么解决,麻烦大家帮我看一下该如何解决,非常感谢大家。

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

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

更多推荐