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
The above is the detailed content of A brief analysis of the installation of Opencv 2.4.13 version under Linux. For more information, please follow other related articles on the PHP Chinese website!