歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux技術

Ubuntu15.10 安裝OpenCV3.1

wgethttps://sourceforge.net/projects/opencvlibrary/files/opencv-unix/3.1.0/opencv-3.1.0.zip/download
unzip download
cd opencv-3.1.0/
mkdir release
cd release/
cmake -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local ..
(這裡如果下載ippicv出錯,下載這個文件替換http://download.csdn.net/download/chu_ying/9432287,替換目錄opencv-3.1.0/3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e/)
make
sudo make install
驗證安裝是否成功?
python
import cv2
沒有報錯,安裝成功!

參考文章:http://www.linuxdiyf.com/linux/17877.html
Copyright © Linux教程網 All Rights Reserved