SimpleCV Documentation

[Pages:17]SimpleCV Documentation

Release 1.1.0 Ingenuitas Inc

December 03, 2011

CONTENTS

i

ii

1.1 Image 1.2 Color 1.3 Features 1.4 Cameras 1.5 Streams 1.6 Display

CHAPTER

ONE

SIMPLECV MODULE

1

SimpleCV Documentation, Release 1.1.0

2

Chapter 1. SimpleCV module

CHAPTER

TWO

INSTALLATION

*Note: There are also video tutorials located online at: or on the youtube channel:

2.1 Ubuntu (10.4 or above)

You can now download a .deb file from SourceForge ? look at for an easier install. This is the manual method for installation Steps:

1. apt-get install dependencies 2. download, build and install the latest version of OpenCV 3. clone and install SimpleCV Commands: sudo apt-get install -y --force-yes build-essential swig gfortran cmake gcc pkg-config libjpeg62-dev wget 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.p/simplecv/git.git simplecv sudo python setup.py install

2.2 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:

3

SimpleCV Documentation, Release 1.1.0

Steps:

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 setup.py install

Commands:

ruby -e "$(curl -fsSLk )" wget 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.p/simplecv/git.git simplecv cd simplecv python setup.py install

2.3 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

Steps:

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: )

4

Chapter 2. Installation

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download