Ubuntu14.04 安装配置Opencv3.0和Python2.7

http://blog.csdn.NET/u010381648/article/details/49452023python

Install OpenCV 3.0 and Python 2.7+ on Ubuntu: http://www.pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/linux

Install OpenCV 3.0 and Python 2.7+ on OSX: http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/git

ffmpeg安装:https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu\github

How to install Python 2.7 bindings for OpenCV using MacPorts:http://stackoverflow.com/questions/8410443/how-to-install-python-2-7-bindings-for-opencv-using-macports/8547012ubuntu

 

对以上的内容作个补充吧:ide

      Ubuntu14.04安装的时候,gitclone速度很慢,由于下载量太大,建议去官网下载zip,而后wget Zip地址,cmake的时候若是碰到ippicv_linux_20151201.tgz下载过慢,能够手动下载:https://raw.githubusercontent.com/Itseez/opencv_3rdparty/81a676001ca8075ada498583e4166079e5744668/ippicv/ippicv_linux_20151201.tgz  并把它放到3rdparty相关的位置(find一下文件名,这个文件位置能够找到),3.1的cmake命令有所变更,这个具体看上面的那个老外帖子,最后的安装目录在python库的sites-packages目录下面,这个目录不必定是sys.path目录,若是找不到,就本身往dist-packages这类的sys.path目录里面copy一份就Ok了。ui

     stackoverflow那个帖子的核心内容:.net

 

  1. sudo port uninstall opencv  
  2. sudo port install py27-numpy  
  3. sudo port install opencv +python27  
相关文章
相关标签/搜索