Patent ID: 7397955

Claim:
A digital camera having an image sensing device for sensing an image of a subject and outputting image data that represents the image of the subject, a setting device for setting a portrait photography mode, a scenery photography mode, or a night-scene photography mode, and an image processing device for subjecting image data that is output from the image sensing device to image processing, which is suited to portrait photography, in accordance with setting of the portrait photography mode by the setting device, the camera comprising: a correlation value calculating device for calculating a correlation value between a template image of a face and an image within an area in a part of the image of the subject represented by the image data output from the image sensing device; a determination device for determining whether the image in said area comprises the image of a face based upon whether the correlation value calculated by said correlation value calculating device is greater than a threshold value; and a control device for controlling said determination device in response to setting of the portrait photography mode by said setting device in such a manner that the threshold value used in said determination device is made to be higher for said portrait photography mode, in comparison with a case where the scenery photography mode or the night-scene photography mode has been set by said setting device.