Ask Your Question
0

Best method to detect eyeglasses with OpenCV

asked Mar 3 '14

humbleAR gravatar image

Hi everyone,

I'm working on a project that involves several features related to face detection and some face information.

One of the features is detection of eyeglasses. This means that I have to make an algorithme that says YES or NO, the face is wearing glasses. I already have a face detector and eyes detectors that work well. We can see it as a detection problem or a classification problem.

I would like to have your opinion on what you consider as being a good method to solve that problem.

Than you much !

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Mar 5 '14

juanmanpr gravatar image

You can check this paper: http://research.microsoft.com/en-us/um/people/zhang/Papers/PAMI%20-%20Eyeglasses%20Removal.pdf They do detection and automatic removal, it may be useful.

They say:

Central to our system is a sample-based approach that learns the statistical mapping between face images with eyeglasses and their counterparts without eyeglasses. From a number of training pairs of face images with and without eyeglasses, we model their joint distribution effectively in an eigenspace spanned by all training pairs. With the learned joint distribution, given a face image with eyeglasses, we can obtain in closed form its corresponding face image without eyeglasses.

Thus, this approach would require a training database.

Preview: (hide)

Question Tools

Stats

Asked: Mar 3 '14

Seen: 5,092 times

Last updated: Mar 05 '14