1. A computer-readable recording medium that stores therein a program for locating a moving object by using a plurality of images taken outside the moving object with a plurality of cameras mounted on the moving object, the program causing a computer execute: detecting a position and a direction for a first marker, a second marker, and a third marker contained in the images; identifying a first origin trajectory relating to an unknown origin position for the moving object based on the first marker and the second marker; identifying a second origin trajectory relating to the unknown origin position based on the second marker and the third marker; and locating the unknown origin position at coordinates of an intersecting point of the first origin trajectory and the second origin trajectory.