1. An information processing apparatus comprising: a recognition unit configured to recognize real objects in an acquired image of a real space and generate a first map of information indicating an allowable degree of superimposition of a virtual object on each of the recognized real objects, in which the information is represented by a numerical value for each of coordinates in the image of the real space; an acquisition unit configured to acquire a second map of positional information indicating an allowable degree of display of the virtual object in each pixel of the acquired image based on a distance from a real object recognized in association with the virtual object, in which the distance is represented by a numerical value for each of the coordinates in the image of the real space; a determination unit configured to determine a display condition for displaying the virtual object on the image of the real space based on the first map and the second map; and a display control unit configured to superimpose and display the virtual object on the image of the real space based on the display condition.