Ask Your Question

How do I segment the actual human body shape from an image?

asked 2016-03-21 01:23:47 -0500

From single image of a dressed human (say wearing pant and shirt) with clear and plain background, I need to draw outline of his body shape for only that particular pose given in the image. Can anyone suggest any approach?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-21 17:45:22 -0500

Tetragramm gravatar image

Well, if the background is plain enough, say a solid color, you can do a binary operation to set that color to black, and the rest to white (cv::inRange for example). Then call canny and findContours to get the outline.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-20 23:36:46 -0500

Seen: 1,542 times

Last updated: Mar 21 '16