Last active
August 26, 2016 01:16
-
-
Save hfeeki/8448186 to your computer and use it in GitHub Desktop.
Build openbr in ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install GCC 4.7.3 | |
sudo apt-add-repository ppa:ubuntu-sdk-team/ppa | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
# Install CMake 2.8.10.1 | |
sudo apt-get install -y cmake cmake-curses-gui | |
wget http://netcologne.dl.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.5/opencv-2.4.5.tar.gz | |
tar -xf opencv-2.4.5.tar.gz | |
cd opencv-2.4.5 | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Release .. | |
make -j4 | |
sudo make install | |
cd ../.. | |
# rm -rf opencv-2.4.5* | |
sudo apt-get install qt5-default libqt5svg5-dev qtcreator | |
git clone https://github.com/biometrics/openbr.git | |
cd openbr | |
git submodule init | |
git submodule update | |
mkdir build # from the OpenBR root directory | |
cd build | |
cmake -DCMAKE_PREFIX_PATH=~/Qt5.1.1/5.1.1/clang_64 -DCMAKE_BUILD_TYPE=Release .. | |
make -j4 | |
sudo make install | |
Install Qt 5.4.1
$ sudo apt-get install qt5-default libqt5svg5-dev qtcreator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git is missing (: