Ship navigation height measurement method, device, equipment and medium

By installing intelligent measuring equipment at the bottom of the bridge, combined with laser ranging and camera equipment, high-precision automated measurement of ship height has been achieved, solving the problems of high equipment cost and inaccurate measurement in existing technologies, and improving navigation safety and efficiency.

CN120063138BActive Publication Date: 2026-11-27SHENZHEN YUNEN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510272842.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2026-11-27
Estimated Expiration
2045-03-10

AI Technical Summary

Technical Problem

Existing methods for measuring ship height suffer from high equipment costs, are unsuitable for installation under bridges, and cannot accurately measure the ship's height, resulting in the bridge's navigation height being lower than the ship's clearance height, thus increasing the risk of safety accidents.

Method used

The system employs intelligent measurement equipment installed at the bottom of the bridge, combined with laser rangefinders and cameras. Through image recognition and angle calculation, it accurately measures the height of ships. This includes laser rangefinders, camera equipment to acquire ship image resolution, image recognition of the ship's upper edge position, calculation of elevation angle and angle difference, determination of whether the ship has reached the preset height, and notification of navigation via communication means.

Benefits of technology

It improves the accuracy and safety of ship height measurement, reduces the risk of bridge collisions, and enhances navigation efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120063138B_ABST
    Figure CN120063138B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of ship traffic management, and discloses a kind of ship navigation height measurement method, comprising: obtaining target ship distance based on the intelligent measuring device installed at the bottom of bridge;Target ship image is identified, and the position of the top of ship is obtained, and the vertical field angle is divided according to the resolution of ship image, and the laser center angle is calculated in combination with laser ranging equipment;According to the target ship elevation of the position of the top of ship, vertical field angle and ship image resolution, the target ship angle difference is calculated;According to the target ship height whether reaching preset height is judged according to the target ship angle difference;When reaching, the relative height of target ship is calculated;According to the relative height of target ship and preset height, the height of target ship is obtained, and whether the target ship is allowed to navigate is informed according to the height of bridge and the height of target ship.The present application also proposes a kind of ship navigation height measurement device, equipment and storage medium.The present application can improve the accuracy of ship height measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ship traffic management technology, and in particular to a method, device, equipment and medium for measuring ship navigation height. Background Technology

[0002] With the continuous development of the economy, inland waterway transportation has become an important part of the modern transportation system. The number of ships is constantly increasing, and cases of ships illegally overloading are frequent, which poses a huge challenge to bridges built over rivers.

[0003] There are two main types of collisions between ships and bridges. The first is when a malfunction causes the ship to lose control of its speed or course, leading to a collision with the bridge. The second is when the bridge's clearance height is lower than the clearance height for the ship, causing a collision between the bridge's base and the ship's superstructure. With the increasing prevalence of overloading on ships, the second type of collision is becoming more frequent. Therefore, it is crucial to accurately measure the clearance height of ships to prevent those that do not meet navigation requirements from attempting to pass and causing accidents.

[0004] There are two main existing methods for measuring ship height: radar measurement, which is expensive and unsuitable for installation under bridges, and therefore insufficient; and laser beam measurement, which can only measure whether the ship is above the limit, but not by how much.

[0005] The above-mentioned shortcomings are worth improving. Summary of the Invention

[0006] This invention provides a method, apparatus, equipment, and medium for measuring the navigational height of ships, the main purpose of which is to improve the accuracy of ship height measurement.

[0007] To achieve the above objectives, the present invention provides a method for measuring the navigation height of a ship, comprising: The distance between the target vessel and the intelligent measuring device at a preset time is obtained by using intelligent measuring equipment installed at the bottom of the bridge. The intelligent measuring equipment includes a laser rangefinder and a camera. The target ship image is obtained by acquiring the ship image of the target ship at the preset time using the intelligent measurement device, and the image resolution of the target ship image is obtained to obtain the ship image resolution. Image recognition is performed on the target ship image to obtain the upper edge of the target ship in the target ship image, the position of the upper edge of the ship is obtained, and the vertical field of view of the intelligent measuring device is obtained. The vertical field of view is divided equally according to the resolution of the ship image, and the angle of the center point of the target ship image is calculated in combination with the laser ranging device to obtain the laser center angle. The highest elevation angle of the target ship is obtained based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image. The elevation angle of the target ship is then obtained, and the difference between the elevation angle of the target ship and the laser center angle is calculated to obtain the target ship angle difference. Based on the angle difference of the target vessel, determine whether the height of the target vessel reaches the preset height of the intelligent measuring device; If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed through a preset communication method. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, thus obtaining the relative height of the vessel. The target vessel's height is obtained based on the relative height of the vessel and the preset height of the intelligent measuring device. The bridge height parameter of the bridge is also obtained. Based on the bridge height parameter and the vessel height, the target vessel is notified whether navigation is permitted.

[0008] Optionally, the step of dividing the vertical field of view equally according to the resolution of the ship image and calculating the angle of the center point of the target ship image using the laser ranging device to obtain the laser center angle includes: The vertical resolution of the target ship is obtained based on the ship image resolution, and the vertical field of view is divided equally according to the vertical resolution to obtain the pixel angle. The position of the laser point in the target ship image is obtained when the laser ranging device measures distance; The number of vertical pixels at the laser point position is obtained, and the angle of the center point of the target ship is calculated based on the number of vertical pixels at the laser point position and the pixel angle to obtain the laser center angle.

