Skip to main content

pycam - 0.0.2

Basic Computer Vision in Python. Using Pygame, Scipy and Opencv.


Brian Thorne
(thorney)
A project exploring using the new Camera module for basic computer vision. Currently has example with eye and face detection, based on opencv's Haar classifiers. There is a edge detection example that uses either scipy's signals module, numpy convolution or pygame's transform. There is an opencv camera wrapping class that allows an opencv camera to be used with pygame. Adapts the numpy cvmat returned by opencv into a surface. Implements a VideoCapturePlayer class which can be used as a base for doing simple image processing on live video. A process can be given (as a function) that is run on every frame between capture and display. Alternatively it can simply display live video. It will try use the pygame camera module, if this is unavailable it will try to use opencv for image capture using the wrapper mentioned above. http://bitsofpy.blogspot.com/search/label/pycam

Changes

A project exploring using the new Camera module for basic computer vision. Currently has example with eye and face detection, based on opencv's Haar classifiers. There is a edge detection example that uses either scipy's signals module, numpy convolution or pygame's transform. There is an opencv camera wrapping class that allows an opencv camera to be used with pygame. Adapts the numpy cvmat returned by opencv into a surface. Implements a VideoCapturePlayer class which can be used as a base for doing simple image processing on live video. A process can be given (as a function) that is run on every frame between capture and display. Alternatively it can simply display live video. It will try use the pygame camera module, if this is unavailable it will try to use opencv for image capture using the wrapper mentioned above.

Links

Home Page
http://pycam.googlecode.com
Source
http://code.google.com/p/pycam/source/browse/
Windows
http://code.google.com/p/pycam/source/browse/#svn/branches/windows-branch/pycam

Releases

pycam 0.0.1 — 28 Apr, 2009

pycam 0.0.2 — 13 Aug, 2009

Pygame.org account Comments