Method for Calculation of Ship Draft Value Based on Scene Adaptation
In detection of ship draft value,the traditional manual staff gauge reading method is often limited by scenes,for example,the types of ships arriving at the port are different;the tilt degree of the ship's water gauge logo is different,and the degree of scraping,rusting and incompleteness of the water gauge itself is also different.The light conditions collected in different weather and time periods vary greatly.All these factors will affect the results of the image recognition reading of the water gauge,resulting in inaccurate measurement of the weight of the goods.In view of this,a method of accurate detection of ship draft based on scene adaptation is proposed.Firstly,the images collected in different scenes are classified with their brightness expression values,and the brightness and darkness of the images are judged,and the modified gamma correction with different thresholds is used to maximize the image information.Then,the improved semantic segmentation algorithm is used to segment the hull,water body and water gauge characters.Finally,the image is corrected by combining the segmented water body and water gauge character information,and the large M characters are identified and the draft is calculated.The actual measurement shows that the proposed algorithm can adapt to the calculation of the draft value of the ship's water gauge in different scenes,and the ratio is converted to the pixel level.Compared with the manual reading,the calculation result is closer to the standard value,which provides a more accurate value for the weight measurement by water gauge.
scene adaptionmodified gamma correctionsemantic segmentationimage correction