Ask Your Question

Problems with Face detection

asked 2014-09-07 03:15:34 -0600

Bibliarij gravatar image

updated 2014-09-07 03:16:52 -0600

Hello all! I use Viola-Jones method for face detection in OpenCV, but, when the face is lit half (one half of the face is lit, the other is darkened) face is not detected. Could any one suggest any solution to this problem?

edit retag flag offensive close merge delete



equalizeHist, CLAHE might help.

berak gravatar imageberak ( 2014-09-08 01:38:24 -0600 )edit

like @berak suggested, you need to apply color equalization. Keep in mind that training a new classifier with the half illuminated faces could also help in your case. It is a known problem of the VJ algorithm, as far as the trained models, that there is a need of a diffuse lighting.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-09 08:06:09 -0600 )edit

there' s a good one: CLAHE

berak gravatar imageberak ( 2014-09-09 10:39:21 -0600 )edit

Thanks to all, I will try to use methods of Histogram Equalizationn

Bibliarij gravatar imageBibliarij ( 2014-10-04 16:27:52 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2014-09-08 18:40:25 -0600

aliavci gravatar image

Not sure if this is the most efficient way but try cascade training with half faces?

edit flag offensive delete link more

Question Tools


Asked: 2014-09-07 03:15:34 -0600

Seen: 298 times

Last updated: Sep 08 '14