1. A 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 included in a captured image captured by an image-capturing section, the image recognition program instructing the computer to function as: an image obtaining section for obtaining the captured image captured by the image-capturing section; an area detection section for detecting an object area of the captured image that includes the predetermined image object based on pixel values obtained at a first pitch across the captured image; and an object detection section for detecting the predetermined image object from an image of the object area based on pixel values obtained at a second pitch smaller than the first pitch across the object area of the captured image.