1. An information processing apparatus comprising: an image holding unit configured to hold a multi-viewpoint image captured from a plurality of viewpoints; an object information holding unit configured to hold information about an object and relationship information indicating a relationship between a user of the information processing apparatus and the object; a recognition unit configured to recognize a plurality of objects in the multi-viewpoint image based on the information about the object; a determination unit configured to determine a target object from the plurality of recognized objects based on the relationship information; and a generation unit configured to generate a combined image in which the target object is in focus, based on the multi-viewpoint image, wherein, when the determination unit determines a plurality of objects as the target object, the generation unit sets a focal length based on focal length of the target object and a parameter for an aperture diameter that provides a depth of field covering the target object, and generates a combined image in which the target object is in focus, based on the multi-viewpoint image.