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

2 次查看(过去 30 天)
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 个评论
haris irfan
haris irfan 2013-1-27
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 2013-1-28
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?

请先登录,再进行评论。

采纳的回答

tairman singh
tairman singh 2013-1-27
编辑:tairman singh 2013-1-27
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 个评论
haris irfan
haris irfan 2013-1-28
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??

请先登录,再进行评论。

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 C4ISR 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by