Skip to content

Instantly share code, notes, and snippets.

#install esseintal packages for opencv
sudo apt-get install -y build-essential cmake pkg-config libgtk2.0-dev libgtk2.0 zlib1g-dev libpng-dev libjpeg-dev libtiff-dev libjasper-dev libavcodec-dev swig
#install xserver and x11 util for remote X environment usage (optional)
# xserver-xorg-core xserver-xorg x11-xserver-utils
#download opencv and decompress it
## please use wget to download it on sourceforge
cd ~
wget http://softlayer-ams.dl.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.9/opencv-2.4.9.zip