linux 下Opencv安装

官网:http://docs.opencv.org/3.0-last-rst/doc/tutorials/introduction/linux_install/linux_install.html



cd ~/opencv
mkdir build
cd build

cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=$HOME/local ..

make -j7

make install

你可能感兴趣的:(linux 下Opencv安装)