Movement recognition in video file

davisn90210 at gmail.com davisn90210 at gmail.com
Thu Nov 15 18:15:42 CET 2007


On Nov 15, 8:29 am, mindmaste... at gmail.com wrote:
> Hi,
>
> I am looking for a python tool or module that helps me build a script
> that can perceive object moves in a video file captured by a (web)
> camera. My main goal is to be able to count people entering a store
> using the store's surveillance camera.
>
> I know of some packages like Eyesweb (gestural recognition package) or
> Pure Data's module called GEM, but I don't know any written in python.
>
> Thanks

You could use something like PyMedia to iterate the frames in the
video, then process the image using something like PIL or numpy.
Other possibilities might include gstreamer, or any other multimedia
library that has python bindings.  Depending on your exact needs,
python may be too slow for the "guts" of the algorithm, but certainly
could be used for prototyping and/or glue code.

I've used PyMedia with both PIL and numpy to do some video processing
in the past.  If you need help getting started, just ask.

--Nathan Davis



More information about the Python-list mailing list