[0009] Optionally, before performing image recognition on the target ship image to obtain the top edge of the target ship in the target ship image and determine the position of the top edge of the ship, the method further includes: The image of the target ship is identified by a preset image recognition model to obtain the image of the top edge of the target ship; Determine whether a bird exists at the highest point in the upper edge image: If no bird is found at the highest point in the upper edge image, the upper edge position of the target ship is obtained directly from the highest point of the upper edge image. If a bird is present at the highest point in the upper edge image, the size of the bird in the upper edge image is identified by the image recognition model, and the influence of the bird is removed from the upper edge image to obtain the position of the upper edge of the ship.

[0010] Optionally, after obtaining the target vessel image at the preset time using the intelligent measurement device, the method further includes: The target ship image is converted to grayscale to obtain a grayscale ship image; The noise in the grayscale ship image is removed by a preset filtering device to obtain a denoised ship image; The distortion of the denoised ship image is removed using a preset pinhole model and correction algorithm to obtain a standardized target ship image.

[0011] Optionally, obtaining the target ship's maximum elevation angle based on the ship's upper edge position, vertical field of view, and ship image resolution, and thus obtaining the target ship's elevation angle, includes: The vertical field of view is divided equally according to the resolution of the ship image to obtain the pixel-average angle. Obtain the pixel position at the upper edge of the ship to obtain the ship pixel position, and calculate the highest elevation angle of the target ship based on the pixel even angle and the ship pixel position to obtain the target ship elevation angle.

[0012] Optionally, determining whether the height of the target vessel reaches the preset height of the intelligent measuring device based on the angle difference of the target vessel includes: The sign of the ship angle difference is used to determine whether the height of the target ship exceeds the preset height of the intelligent measuring device; When the ship angle difference is negative, it means that the target ship's height is below the laser center at the time of shooting and has not reached the preset height of the intelligent measuring device; When the height difference between the ships is positive, it means that the target ship is above the laser center at the time of shooting, reaching the preset height of the intelligent measurement device.

[0013] Optionally, the step of calculating the relative height of the target vessel based on the angle difference and the distance between the target vessels to obtain the relative height of the vessel includes: Based on the ship angle difference and the target ship distance, the relative height of the target ship is calculated using trigonometric function formulas to obtain the relative height of the target ship; The trigonometric formula used to calculate the relative height of the target vessel is as follows: in, The relative height of the target vessel. The target ship distance, The difference in ship angles is given.

[0014] To address the above problems, the present invention also provides a ship navigation height measuring device, the device comprising: The ship image acquisition module is used to acquire the distance between the target ship to be measured and the intelligent measuring device at a preset time based on the intelligent measuring device installed at the bottom of the bridge, and to obtain the target ship distance. The intelligent measuring device includes a laser rangefinder and a camera. The target ship image is obtained by acquiring the ship image of the target ship at the preset time using the intelligent measurement device, and the image resolution of the target ship image is obtained to obtain the ship image resolution. Angle difference calculation module is used to perform image recognition on the target ship image, obtain the upper edge of the target ship in the target ship image, obtain the position of the upper edge of the ship, and obtain the vertical field of view of the intelligent measuring device. The vertical field of view is divided equally according to the resolution of the ship image, and the laser ranging device is used to calculate the angle of the center point of the target ship image to obtain the laser center angle. The highest elevation angle of the target ship is obtained based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image. The elevation angle of the target ship is then obtained, and the difference between the elevation angle of the target ship and the laser center angle is calculated to obtain the target ship angle difference. The navigation condition judgment module is used to determine whether the height of the target vessel reaches the preset height of the intelligent measuring device based on the angle difference of the target vessel. If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed through a preset communication method. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, thus obtaining the relative height of the vessel. The ship height calculation module is used to obtain the ship height of the target ship based on the relative height of the ship and the preset height of the intelligent measuring device, and to obtain the bridge height parameters of the bridge, and to notify the target ship whether navigation is permitted based on the bridge height parameters and the ship height.

[0015] To address the above problems, the present invention also provides an electronic device, the electronic device comprising: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the ship navigation height measurement method as described above.

[0016] To address the aforementioned problems, the present invention also provides a computer-readable storage medium, including a data storage area and a program storage area, wherein the data storage area stores created data and the program storage area stores a computer program; wherein, when the computer program is executed by a processor, it implements the ship navigation height measurement method as described above.

