dectect one person [closed]

asked 2018-01-10 06:15:31 -0600

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 :)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-10-13 14:28:26.018355

Comments

if you are working with video, you can try to combine background subtraction and HOGDescriptor ( better than using haarcascade_fullbody.xml)

sturkmen gravatar imagesturkmen ( 2018-01-10 06:45:59 -0600 )edit

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!

StevenPuttemans gravatar imageStevenPuttemans ( 2018-01-10 07:21:52 -0600 )edit