How to do foreground segmentation in video?

4 views (last 30 days)
In the given video i have to segment the humans as foreground.Can someone help me with the code.
  1 Comment
Walter Roberson
Walter Roberson on 27 Jan 2014
Determining whether something in an image is human or not is very very difficult. You are likely to have a very high failure rate for a Halloween party held at Madame Tussaud's Wax Museum

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 27 Jan 2014
If they're not moving, it's tough. You can probably find skin color, though that's also tough, especially dark skinned individuals. Remember four years ago when some ignorant idiots claimed that HP was making racist cameras because it could automatically find the faces of white people but not black/brown people? http://www.pcmag.com/article2/0,2817,2357429,00.asp
You can try this demo in the Computer Vision System Toolbox: http://www.mathworks.com/products/computer-vision/description4.html.
  3 Comments
Walter Roberson
Walter Roberson on 28 Jan 2014
Is that Dalek suit occupied by a small human or is it being remotely controlled? The first is to be detected, the second is to be ignored.
Image Analyst
Image Analyst on 28 Jan 2014
See my demo, attached below. It may help some. It does differencing of the current frame with N prior frames averaged together.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!