unzip opencv-2.4.13.zip
cd opencv-2.4.13mkdir release
sudo apt-get install build-essential cmake libgtk2.0-dev pkg-config python-dev python-numpy libavcodec-dev libavformat-dev libswscale-dev
cd release cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
sudo make install
以上是浅析linux下Opencv 2.4.13版本的安装的详细内容。更多信息请关注PHP中文网其他相关文章!