Ask Your Question

Face Detection based on Background Light Condition

asked 2014-05-13 09:02:20 -0500

Sandip gravatar image

updated 2014-05-13 09:29:30 -0500

berak gravatar image

Hi All,

We are using LBP for face detection and new to face detection. We have a situation that it should detect the Face in Heavy background light like Sunny. But our face detection code is unable to detect the face in sunny Light. So anyone please help to resolve this issue. How do we detect the face in sunny background? Also how do we detect the face on different Light condition?


edit retag flag offensive close merge delete


berak gravatar imageberak ( 2014-05-13 09:28:18 -0500 )edit

Histogram equalization will probably not work. It is already done on training a face detector so before performing your detection this should already be a standard operation. No idea about the others tough :)

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-19 06:47:08 -0500 )edit

oh, CascadeClassifier does a equalizeHist internally ? did not know that ;)

berak gravatar imageberak ( 2014-05-19 06:54:02 -0500 )edit

it does during training, first makes grayscale images, then performs a equalizeHist to optimize the feature detection. However before performing a detection with a trained model, I always suggest my students to apply those steps to the image input. It does increase their results.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-19 07:03:47 -0500 )edit

ah, ok. thanks for clarifying.

berak gravatar imageberak ( 2014-05-19 07:22:41 -0500 )edit

you are welcome!

StevenPuttemans gravatar imageStevenPuttemans ( 2014-05-19 07:54:12 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-19 05:54:30 -0500

Sandip gravatar image

Thanks berak, the CLAHE works good. Now it works with the sunlight also.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-05-13 09:02:20 -0500

Seen: 669 times

Last updated: May 19 '14