发明名称 |
Red eye detection aided by face detection |
摘要 |
A method for identifying a pair of genuine red eye artifacts in a captured image includes the steps of determining the presence of a face in the captured image, substantially encompassing the face within a shape, and determining the presence of three or more candidate red eye artifacts within the shape. The method continues with measuring the distance from an edge of the shape to each of the three or more candidate red eye artifacts and identifying, as genuine red eye artifacts, two candidate red eye artifacts of the three or more candidate red eye artifacts that are within a predetermined vertical distance from the edge of the shape. |
申请公布号 |
US8929614(B2) |
申请公布日期 |
2015.01.06 |
申请号 |
US200913387065 |
申请日期 |
2009.10.19 |
申请人 |
Hewlett-Packard Development Company, L.P. |
发明人 |
Oicherman Boris;Waidman Ran;Gaubatz Matthew;Harush Shlomo |
分类号 |
G06K9/00;G06T7/00 |
主分类号 |
G06K9/00 |
代理机构 |
Hewlett-Packard Development Company, L.P. |
代理人 |
Webb Steven L;Hewlett-Packard Development Company, L.P. |
主权项 |
1. A method for identifying a pair of genuine red eye artifacts in a captured image, comprising:
determining the presence of a face in the captured image; substantially encompassing the face within a rectangular shape; determining the presence of three or more candidate red eye artifacts within the rectangular shape; identifying, as genuine red eye artifacts, two candidate red eye artifacts of the three or more candidate red eye artifacts by:
measuring a color distance between each of the three or more candidate red eye artifacts within the rectangular shape;measuring, for each of the three or more candidate red eye artifacts, a vertical distance therefrom to a bottom edge of the rectangular shape and determining whether a group of candidate red eye artifacts of the three or more candidate red eye artifacts that are each within a predetermined vertical distance of the bottom edge of the rectangular shape exists;after and in response to determining that the group exists, measuring a horizontal distance between each pair of candidate red eye artifacts of the group and determining whether a pair of candidate red eye artifacts of the group separated by a predetermined horizontal distance exists; andin response to determining that the pair of candidate red eye artifacts of the group separated by the predetermined horizontal distance exists, setting the pair of candidate red eye artifacts as the genuine red eye artifacts. |
地址 |
Houston TX US |