ubuntu14.04安装opencv-2.4.11

ubuntu-14.04 install opencv-2.4.11


cmake install 
sudo apt-get install cmake
sudo apt-get update


cd opencv-2.4.11
sudo mkdir release
cd release
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler ..
sudo make -j8
sudo make install


test:
python(code)

import cv2

不出错,说明安装成功.

你可能感兴趣的:(Linux,openCV)