| CPC H04N 13/246 (2018.05) [G06T 7/50 (2017.01); G06T 7/85 (2017.01); H04N 13/239 (2018.05); H04N 13/296 (2018.05); G06T 2207/10148 (2013.01)] | 16 Claims |

|
1. A method for calibrating a binocular camera, comprising:
acquiring a first focal length group, wherein the first focal length group comprises a plurality of focal lengths for calibrating, and each of the focal lengths represents a focal length of a main camera in the binocular camera;
performing calibration operations on the binocular camera based on the first focal length group, wherein the focal length of the main camera in the binocular camera for shooting a calibration target plate is adjusted during each of the calibration operations, the adjusted focal length is determined based on the first focal length group, and a relative position between the binocular camera and the calibration target plate remains unchanged during the calibration operations; and
determining a relationship between calibration parameters and the focal lengths based on the calibration operations;
wherein the acquiring a first focal length group comprises:
acquiring a relationship between physical distances and focal lengths; and
selecting, based on the relationship between physical distances and focal lengths, a plurality of focal lengths related to physical distances for calibrating, to obtain the first focal length group;
wherein the acquiring a relationship between physical distances and focal lengths comprises:
acquiring a sample set, wherein the sample set comprises a plurality of binocular cameras; and
measuring a focal length of each of the binocular cameras in the sample set at each of the physical distances, to obtain the relationship between physical distances and focal lengths.
|