Patent ID: 8306331

Claim:
An image processing apparatus comprising: a detection processing unit configured to detect a face region from a first image; a determination processing unit configured to determine a size of the detected face region; and a clipping processing unit configured to: use the determination processing unit to determine whether any face region detected by the detection processing unit from the first image has a size equal to or greater than a selected threshold size; if it is determined that multiple face regions detected by the detection processing unit from the first image have sizes equal to or greater than the selected threshold size, identify a greatest face region from the multiple face regions detected by the detection processing unit from the first image and clip, from the first image, a second image with a selected aspect ratio so as to include the greatest face region; if it is determined that no face region detected by the detection processing unit from the first image has a size equal to or greater than the selected threshold size, determine whether more than a selected threshold number of face regions were detected by the detection processing unit from the first image; if it is determined that more than the selected threshold number of face regions were detected by the detection processing unit from the first image, clip, from the first image, the second image with the selected aspect ratio so as to include as many faces as possible; a management processing unit configured to manage a template for setting placement of one or more images on a page of a plurality of pages in an album, wherein managing the template comprises determining a placement of the second image on the template; and a synthesis processing unit configured to synthesize the second image clipped from said first image with said template.