By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,767 Members | 1,987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,767 IT Pros & Developers. It's quick & easy.

Movement recognition in video file

P: n/a
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
Nov 15 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
mi**********@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.
These kinds of tasks require massive computational efforts and thus usually
are the domain of more performant languages - like C.

A great library for that is Intel's OpenCV. And incidentially Gary Bishop
has some nice ctypes-bindings for OpenCV.

http://wwwx.cs.unc.edu/~gb/wp/blog/2...-using-ctypes/

Diez
Nov 15 '07 #2

P: n/a
On Nov 15, 8:29 am, mindmaste...@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
Nov 15 '07 #3

P: n/a
Thanks guys, I will give those solutions a try!

da*********@gmail.com escreveu:
On Nov 15, 8:29 am, mindmaste...@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
Nov 15 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.