之前安装python版opencv,需要下载whl文件,进行安装今天发现一个简单的方法。Install OpenCV-Python in UbuntuInstall package python-opencv with following command in terminal (as root user).$ sudo apt-ge...

- 之前安装python版opencv,需要下载whl文件,进行安装
今天发现一个简单的方法。
Install OpenCV-Python in Ubuntu
Install package python-opencv with following command in terminal (as root user).
$ sudo apt-get install python-opencv
Open Python IDLE (or IPython) and type following codes in Python terminal.
import cv2 as cv
print(cv.__version__)
If the results are printed out without any errors, congratulations !!! You have installed OpenCV-Python successfully.
织梦狗教程
本文标题为:Install OpenCV-Python in Ubuntu


基础教程推荐
猜你喜欢
- MySQL数据优化-多层索引 2023-08-11
- Python+OpenCV实战之实现文档扫描 2022-10-20
- python验证多组数据之间有无显著差异 2023-08-08
- windows下面使用多版本Python安装指定版本的虚拟环境 2023-09-04
- 远程和Ubuntu服务器进行Socket通信,使用python和C#(准备篇) 2023-09-05
- linux 安装 python3 2023-09-03
- 创建python虚拟环境(在ubuntu16.04中) 2023-09-04
- 使用Pycharm创建一个Django项目的超详细图文教程 2022-09-02
- Python爬虫爬取属于自己的地铁线路图 2023-08-05
- 云服务器Ubuntu更改默认python版本 2023-09-03