Thursday, 20 June 2013

OpenCV installation notes

Now I have installed the OpenCv and also wgetted the source files.  But I don't know how to unzip the xxx.tar.bz2 file.  I know ".tar" but I don't know what is ."bz2".  So I need to google and wiki again.

1. sudo apt-get update

2. sudo ./install_opencv_01.sh

sudo apt-get -y install build-essential cmake cmake-qt-gui pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools

3. sudo ./install_opencv_02.sh

sudo apt-get -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavcodec53 libavformat53 libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libxine1-ffmpeg libxine-dev libxine1-bin libunicap2 libunicap2-dev libdc1394-22-dev libdc1394-22 libdc1394-utils swig libv4l-0 libv4l-dev python-numpy libpython2.6 python-dev python2.6-dev libgtk2.0-dev pkg-config

4. sudo ./wget_opencv_source.sh

wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2

.END

No comments:

Post a Comment