[0017] This invention embodiment obtains the target ship distance by acquiring the distance between the target ship and the intelligent measuring device at a preset time using an intelligent measuring device installed at the bottom of a bridge. The intelligent measuring device includes a laser rangefinder and a camera. The intelligent measuring device acquires an image of the target ship at the preset time, obtaining the target ship image and its resolution. Image recognition is performed on the target ship image to obtain the upper edge of the target ship, determining its position. The vertical field of view of the intelligent measuring device is also acquired. This vertical field of view is divided equally according to the ship image resolution, and the laser rangefinder calculates the angle of the center point of the target ship image to obtain the laser center angle. The identification of the upper edge of the ship facilitates subsequent calculations. Based on the upper edge position, vertical field of view, and ship image resolution, the following calculations are performed: The method involves measuring the target vessel's elevation angle at its highest elevation angle, calculating the difference between this elevation angle and the laser center angle, and determining whether the target vessel's height has reached the preset height of the intelligent measuring device. If the target vessel's height has not reached the preset height, the device notifies the target vessel to proceed with navigation via a preset communication method. If the target vessel's height has reached the preset height, the device calculates the relative height of the target vessel based on the angle difference and the target vessel distance, thus determining how much higher the vessel is relative to the preset height. The device then calculates the target vessel's height based on the relative height and the preset height of the intelligent measuring device, and obtains the bridge height parameters. Finally, the device notifies the target vessel whether navigation is permitted based on the bridge height parameters and the vessel's height. Therefore, the proposed method, device, electronic equipment, and computer-readable storage medium for measuring vessel navigation height improves the accuracy of vessel height measurement by using an intelligent measuring device combining laser ranging equipment and camera equipment. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating a method for measuring the navigation height of a ship according to an embodiment of the present invention. Figure 2 This is a schematic diagram of a module of a ship navigation height measuring device provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the internal structure of an electronic device for implementing a method for measuring the navigation altitude of a ship, as provided in an embodiment of the present invention.

[0019] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0020] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0021] This application provides a method for measuring ship navigation altitude. The execution entity of the ship navigation altitude measurement method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application embodiment: a server, a terminal, etc. The server can be a standalone server or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. In other words, the ship navigation altitude measurement method can be executed by software or hardware installed on remote devices or server-side devices, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.

[0022] Reference Figure 1 The diagram shown is a flowchart illustrating a method for measuring the navigation height of a ship according to an embodiment of the present invention. In this embodiment, the method for measuring the navigation height of a ship includes the following steps S1-S8: S1. Based on the distance between the target ship to be measured and the intelligent measuring device installed at the bottom of the bridge at a preset time, the distance between the target ship and the intelligent measuring device is obtained, wherein the intelligent measuring device includes a laser rangefinder and a camera.

[0023] In this embodiment of the invention, by combining laser ranging and camera equipment, the height of the target vessel is measured automatically and with high precision, thereby improving the safety of water traffic, reducing the risk of bridge collisions caused by the vessel exceeding the height limit, and improving navigation efficiency.

[0024] Furthermore, the laser ranging device in the aforementioned intelligent measuring equipment is a high-precision measuring tool based on laser technology. It emits a laser beam to the target ship and receives the reflected light, using the speed of light propagation and time difference to accurately calculate the distance. This achieves millimeter-level or even micrometer-level measurement accuracy and offers advantages such as non-contact measurement, high efficiency, and strong anti-interference capabilities. The camera device, generally referring to an industrial camera, is a device that uses optical principles for non-contact measurement. Camera devices provide intuitive image data, facilitating image recognition and analysis, and enabling automation and intelligence in the measurement process. They are suitable for complex measurement tasks requiring image data support.

[0025] In addition, intelligent measurement devices can transmit measurement data to remote servers or terminal devices in real time via technologies such as wireless networks, Bluetooth, and the Internet of Things, making it convenient for users to obtain measurement results anytime and anywhere.

[0026] In this embodiment of the invention, the intelligent measuring device can be installed either on the bridge piers or under the bridge deck.

[0027] Furthermore, the intelligent measuring device performs distance measurements multiple times per second (e.g., 5 times) and removes abnormal data during the measurement process. This operation effectively removes interference during the measurement process. For example, when measuring distance with the intelligent measuring device, there may be birds flying by or other interference. If this is included in the distance measurement data, the data will show significant anomalies compared to previous and subsequent measurements, and this data needs to be filtered as an outlier.

[0028] In another embodiment of the present invention, all measuring devices in the bridge can be integrated to construct a bridge measuring host, and the laser ranging device in the intelligent measuring device can be controlled by the bridge measuring host to perform multiple ranging measurements per second, thereby improving the accuracy of data acquisition.

[0029] Furthermore, the preset time is not specifically limited and can be the measurement time closest to the average value among multiple measurements by the intelligent measuring device.

[0030] S2. Obtain the target ship image at the preset time using the intelligent measurement device to obtain the target ship image, and obtain the image resolution of the target ship image to obtain the ship image resolution.

[0031] In this embodiment of the invention, the target ship image refers to a ship image captured at a specific moment by an intelligent measurement device (such as a camera). These images typically have high resolution and can clearly capture the details of the ship, including its shape, size, and structural features. Target ship images have important applications in ship detection, identification, monitoring, and intelligent control, providing intuitive and rich visual information for the automatic detection and identification of ships.

[0032] Furthermore, the target vessel image can be either an overall image of the target vessel or a partial image of the highest point of the target vessel.

[0033] In this embodiment of the invention, the ship image resolution can display the clarity and accuracy of ship details in the image, and is usually expressed in pixels, including horizontal resolution and vertical resolution. Horizontal resolution refers to the number of pixels in the horizontal direction, which represents the width of the image, and vertical resolution refers to the number of pixels in the vertical direction, which represents the height of the image.

