A non-transitory computer-readable storage medium having store thereon an information processing program to be executed by a computer of an information processing system capable of image processing, the information processing program, when executed, causing the computer to provide execution comprising:
- capturing an image using an imaging device;
- emitting light using a first light emitting device;
- emitting light using a second light emitting device, at least one of a half-power angle and an entrance angle of the second light emitting device being different from that of the first light emitting device;
- detecting, in the image captured by the imaging device, a light source image including an image of retroreflecting material from a reflection member, the image of the retroreflecting material indicating light that has been emitted from the first light emitting device and/or the second light emitting device and reflected by the retroreflecting material;
- and
- selectively powering the first light emitting device and/or the second light emitting device based on a distance from the reflection member to the information processing system.