OpenCV:修订间差异
(创建页面,内容为“OpenCV(Open Source Computer Vision Library),计算机视觉库,可以实时图像处理,识别。OpenCV支持多种编程语言,如C++,Python,Java等,…”) |
无编辑摘要 |
||
第13行: | 第13行: | ||
===OpenCV-Python 安装=== | ===OpenCV-Python 安装=== | ||
OpenCV-Python是OpenCV的Python API。 | OpenCV-Python是OpenCV的Python API。 | ||
使用pip安装预构建的仅限 CPU 的 OpenCV 包,如果需要启用其他模块(例如 CUDA),需要手动安装。OpenCV-Python预构建4个软件包,其中无头模式,不包含任何用户界面,适用服务器环境(如 Docker、云环境等)。 | |||
<syntaxhighlight lang="bash" > | |||
# 主模块包 | |||
pip install opencv-python | |||
# 完整包,包含主模块和 contrib/extra 模块 | |||
# pip install opencv-contrib-python | |||
# 无头主模块包 | |||
# pip install opencv-python-headless | |||
# 无头完整包,包含主模块和 contrib/extra 模块 | |||
# install opencv-contrib-python-headless | |||
</syntaxhighlight> | |||
{{了解更多 | {{了解更多 | ||
|[https://github.com/opencv/opencv-python opencv-python 源代码] | |||
|[https://docs.opencv.org/4.x/da/df6/tutorial_py_table_of_contents_setup.html OpenCV 文档:OpenCV-Python简介] | |[https://docs.opencv.org/4.x/da/df6/tutorial_py_table_of_contents_setup.html OpenCV 文档:OpenCV-Python简介] | ||
}} | }} | ||
第25行: | 第41行: | ||
* OpenCV 文档:https://docs.opencv.org/ | * OpenCV 文档:https://docs.opencv.org/ | ||
* OpenCV 源代码:https://github.com/opencv/opencv | * OpenCV 源代码:https://github.com/opencv/opencv | ||
* opencv-python 源代码:https://github.com/opencv/opencv-python | |||
* OpenCV 源代码:https://sourceforge.net/projects/opencvlibrary/ | * OpenCV 源代码:https://sourceforge.net/projects/opencvlibrary/ | ||
* OpenCV 论坛:https://forum.opencv.org/ | * OpenCV 论坛:https://forum.opencv.org/ | ||
===网站=== | ===网站=== |
2022年11月5日 (六) 08:48的版本
OpenCV(Open Source Computer Vision Library),计算机视觉库,可以实时图像处理,识别。OpenCV支持多种编程语言,如C++,Python,Java等,并且可以在不同的平台上使用。
简介
时间轴
安装
OpenCV 安装
了解更多 >> OpenCV 文档:安装概览
OpenCV-Python 安装
OpenCV-Python是OpenCV的Python API。
使用pip安装预构建的仅限 CPU 的 OpenCV 包,如果需要启用其他模块(例如 CUDA),需要手动安装。OpenCV-Python预构建4个软件包,其中无头模式,不包含任何用户界面,适用服务器环境(如 Docker、云环境等)。
# 主模块包
pip install opencv-python
# 完整包,包含主模块和 contrib/extra 模块
# pip install opencv-contrib-python
# 无头主模块包
# pip install opencv-python-headless
# 无头完整包,包含主模块和 contrib/extra 模块
# install opencv-contrib-python-headless
基础知识
资源
官网
- OpenCV 官网:https://opencv.org/
- OpenCV 文档:https://docs.opencv.org/
- OpenCV 源代码:https://github.com/opencv/opencv
- opencv-python 源代码:https://github.com/opencv/opencv-python
- OpenCV 源代码:https://sourceforge.net/projects/opencvlibrary/
- OpenCV 论坛:https://forum.opencv.org/