Patent Document ID: 8731332
Application ID: 12915696
Patent Status: 1

Claim One:
1. A non-transitory computer-readable storage medium having stored therein an image recognition program to be executed by a computer of an information processing apparatus for detecting a predetermined image object including a plurality of graphic patterns from a captured image captured by an image-capturing section, the image recognition program comprising instructions that are configured to instruct the computer to: obtain the captured image captured by the image-capturing section; detect the plurality of graphic patterns from the captured image; detect a position of the predetermined image object by calculating center positions of the plurality of graphic patterns; determine a positional relationship between the image-capturing section and the predetermined image object based on the detected position; set a virtual camera in a virtual space in accordance with the determined positional relationship; generate an image of the virtual space in accordance with the set virtual camera; and output the generated image to a display device, wherein a predetermined number, three or more, of graphic patterns are arranged on a predetermined straight line in the predetermined image object, and the predetermined straight line is calculated based at least on a number of center positions among all center positions calculated, the number being two or more and smaller than the predetermined number, so as to detect a position and direction of the predetermined image object based on the calculated predetermined straight line.