Method, device and electronic equipment for identifying a draft of a ship
By visually analyzing images of ship draft, the draft gauge markings are automatically identified, solving the problem of time-consuming and laborious manual reading of ship draft gauges. This achieves efficient and accurate ship draft identification, meeting the management needs of modern ports.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI ZHENHUA HEAVY IND
- Filing Date
- 2026-03-19
- Publication Date
- 2026-06-23
Smart Images

Figure CN122254033A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of draft depth surveying technology, and in particular to a method, apparatus and electronic equipment for identifying the draft depth of a ship. Background Technology
[0002] A ship's draft is a scale marked on both sides of the bow, midships, and stern to indicate the ship's draft. In port operations and management, measuring a ship's draft is a core element in calculating cargo handling capacity, and its accuracy directly affects port operational efficiency, fairness in cargo settlement, and ship navigation safety.
[0003] However, the current mainstream method of manually reading draft gauges is time-consuming and labor-intensive, susceptible to weather conditions, and cannot guarantee timeliness and accuracy. It is no longer sufficient to meet the needs of modern ports for efficient, precise, and automated management. Summary of the Invention
[0004] In view of the above-mentioned problems in the prior art, the purpose of the present invention is to provide a method, device and electronic equipment for identifying the draft of a ship, which can solve the defects or problems of untimely and inaccurate manual reading of the draft gauge.
[0005] To solve the above problems, the present invention adopts the following technical solution:
[0006] According to a first aspect of the present invention, a method for identifying the draft of a ship is provided, the method comprising:
[0007] Acquire the draft depth image of the target vessel; the draft depth image is a view of the water gauge scale on the hull of the target vessel.
[0008] Visual analysis of draft images yields water gauge markings, which include major and minor markings.
[0009] Based on the preset value range and preset position characteristics of the water gauge scale, determine the main draft scale value and the secondary draft scale value from the water gauge scale.
[0010] The ship's draft depth is determined based on the main draft scale value and the secondary draft scale value.
[0011] In one embodiment of the present invention, determining the main draft value from the water gauge scale includes:
[0012] Based on the preset position characteristics of the water gauge scale, multiple main scale values are identified from the water gauge scale;
[0013] Among multiple main scale values, those that exceed the preset range are removed, and the smallest main scale value is used as the main draft scale value.
[0014] In one embodiment of the present invention, the sub-scale is in the form of a number, wherein determining the draft sub-scale value from the draft gauge scale includes:
[0015] Calculate the division value corresponding to the secondary scale based on the numerical range of the secondary scale in the region between multiple sets of adjacent primary scale values and the repeated combinations of numerical values.
[0016] Obtain the values corresponding to all secondary scales below the main draft value, search for the smallest value among them, and combine it with the scale value to obtain the secondary draft value.
[0017] In one embodiment of the present invention, the sub-scale is in the form of a graduation line, wherein determining the draft sub-scale value from the draft gauge scale includes:
[0018] Calculate the scale value corresponding to the secondary scale based on the total number of scale lines of the secondary scale in the region between multiple sets of adjacent primary scale values;
[0019] Obtain the number of graduations corresponding to all secondary graduations below the main draft value, and combine them with the graduation value to obtain the secondary draft value.
[0020] In one embodiment of the present invention, if no secondary scale can be identified below the main draft scale value, and secondary scales can be identified in the area between multiple sets of adjacent main scale values, then the secondary draft scale is set to zero, and the main draft scale value is used as the draft depth.
[0021] In one embodiment of the present invention, visual analysis of the draft image is performed to obtain the water gauge scale, including:
[0022] Obtain the original draft gauge readings displayed on the hulls of multiple target vessels within a preset time period;
[0023] Multiple sets of original water gauge markings are filtered to eliminate abnormal markings;
[0024] The original water gauge readings after multiple filtering processes are combined to obtain the water gauge readings.
[0025] In one embodiment of the present invention, the filtering process includes:
[0026] Data smoothing processing was performed on multiple sets of original water gauge readings.
[0027] In one embodiment of the present invention, the filtering process includes:
[0028] Time series analysis was performed on multiple sets of original water gauge readings to exclude those that violated historical trends.
[0029] According to a second aspect of the present invention, an apparatus for identifying the draft of a ship is provided, comprising:
[0030] The image acquisition module is used to acquire the draft depth image of the target vessel. The draft depth image is a view of the water gauge scale on the hull of the target vessel.
[0031] The visual analysis module is used to perform visual analysis on draft images to obtain water gauge scales, which include major and minor scales.
[0032] The draft depth calculation module is used to determine the main draft value and secondary draft value from the draft gauge scale based on the preset value range and preset position characteristics; and to determine the ship's draft depth based on the main draft value and secondary draft value.
[0033] According to a third aspect of the present invention, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the processor to implement the method for identifying the draft of a ship as described above.
[0034] Due to the above technical solution, the present invention has the following beneficial effects:
[0035] This invention proposes a method for identifying the draft of a ship. The method obtains the draft gauge scale by visually analyzing an acquired image of the target ship's draft. Based on the preset value range and preset positional characteristics of the draft gauge scale, the primary and secondary draft values are determined from the scale. The ship's draft is then determined based on these primary and secondary draft values. This invention uses a high-definition camera to continuously capture images of the ship's draft gauge at regular intervals, and performs visual analysis and automated readings, eliminating the need for manual on-site readings and improving identification efficiency. Furthermore, a multi-voting mechanism is used to select more reasonable identification results, improving identification accuracy. Attached Figure Description
[0036] To more clearly illustrate the technical solutions of the present invention, the accompanying drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0037] Figure 1 This is a schematic diagram of the implementation environment of a method for identifying the draft of a ship according to an embodiment of the present invention;
[0038] Figure 2 This is a flowchart of a method for identifying the draft of a ship according to an embodiment of the present invention;
[0039] Figure 3 This is a flowchart of visual analysis of draft depth images provided in one embodiment of the present invention;
[0040] Figure 4 This is a structural diagram of a device for identifying the draft of a ship according to an embodiment of the present invention;
[0041] Figure 5 This is a block diagram of an electronic device provided in one embodiment of the present invention. Detailed Implementation
[0042] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0043] To make the objectives, technical solutions, and advantages disclosed in the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of the present invention and are not intended to limit the embodiments of the present invention.
[0044] Reference manual attached Figure 1 , Figure 1 A schematic diagram illustrating the implementation environment of the present invention for identifying the ship's draft is shown. For example... Figure 1 As shown, the implementation environment may include a camera device 1000 and a computing device 2000. The high-definition camera captures images of ships docked at each berth, showing the draft gauge markings on the target ship's hull. These images are then transmitted to the computing device 2000 for analysis and to determine the ship's draft. Ships typically have clearly visible draft gauge markings on both the bow and stern, representing their draft, with primary and secondary markings. The computing device 2000 uses visual analysis functions to analyze and read the draft gauge images to determine the ship's draft.
[0045] like Figure 1As shown, a camera device 1000 is deployed at each berth. The camera device 1000 can photograph ships docked at each berth. The installation angle, pixel count, and lens configuration of the camera device 1000 are designed to clearly capture the ship's draft. Multiple cameras at various berths are connected to a computing device 2000 via a network. The maximum number of connections per computing device 2000 is determined by its computing power. The computing device 2000 can be, but is not limited to, various servers, personal computers, laptops, smartphones, tablets, etc. Servers can be independent servers, server clusters composed of multiple servers, or distributed devices. They can also be edge servers or cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0046] Reference manual attached Figure 2 This illustrates a method for identifying the draft of a ship according to an embodiment of the present invention, which can be applied to... Figure 1 The computing device 2000 is described. Specifically, the method includes the following steps S100~S400:
[0047] Step S100: Obtain the draft depth image of the target vessel. The draft depth image is the water gauge scale image of the target vessel's hull.
[0048] Specifically, draft depth images are continuously captured at regular intervals by camera device 1000. The capture frequency can be adjusted according to actual needs to balance data volume and real-time requirements. It is necessary to ensure that camera device 1000 has sufficient pixels and features autofocus and low-light sensitivity to obtain clear and accurate water gauge readings. Simultaneously, preprocessing of the draft depth images, such as noise reduction and image enhancement, can be performed. Compared to manually reading the water gauge, capturing draft depth images using camera device 1000 provides a faster and more accurate way to obtain relevant water gauge information.
[0049] Step S200: Perform visual analysis on the draft depth image to obtain the water gauge scale, which includes a main scale and a secondary scale.
[0050] Specifically, image processing algorithms (such as edge detection or image segmentation algorithms) can be used to filter and identify regions of the water gauge markings from draft images. Deep learning models can also be used for image classification and segmentation to improve the accuracy and robustness of the identification. This step can be tailored to specific application scenarios and requirements by selecting a combination of one or more visual analysis methods to enhance the accuracy and reliability of water gauge marking identification.
[0051] Step S300: Determine the main draft value and secondary draft value from the draft gauge scale according to the preset value range and preset position characteristics of the draft gauge scale.
[0052] Specifically, the system distinguishes between primary and secondary draft scales based on the preset positional characteristics of the draft gauge graduations. Values outside the preset range are filtered out, and the primary draft value is identified. The secondary draft value is then calculated from the primary draft value. If either the primary or secondary draft value is outside the preset range, an anomaly is detected and an alarm is triggered. Filtering out draft gauge graduations exceeding the preset range ensures data validity, and the preset positional characteristics of the draft gauge graduations facilitate quick differentiation between primary and secondary scales.
[0053] Step S400: Determine the ship's draft depth based on the main draft scale value and the secondary draft scale value.
[0054] Specifically, the ship's draft can be calculated through mathematical operations based on the identified primary and secondary draft values.
[0055] In this embodiment, the draft gauge is obtained by visually analyzing the acquired image of the target vessel's draft depth. Based on the preset value range and preset positional characteristics of the draft gauge, the main draft value and secondary draft value are quickly and effectively read from the draft gauge to determine the vessel's draft depth. This embodiment achieves automated identification of vessel draft depth, eliminating the need for manual on-site readings and improving identification efficiency and accuracy.
[0056] Further, in step S300, determining the main draft value from the draft gauge scale specifically includes:
[0057] Based on the preset position characteristics of the water gauge scale, multiple main scale values are identified from the water gauge scale;
[0058] Among multiple main scale values, those that exceed the preset range are removed, and the smallest main scale value is used as the main draft scale value.
[0059] For example, for ships with a draft of 0-400,000 tons, which is in the range of 0-30 meters, all numbers are captured from the draft gauge. Based on the characteristic of the numbers on the draft gauge being arranged vertically, the numbers that conform to the vertical arrangement of pixel coordinates are sorted and summarized, and those outside the range of 0-30 are removed. The smallest value is then searched, and the searched value is the main draft gauge value.
[0060] Furthermore, after obtaining the main draft value, the secondary draft value can be determined from the draft gauge scale. The secondary draft includes three cases: the secondary draft is in numerical form, in scale line form, or there is no secondary draft.
[0061] Furthermore, the secondary scale is in the form of numbers, wherein step S300, determining the draft secondary scale value from the draft gauge scale, includes:
[0062] Calculate the division value corresponding to the secondary scale based on the numerical range of the secondary scale in the region between multiple sets of adjacent primary scale values and the repeated combinations of numerical values.
[0063] Obtain the values corresponding to all secondary scales below the main draft value, search for the smallest value among them, and combine it with the scale value to obtain the secondary draft value.
[0064] For example, if the secondary scale values range from 1 to 9, and their arrangement is vertical with repeated occurrences, this characteristic can be used to identify the values 1-9 among multiple sets of adjacent primary scale values, thus determining the corresponding scale division value to be 0.1. If the repeated vertical combinations of values among multiple sets of adjacent primary scale values are even numbers such as 2, 4, 6, and 8, the scale division value is 0.2. If only the number 5 appears repeatedly among multiple sets of adjacent primary scale values, the scale division value is 0.5. Further analysis of the smallest value corresponding to the secondary scale value appearing below the draft primary scale value yields the draft secondary scale value.
[0065] Furthermore, the secondary scale is in the form of graduation lines, wherein step S300, determining the draft secondary scale value from the draft gauge scale, includes:
[0066] Calculate the scale value corresponding to the secondary scale based on the total number of scale lines of the secondary scale in the region between multiple sets of adjacent primary scale values;
[0067] Obtain the number of graduations corresponding to all secondary graduations below the main draft value, and combine them with the graduation value to obtain the secondary draft value.
[0068] For example, the number of horizontal lines between multiple sets of adjacent major scale values, i.e., between the vertical coordinates of two numbers on the major scale, can be identified. By repeatedly verifying the same number of horizontal lines in the area between the vertical coordinates of multiple sets of adjacent major scales, the number of graduation lines between the major scales can be determined, and the graduation value corresponding to each graduation line can be calculated. Then, the number of graduation lines appearing below the draft major scale value can be obtained to calculate the draft secondary scale value.
[0069] Furthermore, if there is no secondary scale, then the primary draft value is unnecessary; the draft depth can be determined solely from the primary draft value. That is:
[0070] If no secondary scale can be identified below the main draft value, and secondary scales can be identified in the area between multiple adjacent main scale values, then the secondary draft scale is set to zero, and the main draft value is used as the draft depth.
[0071] In other words, if no horizontal lines or numbers can be identified between the pixel coordinates of the main scale, meaning there are no secondary scales in the form of numbers or graduation lines, and this is verified between the pixel coordinates of multiple sets of adjacent main scale values, it can be determined that there are no secondary scales, and the recognition accuracy can only be based on the accuracy of the main scale.
[0072] In one embodiment of the present invention, in step S200, visual analysis is performed on the draft depth image to obtain the water gauge scale, such as... Figure 3 As shown, steps S201 to S203 are included:
[0073] Step S201: Obtain the original draft gauge readings displayed on the hulls of multiple target vessels within a preset time period;
[0074] Step S202: Filter multiple sets of original water gauge markings to eliminate abnormal markings;
[0075] Step S203: Combine the original water level gauge readings after multiple filtering processes to obtain the water level gauge readings.
[0076] By capturing water draft images of the target vessel within a preset time period, multiple sets of image data from different perspectives and time periods can be obtained, providing more comprehensive information for subsequent analysis. Filtering is applied to these multiple sets of raw water draft images to remove noise and incorrect water draft information. Since vessels may dynamically change due to factors such as waves and wind, acquiring multiple sets of images improves accuracy and reduces the impact of random errors.
[0077] In one embodiment of the present invention, the filtering process includes: smoothing the data of multiple sets of original water gauge readings.
[0078] Raw water level gauge data can be affected by various noise and interference factors, such as changes in lighting, motion blur, and image quality issues. Smoothing processes can effectively remove or reduce this random noise, making the data clearer, reducing the possibility of misreading, and thus improving the accuracy of subsequent identification.
[0079] In one embodiment of the present invention, the filtering process includes: performing time series analysis on multiple sets of original water gauge readings to exclude original water gauge readings that violate historical trends.
[0080] This embodiment can construct a time series model by collecting water gauge readings and corresponding timestamps to describe and predict the changing trends of the water gauge readings. By performing time series analysis on multiple sets of original water gauge readings, outliers that do not conform to logic are identified and eliminated based on historical data trends, thereby improving the accuracy and reliability of the water gauge readings.
[0081] A second aspect of the present invention also provides a device for identifying the draft of a ship, the device corresponding toFigure 1 The computing device 2000 shown, such as Figure 4 As shown, the device includes:
[0082] The image acquisition module 2100 is used to acquire the draft depth image of the target vessel, which is the water gauge scale image of the target vessel's hull.
[0083] The visual analysis module 2200 is used to perform visual analysis on draft images to obtain water gauge scales, which include major and minor scales.
[0084] The draft depth calculation module 2300 is used to determine the main draft value and secondary draft value from the draft gauge scale based on the preset value range and preset position characteristics; and to determine the draft depth of the ship based on the main draft value and secondary draft value.
[0085] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus provided in the above embodiments and the corresponding method embodiments belong to the same concept, and the specific implementation process can be found in the corresponding method embodiments, which will not be repeated here.
[0086] One embodiment of the present invention also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the method for identifying the draft of a ship as provided in the above method embodiments.
[0087] Memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for the functions, etc.; the data storage area can store data created based on the use of the device, etc. Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory can also include a memory controller to provide the processor with access to the memory.
[0088] Refer to the attached reference manual Figure 5The diagram shown is a block diagram of an electronic device 500 according to an embodiment of the present invention. The electronic device 500 may include one or more processors 502, system control logic 508 connected to at least one of the processors 502, system memory 504 connected to the system control logic 508, non-volatile memory (NVM) 506 connected to the system control logic 508, and network interface 510 connected to the system control logic 508.
[0089] Processor 502 may include one or more single-core or multi-core processors. Processor 502 may include any combination of general-purpose processors and special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In embodiments herein, processor 502 may be configured to perform operations according to... Figures 2 to 4 One or more embodiments of the various embodiments shown.
[0090] In some embodiments, system control logic 508 may include any suitable interface controller to provide any suitable interface to at least one of the processors 502 and / or any suitable device or component communicating with system control logic 508.
[0091] In some embodiments, system control logic 508 may include one or more memory controllers to provide an interface to system memory 504. System memory 504 may be used to load and store data and / or instructions. In some embodiments, system memory 504 of electronic device 500 may include any suitable volatile memory, such as suitable dynamic random access memory (DRAM).
[0092] NVM / memory 506 may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. In some embodiments, NVM / memory 506 may include any suitable non-volatile memory such as flash memory and / or any suitable non-volatile storage device, such as at least one of HDD (Hard Disk Drive), CD (Compact Disc) drive, and DVD (Digital Versatile Disc) drive.
[0093] NVM / Storage 506 may include a portion of storage resources mounted on a device of Electronic Device 500, or it may be accessible by the device but is not necessarily part of the device. For example, NVM / Storage 506 may be accessed over a network via Network Interface 510.
[0094] Specifically, system memory 504 and NVM / memory 506 may each include a temporary copy and a permanent copy of instruction 520. Instruction 520 may include, when executed by at least one of processors 502, causing electronic device 500 to perform, as Figures 2 to 4 The instructions 520, the hardware, firmware, and / or software components thereof, are shown as instructions for identifying the draft of a ship. In some embodiments, the instructions 520, hardware, firmware, and / or software components thereof may additionally / alternatively be located in system control logic 508, network interface 510, and / or processor 502.
[0095] Network interface 510 may include a transceiver for providing a radio interface to electronic device 500, thereby enabling communication with any other suitable device (such as a front-end module, antenna, etc.) via one or more networks. In some embodiments, network interface 510 may be integrated into other components of electronic device 500. For example, network interface 510 may be integrated into at least one of the following: a communication module of processor 502, system memory 504, NVM / memory 506, and firmware device (not shown) with instructions, which, when at least one of processor 502 executes the instructions, enable electronic device 500 to implement... Figures 2 to 4 One or more embodiments of the various embodiments shown.
[0096] The network interface 510 may further include any suitable hardware and / or firmware to provide a multiple-input multiple-output radio interface. For example, the network interface 510 may be a network adapter, a wireless network adapter, a telephone modem, and / or a wireless modem.
[0097] In one embodiment, at least one of the processors 502 may be packaged together with the logic of one or more controllers for system control logic 508 to form a system package (SiP). In another embodiment, at least one of the processors 502 may be integrated on the same die with the logic of one or more controllers for system control logic 508 to form a system on chip (SoC).
[0098] The electronic device 500 may further include an input / output (I / O) device 512. The I / O device 512 may include a user interface enabling a user to interact with the electronic device 500; the peripheral component interface is designed to allow peripheral components to also interact with the electronic device 500. In some embodiments, the electronic device 500 may also include sensors for determining at least one type of environmental condition and location information related to the electronic device 500.
[0099] In some embodiments, the user interface may include, but is not limited to, a display (e.g., a liquid crystal display, a touch screen display, etc.), a speaker, a microphone, one or more cameras (e.g., a still image camera and / or a video camera), a flashlight (e.g., a light-emitting diode flash), and a keyboard.
[0100] In some embodiments, the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
[0101] In some embodiments, the sensor may include, but is not limited to, a gyroscope sensor, an accelerometer, a proximity sensor, an ambient light sensor, and a positioning unit. The positioning unit may also be part of or interact with the network interface 510 to communicate with components of the positioning network, such as Global Positioning System (GPS) satellites.
[0102] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 500. In other embodiments of the present invention, the electronic device 500 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0103] One embodiment of the present invention also provides a computer-readable storage medium that can be disposed in an electronic device to store at least one instruction or at least one program related to implementing a method, wherein the at least one instruction or the at least one program is loaded and executed by the processor to implement the method for identifying the draft of a ship provided in the above-described method embodiment.
[0104] Optionally, in embodiments of the present invention, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0105] One embodiment of the present invention also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method for identifying the draft of a ship provided in the various optional implementations described above.
[0106] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments, while other embodiments are within the scope of the appended specification. In some cases, the actions or steps described in the specification can be performed in a different order than that shown in the embodiments and still achieve the desired results. Additionally, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0107] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0108] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for identifying the draft of a ship, characterized in that, include: Acquire a draft image of the target vessel, wherein the draft image is a view of the water gauge scale on the hull of the target vessel; Visual analysis is performed on the draft image to obtain the water gauge scale, which includes a main scale and a secondary scale. Based on the preset value range and preset position characteristics of the water gauge scale, determine the main draft value and the secondary draft value from the water gauge scale. The ship's draft depth is determined based on the main draft scale value and the secondary draft scale value.
2. The method for identifying the draft of a ship according to claim 1, characterized in that, Determining the draft principal scale value from the water gauge scale includes: Based on the preset position characteristics of the water gauge scale, multiple main scale values are identified from the water gauge scale; Among the multiple main scale values, those that exceed the preset value range are removed, and the smallest main scale value is taken as the draft main scale value.
3. The method for identifying the draft of a ship according to claim 2, characterized in that, The sub-scale is in numerical form, wherein determining the draft sub-scale value from the draft gauge scale includes: The graduation value corresponding to the secondary scale is calculated based on the numerical range of the secondary scale and the repeated numerical combinations in the region between multiple sets of adjacent primary scale values. Obtain the values corresponding to all the subscales below the main draft value, search for the smallest value among them, and combine it with the scale value to obtain the secondary draft value.
4. The method for identifying the draft of a ship according to claim 2, characterized in that, The sub-scale is in the form of a graduation line, wherein determining the draft sub-scale value from the draft gauge scale includes: The graduation value corresponding to the secondary scale is calculated based on the total number of graduation lines of the secondary scale in the region between multiple sets of adjacent primary scale values. Obtain the number of graduation lines corresponding to all the secondary graduations below the main draft value, and combine them with the graduation value to obtain the secondary draft value.
5. The method for identifying the draft of a ship according to claim 3 or 4, characterized in that, If the secondary scale cannot be identified below the main draft value, and the secondary scale can be identified in the area between multiple adjacent main scale values, then the secondary draft is set to zero, and the main draft value is used as the draft depth.
6. The method for identifying the draft of a ship according to claim 1, characterized in that, Visual analysis of the draft image yields the water gauge readings, including: Obtain the original water level readings displayed on the hull of multiple target vessels within a preset time period; The original water gauge markings of multiple sets are filtered to eliminate abnormal markings; The original water gauge readings after multiple filtering processes are combined to obtain the water gauge readings.
7. The method for identifying the draft of a ship according to claim 6, characterized in that, The filtering process includes: Data smoothing processing is performed on multiple sets of the original water gauge scales.
8. The method for identifying the draft of a ship according to claim 6, characterized in that, The filtering process includes: Time series analysis was performed on multiple sets of the original water gauge readings to exclude those that violated historical trends.
9. A device for identifying the draft of a ship, characterized in that, include: The image acquisition module is used to acquire the draft depth image of the target vessel, wherein the draft depth image is the water gauge scale image of the target vessel. The visual analysis module is used to perform visual analysis on the draft image to obtain the water gauge scale, which includes a main scale and a secondary scale. The draft depth calculation module is used to determine the main draft value and the secondary draft value from the water gauge scale based on the preset value range and preset position characteristics of the water gauge scale. The ship's draft depth is determined based on the main draft scale value and the secondary draft scale value.
10. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the method for identifying the draft of a ship as described in any one of claims 1 to 8.