The invention discloses a static calibration method for camera external parameters. The method comprises the following steps: S1, setting a plurality of marking points; S2, converting the actual GPS position of the mark point into an IMU coordinate
system taking the IMU as an origin of coordinates to obtain a point P1; S3, converting P1 into a camera coordinate
system taking a camera as an originof coordinates by rotating the translation
transformation matrix to obtain P2; S4, the P2 is converted into an image coordinate
system through an internal reference matrix of the camera device, and projection coordinates of the point on the image are obtained; s5, calculating a re-projection error according to the constructed re-projection
error function; and S6, optimizing the rotation translation
transformation matrix, and repeating the steps S3 to S5 until the re-projection error is lower than a specified threshold. According to the method, a
loss function is constructed through GPS coordinates of mark points and pixel coordinates of the mark points in a camera device to finally obtain an Euclidean transformation relation between the GPS coordinates of the mark points and the pixel coordinates of the mark points, namely a rotation and translation
transformation matrix. According to the method, the calibration of the external parameters of the camera can be completed in a static state without reconstructing collection equipment and a vehicle.