i want to detect if a human is running or not in real time using cam . how can i do it...???

1 view (last 30 days)
want to design a real time video surveillance system that alerts whenever some one runs in-front of it...plx help me guys,.. what procedure should i adopt???? if u can provide some code then it 'll be a great help, but the procedure or method too will be lot helpfull.
  3 Comments
haris irfan
haris irfan on 27 Jan 2013
considering all these cases same...can i detect any fast movement by monitoring velocity of centroid points of the moving objects, and setting a threshold value ???
Jan
Jan on 28 Jan 2013
As usual I want to mention, that this is very easy to solve for a human. I'm in doubt, that there can be a very reliable automatic recognition, which can compete with a crowd of 5 year old kids running fast in the game of tag. So why bothering Matlab?

Sign in to comment.

Accepted Answer

tairman singh
tairman singh on 27 Jan 2013
Edited: tairman singh on 27 Jan 2013
these few steps shows how can you achieve that 1. acquire images using getsnapshot at high frame rate. 2. compare the consecutive two images pixel by pixel. 3. if same,covert to black (logic 0) otherwise to white. now number of white pixels show amount of movement and, if camera is in close proximity to the runner then number white are very large. 4.do step 1,2,3 until number of white pixels increase some threshold.
  1 Comment
haris irfan
haris irfan on 28 Jan 2013
thnx for responding to my question...can u plx explain the following line? "if camera is in close proximity to the runner then number white are very large". how will it differentiate between running and walking??

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 26 Jan 2013
There are lots of tracking demos on the web site. Search for "tracking" at Mathworks.com.

Categories

Find more on C4ISR in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!