Patent ID: 8139826

Claim:
A photo album creating device comprising: a face detection unit to detect at least one person's face region from an inputted image; an inclination determining unit to calculate an inclination of each of the at least one person based on content characteristics of the person and to determine an inclination of the inputted image based on the calculated inclination; an image rotating unit to rotate the inputted image depending on the inclination of the inputted image; a trimming reference area determining unit to determine a trimming reference area in the rotated inputted image, the trimming reference area containing one or more of the at least one face region detected by the face detection unit; a trimming reference point determining unit to determine a trimming reference point in the trimming reference area; a template for the photo album associated with at least one image insertion area for receiving an inserted image, and a layout reference point arbitrarily set in each image insertion area, the template including at least one layout frame, each layout frame representing an outline of each image insertion area; a trimming unit to set in the inputted image one of the at least one layout frame and trim the inputted image along the set layout frame, wherein the layout frame is set such that the layout reference point is positioned on the trimming reference point and the trimming reference area is contained in the layout frame; and a template composition unit to combine an area of the trimmed inputted image with the template, and further comprising a main subject determining unit to determine a main subject from the at least one person detected by the face detection unit based on content characteristics of the at least one person, wherein the inclination determining unit weights the inclination of each of the at least one person such that a larger weight is assigned to the inclination of the main subject to determine the inclination of the inputted image.