views:

496

answers:

1

Is there a simple way to track the motions of a single entity in a webcam feed? For example, I imagine a "hello world" app with an index finger used as mouse pointer.

I realize there's still a lot of basic research in this area, so it might be too early to expect an easy to use, generic abstraction.

For the sake of completeness, I've seen some related but lower-level (and non-Python) projects being mentioned, including AForge, WiimoteLib and an article on motion detection algorithms.

+3  A: 

You might want to take a look at http://opencv.willowgarage.com/wiki/PythonInterface. I'm not sure how hard it would be to do arbitrary motion tracking, but it was fairly simple to implement face tracking.

pafcu
+1 OpenCV would be the most mature solution to use from Python afaik.
ChristopheD
Thanks, that looks promising! I might have found a "hello world" app too: http://bradmontgomery.blogspot.com/2008/01/tracking-laser-pointer-with-python-and.html - will investigate.
AnC