dectect one person [closed]
Hello everyone, I use a function from opencv and with haarcascade_fullbody.xml I can detect one person. The function returns a rectangle, and the person is into the rectangle. But I would like to have the boundarie of the person and no a rectangle. How can I do this ? Does it exist a function who do this ?
thank you for your help :)
if you are working with video, you can try to combine background subtraction and HOGDescriptor ( better than using haarcascade_fullbody.xml)
Once you have the detection, you will need to segment out the background. You could start with a simple background subtractor in easy cases, but that fails pretty fast. Maybe using Grabcut can help you find a solution!