Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Open source Python module for computer vision
Python Shell
Latest commit 376d597 @jesolem Examples for Chapter 8

About PCV

PCV is a pure Python library for computer vision based on the book "Programming Computer Vision with Python" by Jan Erik Solem.

More details on the book (and a pdf version of the latest draft) can be found at


You need to have Python 2.6+ and as a minimum:

Some parts use:

Many sections show applications that require smaller specialized Python modules. See the book or the individual examples for full list of these dependencies.


PCV/ the code.

pcv_book/ contains a clean folder with the code exactly as used in the book at time of publication.

examples/ contains sample code. Some examples use data available at


Open a terminal in the PCV directory and run (with sudo if needed on your system):

python install

Now you should be able to do

import PCV

in your Python session or script. Try one of the sample code examples to check that the installation works.


All code in this project is provided as open source under the BSD license (2-clause "Simplified BSD License"). See LICENSE.txt.

-Jan Erik Solem

Something went wrong with that request. Please try again.