码迷,mamicode.com
首页 > 编程语言 > 详细

Install OpenCV-Python in Ubuntu

时间:2018-10-02 20:12:31      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:out   htm   href   安装   The   tutorial   ESS   简单   erro   

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

标签:out   htm   href   安装   The   tutorial   ESS   简单   erro   

原文地址:https://www.cnblogs.com/ranjiewen/p/9737346.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!