[0034] Furthermore, the resolution of the target ship image can usually be directly achieved through the parameter settings of the camera equipment. Most modern camera equipment, including webcams and cameras, provides the function of querying and setting the resolution. For example, when the intelligent measurement device is connected to a Windows system, the FFmpeg tool can be used to query the list of resolutions and frame rates supported by the camera. After receiving a specific FFmpeg command, the camera equipment will output detailed information including supported video formats, resolutions, and corresponding frame rates.

[0035] S3. Perform image recognition on the target ship image to obtain the upper edge of the target ship in the target ship image, obtain the position of the upper edge of the ship, and obtain the vertical field of view of the intelligent measuring device. Divide the vertical field of view equally according to the resolution of the ship image, and calculate the angle of the center point of the target ship image in combination with the laser ranging device to obtain the laser center angle.

[0036] Understandably, image recognition technology is used to accurately locate the target vessel's position in an image, and combined with the vertical field of view and image resolution of intelligent measurement equipment, the angular position of the vessel relative to the image center is calculated. This process improves the accuracy of vessel height and position measurements, provides technical support for automated decision-making and traffic management, and enhances maritime traffic safety and efficiency.

[0037] In this embodiment of the invention, the vertical field of view (VFoV) refers to the angular range formed vertically downwards or upwards from the center point of the camera lens to the edge of the image. It determines the range of the scene that the camera can capture in the vertical direction, directly affecting the height information of objects in the image and the accuracy of measurement. In short, the vertical field of view is a parameter that measures the width of the camera's field of view in the vertical direction.

[0038] Furthermore, before performing image recognition on the target ship image to obtain the upper edge of the target ship in the target ship image and determine the position of the upper edge of the ship, the method further includes: The image of the target ship is identified by a preset image recognition model to obtain the image of the top edge of the target ship; Determine whether a bird exists at the highest point in the upper edge image: If no bird is found at the highest point in the upper edge image, the upper edge position of the target ship is obtained directly from the highest point of the upper edge image. If a bird is present at the highest point in the upper edge image, the size of the bird in the upper edge image is identified by the image recognition model, and the influence of the bird is removed from the upper edge image to obtain the position of the upper edge of the ship.

[0039] In this embodiment of the invention, a preset image recognition model can distinguish and process interfering factors in the image that may affect the determination of the position of the upper edge of the ship, such as birds. When birds are present, the model can identify the size of the birds and remove them from the image, thereby accurately obtaining the position of the upper edge of the ship. This ensures that the target ship can be accurately identified and located even in complex environments, improving the robustness and practicality of ship detection.

[0040] In this embodiment of the invention, the image recognition model refers to a pre-trained algorithm model capable of analyzing and processing images to identify and locate specific targets or features within them. In the context of a target ship image, this model is specifically designed to identify the top edge of the ship, i.e., the topmost position of the ship in the image. Image recognition models are typically based on machine learning or deep learning techniques, such as convolutional neural networks, and can learn to recognize data from large amounts of image data. In practical applications, this model is trained to recognize the ship's outline, shape, and other relevant features in order to quickly and accurately locate the top edge of the ship in new images.

[0041] Furthermore, the image recognition model is also able to detect birds in the image and distinguish them from ships, ensuring that bird interference is excluded when calculating ship altitude.

[0042] In this embodiment of the invention, the step of dividing the vertical field of view equally according to the resolution of the ship image and calculating the angle of the center point of the target ship image using the laser ranging device to obtain the laser center angle includes: The vertical resolution of the target ship is obtained based on the ship image resolution, and the vertical field of view is divided equally according to the vertical resolution to obtain the pixel angle. The position of the laser point in the target ship image is obtained when the laser ranging device measures distance; The number of vertical pixels at the laser point position is obtained, and the angle of the center point of the target ship is calculated based on the number of vertical pixels at the laser point position and the pixel angle to obtain the laser center angle.

[0043] Furthermore, when performing laser ranging, the laser ranging device sends a laser beam to the target ship, which will appear as a visible laser dot in the image of the target ship.

[0044] In this embodiment of the invention, the laser ranging device and the camera device in the intelligent measuring device are in a parallel state when taking pictures.

[0045] Furthermore, after obtaining the target vessel image by acquiring the vessel image at the preset time using the intelligent measurement device, the method further includes: The target ship image is converted to grayscale to obtain a grayscale ship image; The noise in the grayscale ship image is removed by a preset filtering device to obtain a denoised ship image; The distortion of the denoised ship image is removed using a preset pinhole model and correction algorithm to obtain a standardized target ship image.

[0046] In this embodiment of the invention, the quality of the target ship image is improved through the above series of image preprocessing steps, making it more suitable for subsequent analysis and measurement, ensuring the accuracy and reliability of the image data, and providing clear and accurate target ship images for intelligent measurement equipment, thereby improving the accuracy and efficiency of the entire measurement process.

[0047] In this embodiment of the invention, the laser center angle is generally 0 degrees, that is, after the camera device in the intelligent measuring device is installed at the bottom of the target bridge, the center of the image during shooting remains horizontal.

[0048] S4. Based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image, obtain the highest elevation angle of the target ship, obtain the elevation angle of the target ship, and calculate the difference between the elevation angle of the target ship and the laser center angle to obtain the target ship angle difference.

