Ask Your Question
0

Best method to detect eyeglasses with OpenCV

asked 2014-03-03 03:28:58 -0500

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 !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-03-05 04:54:32 -0500

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.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-03-03 03:28:58 -0500

Seen: 3,294 times

Last updated: Mar 05 '14