473,387 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Movement recognition in video file

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
3 1750
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Nehmo | last post by:
When a page has a JavaScript "link" to a video, like http://www.msnbc.msn.com/id/10478942/ . How do you get the URL of the actual video? Isn't it in the source somewhere? -- )|:__ Nehmo __:|(
1
by: richardscheff | last post by:
Video selector works for IE but not other browsers. for not IE <object ID='Player' data="video/dodgeball.wmv" type="video/x-ms-wmv" width="320" height="280"> <param name="filename"...
9
by: Proginoskes | last post by:
I myself prefer the 0.81818181... Truth Movement.
1
by: David Buckley | last post by:
Does anyone have any example code of converting any type of video to flash video at all using asp.net 2.0 c# web applications. God Bless
0
by: =?Utf-8?B?SG5hMTIyNA==?= | last post by:
I am using Window's Vista and am trying to use speech recognition. I have an audio file of an interview (only one person talking, and quite clearly) but I want to use Speech Recognition to turn it...
5
by: sonu | last post by:
hey good morning ...... how to convert a video file in .flv format in php for linux hosting......is there any package whis provide this facility . Can i use ffmpeg for linux hosting...
8
by: Oscar Arreyano | last post by:
I did a website for a friend's company where they wanted a 'downloads' section similar to standard file sharing you see all over the place. Everything works great except for video. I know there are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.