[0049] In this embodiment of the invention, by calculating the difference between the highest elevation angle of the target ship and the laser center angle, the spatial position and attitude of the ship can be accurately determined. This is crucial for ship navigation, obstacle avoidance, safe passage across bridges, and other intelligent control applications, and also improves the accuracy of measurement and the safety of navigation.

[0050] Furthermore, the target vessel elevation angle refers to the angle between the straight line from the horizontal baseline of the intelligent measuring device to the upper edge of the target and the horizontal line. This angle reflects the vertical tilt angle of the target vessel relative to the intelligent measuring device. In practical applications, such as intelligent measuring devices installed at the bottom of bridges, this angle can be used to determine whether the vessel's height allows it to safely pass under the bridge, or in other scenarios requiring precise measurement of the vessel's vertical position. In short, the target vessel elevation angle is an angular parameter that measures the change in the vessel's vertical height relative to a horizontal baseline.

[0051] In this embodiment of the invention, obtaining the highest elevation angle of the target ship based on the ship's upper edge position, vertical field of view, and ship image resolution, and thus obtaining the elevation angle of the target ship, includes: The vertical field of view is divided equally according to the resolution of the ship image to obtain the pixel-average angle. Obtain the pixel position at the upper edge of the ship to obtain the ship pixel position, and calculate the highest elevation angle of the target ship based on the pixel even angle and the ship pixel position to obtain the target ship elevation angle.

[0052] S5. Determine whether the height of the target vessel reaches the preset height of the intelligent measuring device based on the angle difference of the target vessel.

[0053] In this embodiment of the invention, the preset height is not necessarily the installation height of the intelligent measuring device. When the shooting angle of the camera device after installation in the intelligent measuring device has an angle, the preset height will be the installation height of the intelligent measuring device plus the height of the center point of the camera device's image during shooting.

[0054] The height of the center of the image during shooting is reflected on the target vessel. That is, the height on the target vessel can be obtained by analyzing the center point of the captured image in combination with the image resolution.

[0055] In this embodiment of the invention, determining whether the height of the target vessel reaches the preset height of the intelligent measuring device based on the angle difference of the target vessel includes: The sign of the ship angle difference is used to determine whether the height of the target ship exceeds the preset height of the intelligent measuring device; When the ship angle difference is negative, it means that the target ship's height is below the laser center at the time of shooting and has not reached the preset height of the intelligent measuring device; When the height difference between the ships is positive, it means that the target ship is above the laser center at the time of shooting, reaching the preset height of the intelligent measurement device.

[0056] S6. If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed with navigation via a preset communication method.

[0057] In this embodiment of the invention, the preset communication means refer to a series of communication technologies used in the intelligent measurement device for sending and receiving information, including radio communication, satellite communication, Automatic Identification System (AIS), Global Maritime Distress and Emergency Communication System (GMDSS), Digital Navigation Equipment and Controller Area Network Bus (CAN), as well as Internet and wireless communication technologies. These means ensure that the device can transmit data and information to the target vessel and other relevant parties in a timely and accurate manner.

[0058] In another embodiment of the present invention, the height of the bridge opening where the intelligent measuring device is installed can be the lowest bridge opening height in the subsequent route of the target vessel. Therefore, when the target vessel can pass through the bridge, it is not necessary to remeasure the height of the target vessel in the subsequent route.

[0059] S7. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, and the relative height of the vessel is obtained.

[0060] Further, the step of calculating the relative height of the target vessel based on the angle difference and the distance between the target vessels to obtain the relative height of the vessel includes: Based on the ship angle difference and the target ship distance, the relative height of the target ship is calculated using trigonometric function formulas to obtain the relative height of the target ship.

[0061] Furthermore, the trigonometric function formula used to calculate the relative height of the target vessel is as follows: in, The relative height of the target vessel. The target ship distance, The difference in ship angles is given.

[0062] S8. Obtain the ship height of the target ship based on the relative height of the ship and the preset height of the intelligent measuring device, and obtain the bridge height parameter of the bridge. Based on the bridge height parameter and the ship height, notify the target ship whether navigation is permitted.

[0063] In this embodiment of the invention, the preset height is the height at which the bridge is expected to allow ships to pass, and the ship height is the sum of the ship's relative height and the preset height.

[0064] Furthermore, by comparing the relative height of the vessel with the preset height of the intelligent measuring equipment, the system can calculate the vessel's actual height and, combined with the bridge's height parameters, automatically determine and notify the vessel whether it is permitted to navigate. This automated assessment and notification mechanism improves the efficiency and safety of vessel traffic management, reduces the possibility of human error, ensures the safety of bridges and vessels, and optimizes vessel passage procedures. In short, this process, through intelligent measurement and judgment, achieves precise control over vessel navigation rights, ensuring smooth and safe water traffic.

