The invention belongs to the technical field of ship draft detection, and provides a ship draft real-time detection
system which comprises the following steps: establishing a three-dimensional dynamic coordinate
system, and updating a water surface
reference surface in combination with real-time
water level data; calculating
water level variation of adjacent frames and compensating a
point cloud Z axis; a pure ship body
point cloud is separated in combination with a water surface datum plane, ship body
reflectivity and a
region growing algorithm; fitting a
deck plane of the pure ship body
point cloud, performing
edge detection to extract ship board features, and correcting a side board feature surface; converting the pixel coordinates of the water surface
reference surface and superposing the auxiliary lines; positioning a
waterline, converting a bow / middle /
tail waterline coordinate to a three-dimensional dynamic coordinate
system, and calculating an initial draft; the
deck Z-axis average coordinate is extracted, and the bow / middle /
tail freeboard height is calculated in combination with the water surface datum plane coordinate; the theoretical draft is deduced in combination with the ship type depth, the theoretical draft is compared with the initial draft, the final draft is output, and the ship draft detection precision in the complex
water level change environment is improved.