*Note: There are also video tutorials located online at: <>

or on the youtube channel: <>

Ubuntu 10.4 or 10.11

You can now download a .deb file from SourceForge – look at for an easier install.

Ubuntu 11.4

You can upgrade your OpenCV from 2.1 to 2.2 with the following command:

sudo add-apt-repository && sudo apt-get update

Then install the debian package

Ubuntu 11.10

To upgrade from OpenCV 2.1 to OpenCV 2.3 run the following command:

sudo add-apt-repository ppa:gijzelaar/cuda && sudo add-apt-repository ppa:gijzelaar/opencv2.3 && sudo apt-get update

Then install the debian package

Here is the manual method for installation:


  1. apt-get install dependencies
  2. download, build and install the latest version of OpenCV
  3. clone and install SimpleCV


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
bunzip2 OpenCV-2.2.0.tar.bz2
tar xf OpenCV-2.2.0.tar
mkdir build
cd build
sudo make install
sudo cp /usr/local/lib/python2.6/site-packages/ /usr/local/lib/python2.6/dist-packages/
sudo apt-get install -y --force-yes git git python-dev python-numpy python-nose python-scipy ipython
git clone git:// simplecv
sudo python install

Mac OS X (10.6 and above)

Note: While not required, it is strongly recommended that you install XCode from Apple:

If you want to keep control of your usr/local or are adept at building for Unix, you may want to use the directions below. Otherwise, we recommend using our Superpack, which contains everything you need in a single package:


  1. Install Xcode
  2. Install homebrew
  3. Use homebrew to install opencv and git
  4. Install scipy superpack, but with ipython 0.10.2 (download from
  5. Install python imaging library (10.6 needs ARCHFLAGS tweak)
  6. clone simplecv and python install


ruby -e "$(curl -fsSLk"
brew install opencv
ln -s /usr/local/lib/python2.6/site-packages/ /Library/Python/2.6/site-packages/
brew install git
ARCHFLAGS="-arch i386 -arch x86_64" brew install PIL
git clone git:// simplecv
cd simplecv
python install

Windows 7/Vista

If you want a streamlined install which gives you all the dependencies, we recommend using the Windows Superpack, available at

If you already have Python, OpenCV or SciPy installed and want to keep things the way you like them, follow the directions below


  1. (OPTIONAL) Install MinGW for optional files and building openCV from source. Make sure to include C/C++ Compiler and msys package.
  2. Install Python 2.7
  3. Install Python Setup Tools for Windows (See:
  4. Install the SciPy superpack:
  5. Install OpenCV: (See:
  6. easy_install.exe simplecv (See:

Table Of Contents

Previous topic

SimpleCV Cookbook

Next topic

SimpleCV Package

This Page