[0065] This invention embodiment obtains the target ship distance by acquiring the distance between the target ship and the intelligent measuring device at a preset time using an intelligent measuring device installed at the bottom of a bridge. The intelligent measuring device includes a laser rangefinder and a camera. The intelligent measuring device acquires an image of the target ship at the preset time, obtaining the target ship image and its resolution. Image recognition is performed on the target ship image to obtain the upper edge of the target ship, determining its position. The vertical field of view of the intelligent measuring device is also acquired. This vertical field of view is divided equally according to the ship image resolution, and the laser rangefinder calculates the angle of the center point of the target ship image to obtain the laser center angle. The identification of the upper edge of the ship facilitates subsequent calculations. Based on the upper edge position, vertical field of view, and ship image resolution, the following calculations are performed: The method involves measuring the target vessel's elevation angle at its highest elevation angle, calculating the difference between this elevation angle and the laser center angle, and determining whether the target vessel's height has reached the preset height of the intelligent measuring device. If the target vessel's height has not reached the preset height, the device notifies the target vessel to proceed with navigation via a preset communication method. If the target vessel's height has reached the preset height, the device calculates the relative height of the target vessel based on the angle difference and the target vessel distance, thus determining how much higher the vessel is relative to the preset height. The device then calculates the target vessel's height based on the relative height and the preset height of the intelligent measuring device, and obtains the bridge height parameters. Finally, the device notifies the target vessel whether navigation is permitted based on the bridge height parameters and the vessel's height. Therefore, the proposed method, device, electronic equipment, and computer-readable storage medium for measuring vessel navigation height improves the accuracy of vessel height measurement by using an intelligent measuring device combining laser ranging equipment and camera equipment.

[0066] like Figure 2 The diagram shown is a schematic diagram of the module of the ship navigation altitude measuring device of the present invention.

[0067] The ship navigation height measuring device 100 of this invention can be installed in an electronic device. Depending on the functions implemented, the ship navigation height measuring device may include a ship image acquisition module 101, an angle difference calculation module 102, a navigation condition judgment module 103, and a ship height calculation module 104. The module described in this invention can also be called a unit, referring to a series of computer program segments that can be executed by the processor of an electronic device and perform a fixed function, stored in the memory of the electronic device.

[0068] In this embodiment, the functions of each module / unit are as follows: The ship image acquisition module 101 is used to acquire the distance between the target ship to be measured and the intelligent measuring device at a preset time based on the intelligent measuring device installed at the bottom of the bridge, and to obtain the target ship distance. The intelligent measuring device includes a laser rangefinder and a camera. The target ship image is obtained by acquiring the ship image of the target ship at the preset time using the intelligent measurement device, and the image resolution of the target ship image is obtained to obtain the ship image resolution. Angle difference calculation module 102 is used to perform image recognition on the target ship image, obtain the upper edge of the target ship in the target ship image, obtain the position of the upper edge of the ship, and obtain the vertical field of view of the intelligent measuring device. The vertical field of view is divided equally according to the resolution of the ship image, and the laser ranging device is used to calculate the angle of the center point of the target ship image to obtain the laser center angle. The highest elevation angle of the target ship is obtained based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image. The elevation angle of the target ship is then obtained, and the difference between the elevation angle of the target ship and the laser center angle is calculated to obtain the target ship angle difference. The navigation condition judgment module 103 is used to determine whether the height of the target vessel reaches the preset height of the intelligent measuring device based on the angle difference of the target vessel. If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed through a preset communication method. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, thus obtaining the relative height of the vessel. The ship height calculation module 104 is used to obtain the ship height of the target ship based on the relative height of the ship and the preset height of the intelligent measuring device, and to obtain the bridge height parameters of the bridge, and to notify the target ship whether navigation is permitted based on the bridge height parameters and the ship height.

[0069] In detail, the modules of the ship navigation height measuring device 100 described in this embodiment of the invention adopt the same characteristics as described above during use. Figure 1 The method used is the same as the method for measuring the navigation height of ships, and it can produce the same technical effect, so it will not be described in detail here.

[0070] like Figure 3 The diagram shown is a structural schematic of the electronic device used in this invention to implement the method for measuring the navigation altitude of ships.

[0071] The electronic device may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13. It may also include a computer program stored in the memory 11 and capable of running on the processor 10, such as a ship navigation altitude measurement program.

[0072] In some embodiments, the processor 10 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control unit of the electronic device, connecting various components of the entire electronic device through various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing a ship navigation altitude measurement program) and calls data stored in the memory 11 to perform various functions of the electronic device and process data.

[0073] The memory 11 includes at least one type of readable storage medium, including flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of an electronic device, such as a portable hard drive. In other embodiments, the memory 11 can be an external storage device of the electronic device, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc. Furthermore, the memory 11 can include both internal and external storage units of the electronic device. The memory 11 can be used not only to store application software and various types of data installed on the electronic device, such as the code for a ship navigation altitude measurement program, but also to temporarily store data that has been output or will be output.

[0074] The communication bus 12 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable communication between the memory 11 and at least one processor 10, etc.

[0075] The communication interface 13 is used for communication between the aforementioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, Bluetooth interface, etc.), typically used to establish communication connections between the electronic device and other electronic devices. The user interface may be a display, an input unit (such as a keyboard), or optionally, a standard wired or wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device and to display a visual user interface.

