摘要 |
Disclosed in the present invention is a method for measuring changes in distance, which comprises: a step of obtaining information on characteristics of an object and a background of a first frame image and obtaining information on characteristics of input of a second frame image; a step of determining an object of the second frame image from the second frame image based on the obtained information on characteristics and input characteristics; a step of determining a characteristic point from the object of the first frame image, and determines a matching point corresponding to the characteristic point from the object of the second frame image based on an optical flow calculated between the object of the first frame image and the object of the second frame image; a step of calculating change rates of the length of the object of the first frame image and the object of the second frame image using the characteristic point and the matching point; and a step of calculating changes in a distance between a camera for obtaining the first frame image and the object, and a distance between a camera for obtaining the second frame image and the object, using the calculated change rates of the length. |