A method and an apparatus automatically detect and remove eyeglasses from
an image. The method according to one embodiment accesses digital image
data representing an image including a face; detects eyeglasses in the
image to produce a report about presence or absence of eyeglasses in the
image; normalizes illumination of the image to obtain a normalized image;
and removes eyeglasses from the normalized image to obtain a face image
without eyeglasses.