[0076] Figure 3 Only electronic devices with components are shown; it will be understood by those skilled in the art that... Figure 3 The structure shown does not constitute a limitation on the electronic device and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0077] For example, although not shown, the electronic device may also include a power supply (such as a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0078] It should be understood that the embodiments described are for illustrative purposes only and are not limited to this structure in the scope of the patent application.

[0079] The ship navigation altitude measurement program stored in the memory 11 of the electronic device is a combination of multiple computer programs. When run in the processor 10, it can achieve the following: The distance between the target vessel and the intelligent measuring device at a preset time is obtained by using intelligent measuring equipment installed at the bottom of the bridge. The intelligent measuring equipment includes a laser rangefinder and a camera. The target ship image is obtained by acquiring the ship image of the target ship at the preset time using the intelligent measurement device, and the image resolution of the target ship image is obtained to obtain the ship image resolution. Image recognition is performed on the target ship image to obtain the upper edge of the target ship in the target ship image, the position of the upper edge of the ship is obtained, and the vertical field of view of the intelligent measuring device is obtained. The vertical field of view is divided equally according to the resolution of the ship image, and the angle of the center point of the target ship image is calculated in combination with the laser ranging device to obtain the laser center angle. The highest elevation angle of the target ship is obtained based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image. The elevation angle of the target ship is then obtained, and the difference between the elevation angle of the target ship and the laser center angle is calculated to obtain the target ship angle difference. Based on the angle difference of the target vessel, determine whether the height of the target vessel reaches the preset height of the intelligent measuring device; If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed through a preset communication method. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, thus obtaining the relative height of the vessel. The target vessel's height is obtained based on the relative height of the vessel and the preset height of the intelligent measuring device. The bridge height parameter of the bridge is also obtained. Based on the bridge height parameter and the vessel height, the target vessel is notified whether navigation is permitted.

[0080] Specifically, the processor 10's implementation method of the above-mentioned computer program can be found in [reference needed]. Figure 1 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.

[0081] Furthermore, if the modules / units integrated into the electronic device are implemented as software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0082] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor of an electronic device, can perform the following: The distance between the target vessel and the intelligent measuring device at a preset time is obtained by using intelligent measuring equipment installed at the bottom of the bridge. The intelligent measuring equipment includes a laser rangefinder and a camera. The target ship image is obtained by acquiring the ship image of the target ship at the preset time using the intelligent measurement device, and the image resolution of the target ship image is obtained to obtain the ship image resolution. Image recognition is performed on the target ship image to obtain the upper edge of the target ship in the target ship image, the position of the upper edge of the ship is obtained, and the vertical field of view of the intelligent measuring device is obtained. The vertical field of view is divided equally according to the resolution of the ship image, and the angle of the center point of the target ship image is calculated in combination with the laser ranging device to obtain the laser center angle. The highest elevation angle of the target ship is obtained based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image. The elevation angle of the target ship is then obtained, and the difference between the elevation angle of the target ship and the laser center angle is calculated to obtain the target ship angle difference. Based on the angle difference of the target vessel, determine whether the height of the target vessel reaches the preset height of the intelligent measuring device; If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed through a preset communication method. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, thus obtaining the relative height of the vessel. The target vessel's height is obtained based on the relative height of the vessel and the preset height of the intelligent measuring device. The bridge height parameter of the bridge is also obtained. Based on the bridge height parameter and the vessel height, the target vessel is notified whether navigation is permitted.

[0083] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

[0084] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0085] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0086] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0087] Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within the invention. No appended diagram markings in the claims should be construed as limiting the scope of the claims.

[0088] The blockchain referred to in this invention is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.

[0089] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0090] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a system claim may also be implemented by a single unit or device through software or hardware. The term "second class" is used to indicate names and does not indicate any specific order.

