Patent ID: 8446494

Claim:
A machine-implemented method of processing an input image, comprising: determining, by a processor, candidate redeye areas in the input image based on redeye features extracted from the image, wherein the determining comprises associating with each of the candidate redeye areas a respective set of one or more redeye metric values each of which indicates a respective confidence that a respective one of the redeye features exists in the respective candidate redeye area; ascertaining candidate face areas in the input image based on face features extracted from the image, wherein the ascertaining comprises associating with each of the candidate face areas a respective set of one or more face metric values each of which represents indicates a respective confidence that a respective one of the face features exists in the respective candidate face area; assigning to each of the candidate redeye areas a respective joint metric vector comprising metric values derived from the respective set of redeye metric values and the set of face metric values associated with a selected one of the candidate face areas; classifying each of one or more of the candidate redeye areas as either a redeye artifact or a non-redeye artifact based on the respective joint metric vector assigned to the candidate redeye area, wherein the classifying comprises for each of the one or more candidate redeye areas classifying the respective joint metric vector as being associated with either a redeye artifact or a non-redeye artifact based on a machine learning model trained on joint metric vectors comprising redeye metric values indicating respective confidences that respective ones of the redeye features exist in respective sample redeye areas and face metric values indicating respective confidences that respective ones of the face features exist in respective sample face areas; and correcting at least one of the candidate redeye areas classified as a redeye artifact.