A control method for an image processing apparatus that generates a layout image in which an image is arranged in a template, the control method comprising: acquiring a plurality of pieces of image data; making an evaluation of each of the acquired plurality of pieces of image data by a score being assigned to each of the acquired plurality of pieces of image data based on a predetermined evaluation criterion; selecting at least one piece of image data from the acquired plurality of pieces of image data using the assigned evaluation score as a selection criterion; acquiring a template having at least one slot in which to arrange an image; and outputting a layout image in which an image represented by the selected image data is arranged in a predetermined slot included in the acquired template, characterized by further comprising: receiving, from a user, one input of selecting an object type from a plurality of object types including an object of person type, an object of animal type, an object of food type, an object of flower type, an object of building type, an object of stationary article type, and an object of vehicle type; adding a predetermined score to the score, assigned based on the predetermined evaluation criterion, to image data which represents an image that contains an object of the object type corresponding to the received input so that, in a case where first image data which represents an image that contains an object corresponding to the received input and second image data which represents an image that does not contain the object corresponding to the received input, and the evaluation score assigned based on the predetermined evaluation criterion of which is higher than that of the first image data are included in the acquired plurality of pieces of image data, the first image data is selected in preference to the second image data. acquiring a plurality of pieces of image data; making an evaluation of each of the acquired plurality of pieces of image data by a score being assigned to each of the acquired plurality of pieces of image data based on a predetermined evaluation criterion; selecting at least one piece of image data from the acquired plurality of pieces of image data using the assigned evaluation score as a selection criterion; acquiring a template having at least one slot in which to arrange an image; and outputting a layout image in which an image represented by the selected image data is arranged in a predetermined slot included in the acquired template, characterized by further comprising: receiving, from a user, one input of selecting an object type from a plurality of object types including an object of person type, an object of animal type, an object of food type, an object of flower type, an object of building type, an object of stationary article type, and an object of vehicle type; adding a predetermined score to the score, assigned based on the predetermined evaluation criterion, to image data which represents an image that contains an object of the object type corresponding to the received input so that, in a case where first image data which represents an image that contains an object corresponding to the received input and second image data which represents an image that does not contain the object corresponding to the received input, and the evaluation score assigned based on the predetermined evaluation criterion of which is higher than that of the first image data are included in the acquired plurality of pieces of image data, the first image data is selected in preference to the second image data. receiving, from a user, one input of selecting an object type from a plurality of object types including an object of person type, an object of animal type, an object of food type, an object of flower type, an object of building type, an object of stationary article type, and an object of vehicle type; adding a predetermined score to the score, assigned based on the predetermined evaluation criterion, to image data which represents an image that contains an object of the object type corresponding to the received input so that, in a case where first image data which represents an image that contains an object corresponding to the received input and second image data which represents an image that does not contain the object corresponding to the received input, and the evaluation score assigned based on the predetermined evaluation criterion of which is higher than that of the first image data are included in the acquired plurality of pieces of image data, the first image data is selected in preference to the second image data.