The invention relates to a ship berthing position detection method and
system based on
shore end
laser radars, and the method comprises the steps: deploying a plurality of
laser radars at a
shore end, and collecting original point clouds in parallel through an asynchronous thread model; constructing a
rigid transformation matrix based on the
radar installation attitude parameters, and further generating fusion
point cloud data under a unified world coordinate
system; then extracting 3D geometric edge points in a preset range of the
front edge of the
wharf as near-
shore point cloud data, and further calculating the minimum ship-shore distance; based on the ship bow direction and a preset segmentation threshold value, the coastal
point cloud data are segmented into ship bow area point cloud and ship
stern area point cloud in the x-axis direction, the coordinate mean value of the ship bow area point cloud and the ship
stern area point cloud is calculated and compared with an expected position in a
wharf operation
system, and berthing accuracy is judged; and the drift distance is calculated in real time, the drift distance, the attitude angle and the change rate of the attitude angle are compared with corresponding preset threshold values respectively for graded early warning and drift alarm, and high-precision ship berthing position dynamic detection is achieved.