How to improve the image color and bightness quality using opencv [closed]
Here is a link of what I want to implement using opencv, the human detection part is the hardest to replicate. http://www.howtogeek.com/69929/how-to... Basically I want to detect the part of the face that is not illuminated well automatically which is done using manual interfacing and then apply histogram equalization to the image. So I am stuck in the face detection part, how to decide if for an image we have such areas of dim illumination and then detecting the areas. For eg. the image in the above link or http://www.adorama.com/alc/alc_images...
please try to explain what you want here , not with a lame link.
(let's re-open it, if you come up with an update !)
So I am stuck in the face detection part, how to decide if for an image will have such areas of dim illumination and then detecting the areas.
one of your "bad" example images would be extremely helpful.
Make an intensity histogram of the face region. If it is not flat (or averaged), and has excessive peaks, then you have a badly illuminated face! It is basically what histogram equalization tries to undo in face detectors in OpenCV
How to detect the face region using opencv as in a general image we do not have a clar cut demarkation and if we try to distinguish the face using colors there is an error because of the bad illumination which makes it difficult to detect the face region exactly
use the face detector?