Occlusion in Face Detection and Augmented Reality

asked 2015-01-07 14:02:30 -0600

orochi gravatar image

updated 2015-01-07 14:03:25 -0600

Hi guys, I'm doing an augmented reality project based on face detection using Haarcascade from OpenCV and Java. The application will augmented an image onto detected face. So far i manage to detect the face and then apply an image to detected face (at the moment i'm using hijab image). But, the result is not look real enough. I mean, its just like an image with transparent area in the middle being put on top of detected face.

Here is the result from my AR application: image description

and the desired result is (*edited using photoshop) image description

In first image, the chins being covered by hijab image meanwhile the second image is not covered.

How do i handle this occlusion, so when i'm applying a hijab image to detected face, chins is not covered by augmented image. I already try to adjust height of the hijab, and then there will be a little gap between chins and the hijab image.

Any suggestion or what technique i should use to solve the problem?

edit retag flag offensive close merge delete