The invention provides a ship draught
load line identification method based on
machine vision, which comprises the following steps of: (1) acquiring a ship shot image, (2) preprocessing the obtained images of a
prow, a midship and a
stern water gauge areas, expanding the midship water gauge areas, and obtaining the position of a
load line through preprocessing and Hough circle detection; (3) carrying out water gauge
character recognition on the pre-processed water gauge area image; (4) inputting the ship image into a key point detection model to detect ship
waterline key points; (5) based on the ship
waterline key points, performing
line fitting by adopting a least square method to obtain a ship
waterline; (6) respectively comparing ship waterlines of the bow, the middle and the
stern with
ship load identification positions, if the ship waterlines are higher than the
ship load identification, judging that the ship is overloaded, and if the ship waterlines are lower than the
load line, judging that the ship is not overloaded; (7) if it is judged that the ship is overloaded, draught values of a
prow water gauge, a midship water gauge and a
stern water gauge of the overloaded ship are calculated respectively.