The invention relates to an AprilTag-based panoramic camera 3D calibration method and
system and a medium, and the method comprises the steps: M1, obtaining the original images of a front vehicle-mounted fisheye camera, a rear vehicle-mounted fisheye camera, a left vehicle-mounted fisheye camera and a right vehicle-mounted fisheye camera, carrying out the fisheye
distortion correction of each image, and obtaining the
data information of a distortionless image; and M2, based on the
data information of the distortionless image, detecting an AprilTag mark in each distortionless image, extracting a detected
angular point coordinate as an image
point set, querying a three-dimensional world coordinate corresponding to a predefined calibration plate physical size, constructing a matched three-dimensional
point set, and obtaining the
data information of the matched three-dimensional
point set of the image. According to the method, flexible adjustment of the height and view parameters of the aerial
view camera is achieved, repeated calibration is avoided, the parameters of the
virtual camera are dynamically corrected by fusing the data of the vehicle attitude sensor, and
view angle compensation under the vehicle body inclination state is achieved.