Install OpenCV-Python in Ubuntu

之前安装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