摘要 |
A method of detecting a face in a digital image comprises generating a map from the image, the map having a plurality of elements each corresponding to a pixel of the image, and searching the map for regions of elements corresponding to regions of pixels in the image exhibiting characteristics of a face. The map may have elements corresponding only to a small proportion of the pixels in the original image. Validation of regions exhibiting the characteristics of a face may include matching against templates. Once the location and size of a face has been identified it may be passed to the control system of a camera to enable the camera to focus on that face and/or select a suitable photograph exposure to optimise the exposure of that face. |