views:

154

answers:

3

is there a way we can detect a person's body in the image and cut the only body part of the image.

+1  A: 

If the person is naked, you could use skin color segmentation.


I am not sure if you really need to detect a person's body for your application. Maybe a "simple" background substraction algorithm would also work in your case.

With background substraction what you do is to build a background model, during the time there is no foreground (person) present in the image. Then you can use the background model to determine if a pixel belongs to the foreground or to the background. Unfortunately background substraction algorithm have problems with moving backrounds and sudden light changes...

Another idea would be to start with face detection á la Viola/Jones' haar like features...

f3lix
Apple's Photo Booth application does background subtraction I think, it provides a number of scenic/comical backdrops.
dreamlax
Yes. It tells you to step out of the view to build the background model and then you can start using the effect.
f3lix
A: 

If you thought a user might only use your app a few times, uploading an image to Amazon's mechanical turk is probably your best bet.

Kendall Helmstetter Gelner