CPC G06T 7/80 (2017.01) [G01S 17/931 (2020.01); G06T 7/50 (2017.01); G06T 7/60 (2013.01); G05D 1/0248 (2013.01)] | 17 Claims |
1. A method for distance measurement, the method comprises:
obtaining, from a camera of a vehicle, an image of a surroundings of the vehicle;
searching, within the image, for an anchor, wherein the anchor is associated with at least one physical dimension of a known value;
when finding the anchor, determining a distance between the camera and the anchor based on, (a) the at least one physical dimension of a known value, (b) an appearance of the at least one physical dimension of a known value in the image, and (c) a distance-to-appearance relationship that maps appearances to distances, wherein the distance-to-appearance relationship is generated by a calibration process that comprises obtaining one or more calibration images of the anchor, and obtaining one or more distance measurements to the anchor;
wherein the method further comprises executing the calibration process;
wherein the camera is a first camara, the one or more calibration images are multiple calibration images acquired at different distances from a second camera;
wherein the one or more distance measurements are indicative of the different distances; and
wherein the executing of the calibration process comprises calculating the distance-to-appearance relationship based on the appearances of the at least one physical dimension of a known value in the multiple calibration images and the different distances.
|