Steps:
Commands:
sudo apt-get install -y --force-yes build-essential swig gfortran cmake gcc pkg-config libjpeg62-dev libtiff4-dev libpng12-dev libopenexr-dev libavformat-dev libswscale-dev liblapack-dev python-dev python-setuptools boost-build libboost-all-dev
wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.2/OpenCV-2.2.0.tar.bz2
bunzip2 OpenCV-2.2.0.tar.bz2
tar xf OpenCV-2.2.0.tar
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON ..
make
sudo make install
sudo cp /usr/local/lib/python2.6/site-packages/cv.so /usr/local/lib/python2.6/dist-packages/cv.so
sudo apt-get install -y --force-yes git git python-dev python-numpy python-nose python-scipy ipython
git clone git://git.code.sf.net/p/simplecv/git.git simplecv
sudo python setup.py install
Steps:
Commands:
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
wget http://ingenuitas.com/misc/superpack_10.6_2011.05.28-ipython10.sh
sh superpack_10.6_2011.05.28-ipython10.sh
brew install opencv
ln -s /usr/local/lib/python2.6/site-packages/cv.so /Library/Python/2.6/site-packages/cv.so
brew install git
ARCHFLAGS="-arch i386 -arch x86_64" brew install PIL
git clone git://git.code.sf.net/p/simplecv/git.git simplecv
cd simplecv
python setup.py install
Steps: