Patent ID: 8571266

Claim:
A non-transitory computer-readable storage medium having stored thereon an image processing program causing a computer of an information processing apparatus to provide functionality comprising: an image acquisition for sequentially acquiring images; a detection for sequentially detecting a position of a predetermined object or a predetermined design from the images; an amount-of-movement calculation for calculating an amount of movement of the predetermined object or the predetermined design on the basis of: a position, in a first image, of the predetermined object or the predetermined design detected from the first image acquired by the image acquisition; and a position, in a second image, of the predetermined object or the predetermined design detected from the second image acquired before the first image; a comparison for comparing the amount of movement with a first threshold; a correction for, when the amount of movement is less than the first threshold, correcting the position, in the first image, of the predetermined object or the predetermined design detected from the first image, to a position internally dividing, in a predetermined ratio, line segments connecting: the position, in the first image, of the predetermined object or the predetermined design detected from the first image; to the position, in the second image, of the predetermined object or the predetermined design detected from the second image; a virtual camera setting for, on the basis of the position corrected by the correction, setting a virtual camera placed in a virtual space; and a display control for displaying on a display device a virtual space image obtained by capturing the virtual space with the virtual camera.