Anaconda下如何安装opencv库
opencv
OpenCV: 开源计算机视觉库
项目地址:https://gitcode.com/gh_mirrors/opencv31/opencv
·
经常跟图像打交道的程序员对cv2这个函数不会陌生。今天我就讲讲如何在anaconda上安装opencv库。
首先要知道使用cv2函数必须安装opencv库,cv2只是opencv里的一个小部分库函数。
安装opencv库有三种方法。
一 用anaconda自带的navigator安装
此种方法比较简单,但是安装等待的时间比较长。
参考百度经验的帖子:https://jingyan.baidu.com/article/fdbd4277bf0816b89e3f4807.html
二 用anaconda prompt上安装
参考CSDN的博客帖子:ttps://blog.csdn.net/weixin_39278265/article/details/83216500
三 用cmd命令窗口上安装
参考CSDN的博客帖子:https://blog.csdn.net/iracer/article/details/80498732
本人试了第一种和第三种方法,觉得第一种比较耗时,第三种比较快速。
所以推荐第三种方式。
OpenCV: 开源计算机视觉库
最近提交(Master分支:4 个月前 )
6950bedb
Use Mat::total() in Darknet IO 2 天前
105a7747
doc: update image codec configuration reference (add AVIF, fix JPEG XL) #28393
This PR updates the build configuration documentation to:
- Add AVIF to the supported format list (it was missing).
- Clarify that some codecs (AVIF, JPEG XL) do not support BUILD_* options because OpenCV does not bundle their source code.
- Update the description to include "write" capabilities for these formats.
### 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
3 天前
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐



所有评论(0)