[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method for measuring the navigation height of a ship, characterized in that, The method includes: The distance between the target vessel and the intelligent measuring device at a preset time is obtained by using intelligent measuring equipment installed at the bottom of the bridge. The intelligent measuring equipment includes a laser rangefinder and a camera. The target ship image is obtained by acquiring the ship image of the target ship at the preset time using the intelligent measurement device, and the image resolution of the target ship image is obtained to obtain the ship image resolution. Image recognition is performed on the target ship image to obtain the top edge of the target ship in the image, thus determining the position of the top edge of the ship, and the vertical field of view of the intelligent measurement device is also obtained. The vertical resolution of the target ship is obtained based on the ship image resolution, and the vertical field of view is divided equally according to the vertical resolution to obtain the pixel angle. The position of the laser point in the target ship image is obtained when the laser ranging device measures distance; The vertical pixel count at the laser point position is obtained, and the angle between the laser point position and the center point of the target ship image is calculated based on the vertical pixel count and the pixel angle to obtain the laser center angle. The highest elevation angle of the target ship is obtained based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image. The elevation angle of the target ship is then obtained, and the difference between the elevation angle of the target ship and the laser center angle is calculated to obtain the target ship angle difference. Based on the angle difference of the target vessel, determine whether the height of the target vessel reaches the preset height of the intelligent measuring device; If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed through a preset communication method. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, thus obtaining the relative height of the vessel. The target vessel's height is obtained based on the relative height of the vessel and the preset height of the intelligent measuring device. The bridge height parameter of the bridge is also obtained. Based on the bridge height parameter and the vessel height, the target vessel is notified whether navigation is permitted.

2. The method for measuring the navigation height of a ship as described in claim 1, characterized in that, Before performing image recognition on the target ship image to obtain the top edge of the target ship in the target ship image and determine the position of the top edge of the ship, the method further includes: The image of the target ship is identified by a preset image recognition model to obtain the image of the top edge of the target ship; Determine whether a bird exists at the highest point in the image above the edge: If no bird is found at the highest point in the upper edge image, the upper edge position of the target ship is obtained directly from the highest point in the upper edge image. If a bird is present at the highest point in the upper edge image, the image recognition model identifies the size of the bird in the upper edge image, and the bird's influence is removed from the upper edge image to obtain the position of the ship's upper edge.

3. The method for measuring the navigation height of a ship as described in claim 1, characterized in that, After obtaining the target ship image at the preset time using the intelligent measurement device, the method further includes: The target ship image is converted to grayscale to obtain a grayscale ship image; The noise in the grayscale ship image is removed by a preset filtering device to obtain a denoised ship image; The distortion of the denoised ship image is removed using a preset pinhole model and correction algorithm to obtain a standardized target ship image.

4. The method for measuring the navigation height of a ship as described in claim 1, characterized in that, The step of obtaining the highest elevation angle of the target ship based on the ship's upper edge position, vertical field of view, and ship image resolution, and obtaining the elevation angle of the target ship, includes: The vertical field of view is divided equally according to the resolution of the ship image to obtain the pixel-average angle. Obtain the pixel position at the upper edge of the ship to obtain the ship pixel position, and calculate the highest elevation angle of the target ship based on the pixel even angle and the ship pixel position to obtain the target ship elevation angle.

5. The method for measuring the navigation height of a ship as described in claim 1, characterized in that, The step of determining whether the height of the target vessel reaches the preset height of the intelligent measuring device based on the angle difference of the target vessel includes: The sign of the ship angle difference is used to determine whether the height of the target ship exceeds the preset height of the intelligent measuring device; When the ship angle difference is negative, it means that the target ship's height is below the laser center at the time of shooting and has not reached the preset height of the intelligent measuring device; When the ship angle difference is positive, it means that the target ship's height is above the laser center at the time of shooting, reaching the preset height of the intelligent measurement device.

6. The method for measuring the navigation height of a ship as described in any one of claims 1 to 5, characterized in that, The step of calculating the relative height of the target vessel based on the angle difference and the distance between the target vessels to obtain the relative height of the vessel includes: Based on the ship angle difference and the target ship distance, the relative height of the target ship is calculated using trigonometric function formulas to obtain the relative height of the target ship; The trigonometric formula used to calculate the relative height of the target vessel is as follows: ;in, The relative height of the target vessel. The target ship distance, The difference in ship angles is given.

7. A device for measuring the navigation height of a ship, characterized in that, The device includes: The ship image acquisition module is used to acquire the distance between the target ship to be measured and the intelligent measuring device at a preset time based on the intelligent measuring device installed at the bottom of the bridge, and to obtain the target ship distance. The intelligent measuring device includes a laser rangefinder and a camera. The target ship image is obtained by acquiring the ship image of the target ship at the preset time using the intelligent measurement device, and the image resolution of the target ship image is obtained to obtain the ship image resolution. The angle difference calculation module is used to perform image recognition on the target ship image, obtain the upper edge of the target ship in the target ship image, obtain the position of the upper edge of the ship, and obtain the vertical field of view of the intelligent measurement device. The vertical resolution of the target ship is obtained based on the ship image resolution, and the vertical field of view is divided equally according to the vertical resolution to obtain the pixel angle. The position of the laser point in the target ship image is obtained when the laser ranging device measures distance; The vertical pixel count at the laser point position is obtained, and the angle between the laser point position and the center point of the target ship image is calculated based on the vertical pixel count and the pixel angle to obtain the laser center angle. The highest elevation angle of the target ship is obtained based on the position of the upper edge of the ship, the vertical field of view, and the resolution of the ship image. The elevation angle of the target ship is then obtained, and the difference between the elevation angle of the target ship and the laser center angle is calculated to obtain the target ship angle difference. The navigation condition judgment module is used to determine whether the height of the target vessel reaches the preset height of the intelligent measuring device based on the angle difference of the target vessel. If the target vessel's height does not reach the preset height of the intelligent measuring device, the target vessel is notified to proceed through a preset communication method. When the height of the target vessel reaches the preset height of the intelligent measuring device, the relative height of the target vessel is calculated based on the angle difference of the target vessel and the distance between the target vessels, thus obtaining the relative height of the vessel. The ship height calculation module is used to obtain the ship height of the target ship based on the relative height of the ship and the preset height of the intelligent measuring device, and to obtain the bridge height parameters of the bridge, and to notify the target ship whether navigation is permitted based on the bridge height parameters and the ship height.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the ship navigation height measurement method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, comprising a data storage area and a program storage area, wherein the data storage area stores created data and the program storage area stores a computer program; wherein, When the computer program is executed by the processor, it implements the ship navigation height measurement method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Ship identification system based on deep learning and identification method thereof

    CN110175535A

  • Ship height detection method, device and system

    CN110969898A