opencv和opencv_contrib源码下载
时间: 2023-11-04 09:29:43 浏览: 102
opencv和opencv_contrib的源码可以从官方网站下载:
opencv源码:https://opencv.org/releases/
opencv_contrib源码:https://github.com/opencv/opencv_contrib/releases
需要注意的是,opencv_contrib是opencv的扩展模块,需要与对应版本的opencv一起使用。例如,opencv 4.5.1对应的opencv_contrib版本是4.5.1,下载时需要注意版本匹配。
相关问题
3.4.6opencv_contrib源码下载
As an AI language model, I don't have the ability to download files, but I can provide you with the steps to download the opencv_contrib source code:
1. Go to the official OpenCV website: https://opencv.org/
2. Click on the "Download" button on the top menu bar.
3. Scroll down until you see "Additional packages" and click on "opencv_contrib".
4. Select the version of OpenCV you are working with and click on the "Download" button.
5. Extract the downloaded file to your desired location.
Note: You can also download opencv_contrib from repositories like GitHub.
opencv_contrib安装
要安装opencv_contrib,首先需要确保已经成功配置并安装了opencv。然后按照以下步骤安装opencv_contrib:
1. 下载opencv_contrib的源码并解压缩。
2. 打开命令提示符,并进入opencv_contrib的目录。
3. 创建一个新的目录来构建opencv_contrib。
4. 使用CMake配置opencv_contrib的构建。在CMake界面中,指定opencv和opencv_contrib的源码目录以及构建目录。
5. 点击“Configure”按钮,然后选择适合您的编译环境的生成器,并点击“Generate”按钮生成项目文件。
6. 在生成的项目文件中,找到并打开用于构建的IDE(例如Visual Studio)。
7. 构建项目,生成opencv_contrib的库文件。
8. 将生成的库文件复制到opencv的安装目录中的相应位置。
9. 完成安装。
阅读全文