1. An information processing apparatus comprising: an association unit configured to divide input image data into regions and to associate each region with one or more types of objects; an appending unit configured to append metadata to each object based on the type of each object; a determination unit configured to determine whether or not the input image data includes a specific object that associates a first object with a second object, wherein the first object has first metadata and is located at a first region of the input image data, and the second object has second metadata and is located at a second region different from the first object of the input image data, and an addition unit configured to, in the case where the determination unit has determined that the input image data includes the specific object, add the second metadata of the second object to the first metadata of the first object if the type of the second object is a text object, and add the second object to the first metadata of the first object if the type of the second object is not a text object, wherein at least one of the association unit, the appending unit, the determination unit and the addition unit comprises at least one of a processor and a non-transitory computer-readable storage medium, wherein in the case where the input image data comprises multiple pages and the second object is indicated by a leading region of the specific object, if the second object is not present on the same page as the specific object and the first object, the appending unit appends, to the first object, metadata based on the content of the page indicated by the specific object, and wherein the appending unit appends, to the specific object, metadata indicating that the specific object associates the page on which the first object is present with the page on which the second object is present.