1. A measuring apparatus to measure a distance between two points, comprising: at least one processing unit to execute: setting a representative point at a different position from a start point in a first image in which the start point is set; executing a process until an end point is set to measure a distance from the start point to the end point, the end point being positioned outside the first image while a field of view of the first image is different than a field of view in which the end point is set, the process including: determining whether the end point is set; obtaining a second image while determining the end point is not set, the second image obtained being unrelated to a position of the representative point set in the first image and the second image including different content than the first image; searching a representative point that is set most recently in the second image; setting a new representative point at a different position from a detected representative point as a result of the searching in the second image, the setting being continued while changing the field of view until the determining determines the end point is set; calculating a vector between two points in a same image, respectively, for the start point and the representative point in the first image, for representative points which are set at different positions in a same image, and when the end point is determined to be set, for the representative point and the end point set; and measuring the distance between the start point and the end point based on the vector, by adding calculated vectors of the start point, the representative points including the new representative point set according to the result of the searching, and the end point set which is positioned outside the first image.