The invention discloses a ship height calculation method and system based on computer vision and a storage medium, and the method comprises the following steps: obtaining image information, recognizing a ship according to the image information, and obtaining the highest point of the ship; obtaining a focal length parameter and an image distance parameter of a camera, and obtaining an object distance according to the focal length parameter and the image distance parameter, the object distance being a horizontal distance between the highest point and the camera; acquiring the image height of theship according to the image information, and calculating the relative height between the highest point and the bridge floor according to the image height, the object distance and the image distance parameter, wherein the installation height of the camera is the same as the height of the bridge floor. The relative height of the ship can be quickly and accurately calculated by combining the image information and the working parameters of the camera, so that whether the ship is higher than the bridge floor or not is judged, the implementation cost is low, and the invention can be widely appliedto the technical field of navigation channel safety monitoring.
本发明公开了一种基于计算机视觉的船舶高度计算方法、系统和存储介质,其中,方法包括以下步骤:获取图像信息,根据所述图像信息识别船舶,以及获取所述船舶的最高点;获取摄像机的焦距参数和像距参数,根据所述焦距参数和所述像距参数获取物距,所述物距为所述最高点与所述摄像机的水平距离;根据图像信息获取船舶的图像高度,根据所述图像高度、所述物距和所述像距参数计算所述最高点与桥面之间的相对高度;所述摄像机的安装高度与所述桥面的高度相同。本发明通过结合图像信息和相机的工作参数,可快速准确地计算获得船舶的相对高度,从而判断船舶是否高于桥面,实现成本低,可广泛应用于航道安全监控技术领域。
Ship height calculation method and system based on computer vision and storage medium
基于计算机视觉的船舶高度计算方法、系统和存储介质
16.10.2020
Patent
Elektronische Ressource
Chinesisch
Ship turning radius calculation method, ship turning radius calculation system and computer medium
Europäisches Patentamt | 2024
|Ship initial stability height prediction method, device and system, and storage medium
Europäisches Patentamt | 2024
|Unmanned ship rescue calculation method and system based on machine vision
Europäisches Patentamt | 2024
|Europäisches Patentamt | 2023
|Measuring ship dynamic draught calculation method based on shipborne GNSS geodetic height
Europäisches Patentamt | 2024
|