An image processing program causing a computer of an information processing apparatus to function as: image acquisition means (31, S1) for sequentially acquiring images; detection means (31, S8, S9) for sequentially detecting a position of a predetermined object or a predetermined design from the images; amount-of-movement calculation means 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 means; and a position of the predetermined object or the predetermined design most recently detected from a second image that has been acquired before the first image; size calculation means for calculating a size of the predetermined object or the predetermined design in the first image or the second image; threshold correction means for correcting a first threshold on the basis of the size calculated by the size calculation means; comparison means (31, S94) for comparing the amount of movement with the first threshold; correction means (31, S95) 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 the position, in the second image, of the predetermined object or the predetermined design detected from the second image; virtual camera setting means for, on the basis of the position corrected by the correction means, setting a virtual camera placed in a virtual space; and display control means for displaying on a display device a virtual space image obtained by capturing the virtual space with the virtual camera. image acquisition means (31, S1) for sequentially acquiring images; detection means (31, S8, S9) for sequentially detecting a position of a predetermined object or a predetermined design from the images; amount-of-movement calculation means 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 means; and a position of the predetermined object or the predetermined design most recently detected from a second image that has been acquired before the first image; size calculation means for calculating a size of the predetermined object or the predetermined design in the first image or the second image; threshold correction means for correcting a first threshold on the basis of the size calculated by the size calculation means; comparison means (31, S94) for comparing the amount of movement with the first threshold; correction means (31, S95) 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 the position, in the second image, of the predetermined object or the predetermined design detected from the second image; virtual camera setting means for, on the basis of the position corrected by the correction means, setting a virtual camera placed in a virtual space; and display control means for displaying on a display device a virtual space image obtained by capturing the virtual space with the virtual camera.