1. An information processing apparatus comprising: an imaging unit; and an image generation unit to generate a display image based on a distance between the imaging unit and an object, wherein the distance is detected by using a plurality of images obtained by the imaging unit at respective focus distances, and in which the plurality of images includes at least a first image and a second image, said first image being obtained prior to obtaining the second image, and said first image obtained at a first fixed focus distance and said second image obtained at a second fixed focus distance which is less than the first fixed focus distance.