We’ve all experienced taking photographs in which everyone ends up with bright red devil eyes. So the question arises "Why ....? " Why Do Eyes Look Red in Photos? In dim light or at night, pupil very often expands due to lack of light. As camera's flash goes on, pupil doesn't have time to react (contract). Therefore, a large burst of light reaches the retina, reflects back on camera There’s a layer on the back of the eye called the choroid which is full of blood causing the reflection color to be red. Many cameras now have a setting, it shoots a series of flashes before the camera takes a picture allowing time for the pupil to construct accordingly. But the good thing is we can remove it using ImageProcessing Techniques discussed below. How to remove Red-Eyes Automatically? Step1: Eye detection We will use the standard OpenCV Haar detector (haarcascade_eye.xml) for eyes detection . To keep things simple, assume the image is a ...
Computer Vision | Machine Learning | Deep Learning