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中文網其他相關文章!