i want to detect if a human is running or not in real time using cam . how can i do it...???
2 views (last 30 days)
Show older comments
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
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?
Accepted Answer
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.
More Answers (1)
Image Analyst
on 26 Jan 2013
There are lots of tracking demos on the web site. Search for "tracking" at Mathworks.com.
0 Comments
See Also
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!