pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
pycam

pycam - 0.0.2

Brian Thorne (thorney)

Tags:

Description

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

Screenshot


click to view original size

Releases

pycam - 0.0.2 - Aug 13, 2009
pycam - 0.0.1 - Apr 28, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

September 5, 2009 1:14am - Brian Thorne - nickname: (thorney)
Hi Rene,
I didn't realize there was OpenCV already, I'll have to take a look!
The VideoCapture backend that you mention, where is that found?
Cheers
August 17, 2009 7:22am - Rene Dudfield - nickname: (illume)
hi,

just a note: there's already an opencv backend for pygame... and a VideoCapture backend. It should load if it's available. ... of course people would need the latest pygame for that to work.

Those two backends are written in python, so should be easy to modify.

Any patches or additions to pygame very welcome :)

July 6, 2009 11:48am - krist cohen - nickname: (gsuskrist007) - 5/5
hi im trying to capture video from my webcam, i just hope this module can help me to make it :)
April 29, 2009 4:06pm - Joe Johnston - nickname: (jjohn)
This seems like a really interesting and promising project. Looking forward to seeing this develop further.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Jul 28, 2014

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 10, 2014

Jul 9, 2014

Jun 27, 2014



Jun 24, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)