Skip to content

Instantly share code, notes, and snippets.

@ivanrosolen
Created May 30, 2016 14:50
Show Gist options
  • Save ivanrosolen/b55b6428472e6e27e0c8a46b6110da4d to your computer and use it in GitHub Desktop.
Save ivanrosolen/b55b6428472e6e27e0c8a46b6110da4d to your computer and use it in GitHub Desktop.
Opencertiface Ubuntu
apt-get update
apt-get install libtool bison byacc flex autoconf libssl-dev openssl qt5-default build-essential cmake libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev build-essential checkinstall cmake pkg-config yasm libtiff4-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev unzip git wget vim
mkdir gsoap
cd gsoap
wget http://downloads.sourceforge.net/project/gsoap2/gSOAP/gsoap_2.8.29.zip?r=&ts=1459146537&use_mirror=ufpr
unzip gsoap_2.8.29.zip?r=
cd gsoap-2.8/
./configure
make
make install
mkdir opencv
cd opencv
wget https://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.11/opencv-2.4.11.zip/download
unzip download
cd opencv-2.4.11/
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..
make
make install
git clone https://github.com/cabelo/opencertiface
cd opencertiface/biometrics/
mkdir build
cd build/
cmake -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
make
make install
ln /dev/null /dev/raw1394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment