1. A computer-readable storage medium having stored therein an information processing program which causes a computer of an information processing apparatus, which is connected to an imaging device, an input device, and a display device having a screen on which a user can view a real space, to function as: captured image data obtaining means for successively obtaining captured image data indicating an image captured by the imaging device; input data obtaining means for successively obtaining input data indicating an image inputted by the input device; detection means for detecting a specific target from the captured image data successively obtained by the captured image data obtaining means; calculation means for calculating relative positions of the imaging device and the specific target, based on a result of the detection for the specific target; virtual camera setting means for successively setting a virtual camera in a virtual space, based on a result of the calculation by the calculation means; generation means for capturing, using the virtual camera, an object in the virtual space, which is indicated by the input data successively inputted by the input data obtaining means, to generate an object image corresponding to the object; and display control means for causing the display device to successively display a superimposed image in which the object image generated by the generation means is superimposed on the real space on the screen.