Face Detection based on Background Light Condition
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?
Thanks,
things you could try:
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 :)
oh, CascadeClassifier does a equalizeHist internally ? did not know that ;)
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.
ah, ok. thanks for clarifying.
you are welcome!