Patent ID: 7916896

Claim:
A non-transitory computer readable storage medium having stored thereon an information processing program executable by a computer of a information processing apparatus which, by using an operation apparatus including an imaging device for picking up a target image to be picked up so as to obtain imaging information, and in accordance with the imaging information, executes predetermined processing corresponding to an orientation of the operation apparatus with respect to a location of the target image to be picked up, the information processing program causing the computer to execute: successively obtaining motion information from a motion sensor outputting the motion information corresponding to a motion of the operation apparatus; successively obtaining the imaging information from the imaging device; determining whether the imaging information is valid information or invalid information for the predetermined processing; calculating a motion value representing a magnitude of the motion of the operation apparatus in accordance with the motion information; and executing, when the imaging information is determined as invalid information and when the calculated motion value is within a predetermined value range, the predetermined processing in accordance with most recent imaging information among valid imaging information obtained before the imaging information determined to be invalid information is obtained.