Methods, systems, and computer program products used to locate a feature
in a digital image. A first search is performed in the image to find
candidate faces, where each candidate face found is a group of pixels in
the image that satisfies a first pattern-matching criterion. A second
search is performed in the image to find candidate eyes, where each
candidate eye found is a group of pixels in the image that satisfies a
second pattern-matching criterion. A third search is performed within
each candidate face that includes at least one overlapping candidate eye
to find red pupils, where each red pupil found is a group of pixels in
the image. A color modification process is applied to the red pupils.