METHOD FOR MEASURING A DISTANCE SEPARATING A CAMERA FROM A REFERENCE OBJECT
DRIVE
September 4, 2024
The invention relates to a method for measuring a distance (D) separating a camera (CAM) from a reference object (12) comprising a predetermined number of corners (20) arranged in a pattern and at least two reference points (P1, P2) separated by a reference length (L). The method comprises steps of: - acquiring an image comprising the reference object with the camera, - detecting corners in the image, - attributing a class (+X, +Y, -X, -Y) to each corner, based on an orientation of the corner, - detecting the reference object in the image based on the corners and attributed classes, - placing the reference points in the image based on the corners of the reference object and measuring an imaged length separating the reference points, and - comparing the reference length to the imaged length and obtaining the distance separating the camera from the reference object.
Discussion in the ATmosphere