Over-the-horizon marine ship identification method
Real-time monitoring of maritime ship navigation speed and image processing technology through satellite systems, combined with the improved yolov5 algorithm, solves the problem of ship identification relying on static data and AIS system blind spots in the existing technology, and achieves real-time and accurate monitoring of maritime ships beyond visual range. Identify.
Patent Information
- Application Number
- CN202410653937.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-30
AI Technical Summary
Existing ship identification technology relies on static data, lacks dynamic features, and is easily affected by the quality of manually designed feature sets and the amount of deep learning data. Moreover, the AIS system’s monitoring blind spots and non-real-time position data update issues affect the accuracy of identification results.
Monitor the sailing speed of ships at sea in real time through the satellite system, collect photos of target ships, and use the improved yolov5 algorithm to quickly identify ship types by combining image processing and sailing speed to supplement the monitoring blind spots of the AIS system and achieve real-time monitoring.
Through satellite positioning and image processing technology, real-time identification of maritime ships beyond visual range is achieved, improving identification accuracy, avoiding the impact of artificial design features and data volume, and ensuring the continuity and real-time nature of monitoring coverage.
Smart Images

Figure CN118570658A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of marine ship identification, and in particular to a method for over-the-horizon marine ship identification. Background Art
[0002] With the rapid development of the shipping industry, the number of ships has become larger and the types have increased. Therefore, there are many ways to classify ships. According to the use of ships, ships can usually be divided into: transport ships, engineering ships, fishing ships, port ships, oceanographic survey ships and military ships. According to the different navigation areas, they can be divided into: seagoing ships (coastal, offshore, ocean), harbor ships and inland ships. At present, the implementation methods of image-based ship recognition technology can be divided into two types: ship recognition technology based on machine learning and ship recognition technology based on deep learning.
[0003] Recognition based on machine learning methods is the most studied method. This method is flexible, fast to deploy, easy to train and test, and has low learning and research costs. However, it relies on manually designed features, which not only leads to poor robustness, but also the time complexity of the algorithm cannot be guaranteed.
[0004] The recognition method based on deep learning is mainly a method developed based on convolutional neural networks, which can better extract the boundary and high-level features of ship targets. However, this method has too high requirements on computing devices, storage devices and data sets. For individuals, the learning and research costs are high, and the application is usually deployed in a cloud computing environment.
[0005] Image features are important indicators for ship identification. In ship target detection, the feature selection principle with strong distinguishability, independence and reliability is generally adopted. Image target features include texture features, color features, shape features, spatial relationship features, etc. For ship identification, commonly used features include two categories: color features and shape features. Color features mainly include brightness, grayscale, contrast and color histogram; shape features mainly include edges, center points, regions, local areas, target contours, the closest and farthest distance points from the center to the target boundary, moment features, height, length, perimeter, area, slenderness, major and minor axes, main axis direction, solidity, the angle between the target major axis and the image x-axis, and Hog features.
[0006] In summary, current ship identification is mainly based on some static data or pictures, lacks dynamic features, and is easily affected by the quality of artificially designed feature sets, the complexity of the environment, and the richness of deep learning data, thus affecting the accuracy of the identification results.
[0007] In addition, the AIS system in the existing technology covers a wide range of ships. Currently, any ship with a gross tonnage of more than 500 tons in the world is required to install the AIS system. However, the transmission distance of the signal it transmits is limited, there are monitoring blind spots, and the AIS system does not update the ship's position data continuously, and cannot achieve real-time monitoring. The AIS system refers to the Automatic Identification System, which is a technology used for communication and navigation between ships. Summary of the invention
[0008] The purpose of the present invention is to provide a method for identifying ships at sea beyond visual range, which can supplement the monitoring blind spot of the AIS system through a satellite system, monitor the sailing speed of ships at sea in real time through a satellite positioning system, collect pictures of target ships through satellites, and then quickly identify the type of ship based on image processing and sailing speed.
[0009] The technical solution adopted by the present invention is: A method for over-the-horizon marine ship identification comprises the following steps: The target ship’s type is collected directly through the AIS system or the target ship’s ground speed is collected through satellite, and photos of the target ship are collected through satellite; The trained recognition model is used to identify the type of ship collected from the target ship photos. When the confidence level of the ship type identified through the photo is greater than or equal to the set value, the ship type is directly output; When the confidence of the ship type identified by the photo is less than the set value, if the speed of the target ship is within the speed range of the identified ship type, the identified ship type is considered correct and the identified ship type is output; if the speed of the target ship exceeds the speed range of the identified ship type, the identified ship type is considered incorrect, the target ship photo and ground speed are recollected, and the identification and judgment are re-made.
[0010] If the interval between the own ship A and the target ship B is within the AIS detection range, the own ship A directly collects the ship type of the target ship B through the ship automatic identification system AIS; If the distance between our ship A and the target ship B exceeds the monitoring range of the AIS system or one of the ships is not equipped with an AIS system, the position of the ships is monitored by the satellite positioning system, the positioning information of the ships is collected, and the satellite positioning information of the target ship is used to take photos of the target ship B via satellite, and the positioning information of the two ships is used to calculate the ground speed of the target ship B.
[0011] The ship's positioning information can also be used to calculate the distance between the two ships, the relative speed and relative course of the target ship B relative to the own ship A.
[0012] Preferably, the specific process of calculating the distance between two ships is as follows: first, the longitude and latitude of the two ships are obtained by the positioning system, and the earth is approximated as a complete sphere, with 0° as the dividing line, north latitude is positive, south latitude is negative, east longitude is positive, and west longitude is negative, and the longitude and latitude of the two points are brought into the distance calculation formula between the two points on the spherical surface.
[0013] Preferably, the specific process of calculating the target ship's speed over the ground is: use the Beidou positioning system to obtain the ship's two consecutive positioning longitudes and latitudes, substitute them into the distance calculation formula between two points on the sphere, calculate the distance the ship has moved, and then divide it by the time interval between the two times, and use the two consecutive positioning information to calculate the average speed of the ship in a short period of time. Since the time interval is short, it is used as the instantaneous speed of the target ship B, thereby calculating the target ship B's speed over the ground.
[0014] Preferably, the relative speed of the target ship B relative to the own ship A is calculated: a polar coordinate system is established with the own ship A as the origin and the North Pole as the 0° direction, and then the latitude and longitude information of the own ship A and the target ship B are obtained twice in a row, and the interval distance and azimuth of the target ship B relative to the own ship A are calculated using the distance formula and calculation method, and then the displacement of the target ship B relative to the own ship A is calculated using the cosine theorem based on the difference between the two azimuths, and the relative speed of the target ship B relative to the own ship A can be obtained by dividing the relative displacement by the interval time.
[0015] Preferably, the trained recognition model is used to improve the yolov5 algorithm to identify the ship type of the collected target ship photos; the improved yolov5 algorithm is the ship type obtained after the yolov5 algorithm recognizes the target ship image, and then uses the speed as a parameter to determine whether the ship type meets the speed range of this type of ship.
[0016] Preferably, the specific process of training the recognition model using the images in the data set by improving the yolov5 algorithm is as follows: dividing all the images in the data set into four categories: bulk carriers, container ships, passenger ships, and tankers, and then using data annotation software to annotate the images in the data set as a training set for ships.
[0017] Preferably, the images in the data set come from two parts, one part is the collection of ship images circulated on the Internet; the other part is the capture of ships by using a camera to locate and take pictures.
[0018] Preferably, the confidence level is set to 90%. The beneficial effects of the present invention are: The present invention uses a satellite system to supplement the monitoring blind spots of the AIS system, can monitor the sailing speed of ships at sea in real time through the satellite positioning system, collect pictures of target ships through satellites, and then quickly identify the type of ship based on image processing and sailing speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of a method for over-the-horizon marine ship identification in an embodiment of the present invention; Figure 2 This is a speed calculation process of two ships in an embodiment of the present invention; Figure 3 This is a process for acquiring positioning information of a target ship through a satellite in an embodiment of the present invention; Figure 4 This is the process of identifying the target ship type in the embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0021] In the description of the present invention, it should be understood that if the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like are involved, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0022] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium. It can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0023] Example 1 A method for over-the-horizon marine ship identification, such as Figure 1-4 As shown, the following steps are included: The type of target ship is collected directly through the AIS system, or the ground speed of the target ship is collected through satellite, and the photo of the target ship is collected through satellite; The trained recognition model is used to identify the type of ship collected from the target ship photos. When the confidence level of the ship type identified through the photo is greater than or equal to the set value, the ship type is directly output; When the confidence of the ship type identified by the photo is less than the set value, if the speed of the target ship is in the corresponding ship speed range, the identified ship type is considered correct and the identified ship type is output; if the speed of the target ship exceeds the corresponding ship speed range, the identified ship type is considered incorrect, the target ship photo and ground speed are recollected, and the identification is re-judged until the correct ship type is identified.
[0024] At sea, ships generally sail at cruising speeds, with a speed range that includes higher and lower speeds. Normally, in open sea areas, ships sail at their designed speeds and will not deliberately slow down or speed up on a large scale unless an accident occurs.
[0025] If the distance between the own ship A and the target ship B is within the AIS detection range, the own ship A directly collects the target ship B's ground speed, relative speed and relative heading relative to the own ship A, and the distance between the two ships through the ship automatic identification system AIS; If the distance between our ship A and the target ship B exceeds the AIS monitoring range or one of the ships is not equipped with AIS, the Beidou satellite positioning system is used to monitor the ship positions in real time, the earth is approximated as a sphere, and the distance between the ships is calculated using the distance calculation formula between two points on the spherical surface. The target ship B is photographed by satellite, and the positioning information of the two ships is used to calculate the ground speed of the target ship B and the relative speed and relative heading of the target ship B relative to our ship A.
[0026] Furthermore, the specific process of calculating the distance between the two ships is as follows: first, the longitude and latitude of the two ships are obtained by the Beidou positioning system, and the earth is approximated as a complete sphere, with 0° as the dividing line, north latitude is positive, south latitude is negative, east longitude is positive, and west longitude is negative. The longitude and latitude of the two points are substituted into the distance calculation formula between the two points on the spherical surface (assuming that the point A is at latitude angle β1 and longitude angle α1; point B is at latitude angle β2 and longitude angle α2. Then the distance S=R·arc cos[cosβ1cosβ2cos(α1-α2)+sinβ1sinβ2], where R is the radius of the sphere, the radius of the earth is 6356.9km, and the unit of the calculation result is km, which can be changed according to the situation.).
[0027] Furthermore, satellite photography: after calculating the distance between the two ships according to the first step, the distance between the ships is monitored in real time. According to the situation (the distance between the two ships is less than a certain distance and exceeds the AIS detection range or one of the two ships is not equipped with an AIS system), the Beidou satellite and the positioning longitude and latitude information of the target ship B are used to take satellite photos of the positioning information of the target ship B, and the photos are saved.
[0028] Furthermore, the specific process of calculating the target ship's speed over the ground is as follows: using the Beidou positioning system to obtain the ship's two consecutive positioning longitudes and latitudes, substituting them into the spherical two-point distance calculation formula mentioned in step (1), calculating the ship's moving distance in km, and then dividing it by the time interval between the two times in seconds, using the two consecutive positioning information to calculate the ship's average speed in a short period of time, and because the time interval is short, use it as the instantaneous speed of the target ship B, thereby calculating the target ship B's speed over the ground in km / s.
[0029] Furthermore, the relative speed of the target ship B relative to the own ship A is calculated: a polar coordinate system is established with the own ship A as the origin and the North Pole as the 0° direction, and then the latitude and longitude information of the own ship A and the target ship B are taken twice in a row, and the interval distance and azimuth of the target ship B relative to the own ship A are calculated using the distance formula and calculation method. Then, the displacement of the target ship B relative to the own ship A is calculated using the cosine theorem based on the difference between the two azimuths, and the relative speed of the target ship B relative to the own ship A can be obtained by dividing the relative displacement by the interval time.
[0030] Furthermore, the trained recognition model is used to identify the type of ship on the collected target ship photos by improving the target recognition algorithm of yolov5.
[0031] Furthermore, the specific process of training the recognition model using the images in the dataset by improving the target recognition algorithm of yolov5 is as follows: all the images in the dataset are divided into four categories: bulk carriers, container ships, passenger ships, and tankers. Then, the data annotation software labelimg is used to annotate the images in the dataset as training sets, and an xml file is generated. The python script voc_yolo is used to convert the xml file format into a txt file format.
[0032] According to the different maximum sailing speeds of different types of ships, generally speaking, the sailing speed of container ships is 15 to 28 knots, the sailing speed of bulk carriers is 11 to 17 knots, the sailing speed of passenger ships is 16 to 28 knots, and the sailing speed of tankers is 13 to 19 knots. Based on this, the ground speed of the target ship B is judged.
[0033] The ship type is identified through the ship pictures obtained by Beidou photography. When the confidence level is greater than 90%, the ship type is directly output. When the confidence level is less than 90%, the speed parameter is added to assist in judgment: when the speed is within the corresponding ship speed range, the type is correct; when the speed exceeds the corresponding range, the type is wrong and needs to be re-judged.
[0034] The algorithm has been improved after being trained. After inputting satellite photos and the ground speed of target ship B, it can accurately determine the type of target ship B and other information.
[0035] Furthermore, the images in the dataset come from two parts. One part is to collect pictures of ships circulated on the Internet and convert them into JPEG format; the other part is to capture pictures of ships using cameras.
[0036] Furthermore, the confidence level is set to 90%.
[0037] In order to identify ships more accurately and efficiently, the present invention proposes a ship identification method based on the Beidou system beyond the AIS identification distance. The method flow is as follows: The trained recognition algorithm (5) is used to identify the satellite photo and the target ship's speed over the ground to determine the type of the target ship. Finally, the recognition result and the relative speed and relative heading of the target ship B relative to the own ship A are transmitted to the own ship A through the Beidou short message system to achieve the purpose of identifying the target ship B.
[0038] As a satellite navigation system independently developed by China, the Beidou Navigation Satellite System can provide safe, stable and blind spot-free information services 24 hours a day. As a long-term information exchange platform, the Beidou Satellite System is indispensable in the process of ocean voyages. The Beidou Navigation Satellite System has positioning and navigation functions, precise timing functions, and unique short message communication functions. In other words, the Beidou Navigation Satellite System has positioning and two-way communication functions, so that shore-based bases can easily and quickly obtain ship-related information.
[0039] Working principle of the present invention: The process of the method is as follows: First, the Beidou positioning module monitors the position of the ship in real time, approximates the earth to a sphere, and calculates the distance between the ships using the distance calculation formula between two points on the spherical surface; When the distance between two ships (A and B) is less than a certain distance and beyond the AIS monitoring range or one of the ships is not equipped with an AIS system, the Beidou satellite is used to take satellite photos of the target ship B; Then, the positioning information of the two ships is used to calculate the ground speed of the target ship B and the relative speed and relative heading of the target ship B relative to the own ship A; The trained recognition algorithm is used to identify the satellite photos and the ground speed of the target ship to obtain the type of the target ship. Finally, the recognition result and the relative speed and relative heading of the target ship B relative to the own ship A are transmitted to the own ship A through the Beidou short message system to achieve the purpose of identifying the target ship B.
[0040] Step (1) Calculate the distance between the two ships: First, obtain the longitude and latitude of the two ships from the Beidou positioning system. Approximate the earth as a complete sphere, with 0° as the dividing line. The north latitude is positive, the south latitude is negative, the east longitude is positive, and the west longitude is negative. Substitute the longitude and latitude of the two points into the distance calculation formula between the two points on the spherical surface (assuming that the point A is at latitude angle β1 and longitude angle α1; point B is at latitude angle β2 and longitude angle α2. Then the distance S = R·arc cos[cosβ1cosβ2cos(α1-α2)+sinβ1sinβ2], where R is the radius of the sphere, the radius of the earth is 6356.9 km, and the unit of the calculation result is km, which can be changed according to the situation.) Step (2) Satellite photography: After calculating the distance between the two ships in the first step, the distance between the two ships is monitored in real time. Depending on the situation (the distance between the two ships is less than a certain distance and exceeds the AIS detection range or one of the two ships is not equipped with an AIS system), the Beidou satellite and the positioning longitude and latitude information of the target ship B are used to take satellite photos of the positioning information of the target ship B and save the photos.
[0041] Step (3) Calculate the target ship's speed over the ground: Use the two consecutive positioning longitudes and latitudes obtained by the Beidou positioning system to substitute into the spherical two-point distance calculation formula mentioned in step (1) to calculate the distance the ship has moved in km, and then divide it by the time interval between the two times in seconds. Use the two consecutive positioning information to calculate the average speed of the ship in a short period of time. Since the time interval is short, it is used as the instantaneous speed of the target ship B. In this way, the target ship B's speed over the ground can be calculated in km / s.
[0042] Step (4) Calculate the relative speed of the target ship B relative to the own ship A: Establish a polar coordinate system with the own ship A as the origin and the North Pole as the 0° direction. Then take the latitude and longitude information of two consecutive ships A and B, and use the distance formula and calculation method to calculate the interval distance and azimuth of the two times of ship B relative to ship A. Then, use the cosine theorem to calculate the displacement of ship B relative to ship A based on the difference between the two azimuths. Divide the relative displacement by the interval time to obtain the relative speed of ship B relative to ship A.
[0043] Step (5) Trained recognition algorithm: The target recognition algorithm based on yolov5 is used to train the dataset. The dataset image source consists of two parts: one is to collect ship images circulated on the Internet and convert the format into JPEG format; the other is to use a camera to locate and capture the ship and take pictures, and then divide all the pictures into four categories: bulk carriers, container ships, passenger ships, and tankers. Then, the data annotation software labelimg is used to annotate the ships in the training set in the dataset and generate an XML file. The Python script voc_yolo is used to convert the XML file format into a TXT file format.
[0044] According to the different maximum sailing speeds of different types of ships, generally speaking, the sailing speed of container ships is 15 to 28 knots, the sailing speed of bulk carriers is 11 to 17 knots, the sailing speed of passenger ships is 16 to 28 knots, and the sailing speed of tankers is 13 to 19 knots. Based on this, the ground speed of the target ship B is judged.
[0045] The ship type is identified through the ship pictures obtained by Beidou photography. When the confidence level is greater than 90%, the ship type is directly output. When the confidence level is less than 90%, the speed parameter is added to assist in judgment: when the speed is within the corresponding ship speed range, the type is correct; when the speed exceeds the corresponding range, the type is wrong and needs to be re-judged.
[0046] The algorithm has been improved after being trained. After inputting satellite photos and the ground speed of target ship B, it can accurately determine the type of target ship B and other information.
[0047] In summary, the navigation speed of ships at sea is calculated according to Beidou positioning; a relative polar coordinate system is established to calculate the relative speed and relative direction of the target ship relative to its own ship; the yolov5 algorithm is improved to quickly identify the type of ship based on image processing and navigation speed. In view of the limited transmission distance of the signal emitted by the AIS system and the lack of monitoring blind spots, the present invention adopts the Beidou navigation satellite system to supplement the monitoring blind spots of the AIS system. As a satellite navigation system independently developed by China, it can provide safe, stable, and blind spot-free information services 24 hours a day; the AIS system does not update the ship position data continuously, and real-time monitoring cannot be achieved. The present invention adopts the Beidou navigation satellite system positioning and navigation function, precise timing function, and unique short message communication function to continuously update the ship position data. The present invention is not easily affected by the quality of the artificially designed feature set, the complexity of the environment, and the richness of the deep learning data volume. The present invention proposes a method for quickly identifying the type of ship by image processing and navigation speed.
[0048] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0049] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.
Claims
1. A method for over-the-horizon marine ship identification, characterized in that: The following steps are involved: The type of target vessel is collected directly through the AIS system, or the ground speed of the target vessel and the photo of the target vessel are collected through satellite; The trained recognition model is used to identify the type of ship collected from the target ship photos. When the confidence level of the ship type identified through the photo is greater than or equal to the set value, the ship type is directly output; When the confidence of the ship type identified by the photo is less than the set value, if the speed of the target ship is within the speed range of the identified ship type, the identified ship type is considered correct and the identified ship type is output; if the speed of the target ship exceeds the speed range of the identified ship type, the identified ship type is considered incorrect, the target ship photo and ground speed are recollected, and the identification and judgment are re-made.
2. The method for over-the-horizon marine ship identification according to claim 1, characterized in that: If the interval between the own ship (A) and the target ship (B) is within the detection range of the AIS system, the ship type of the target ship (B) is directly collected through the AIS system; If the interval between the own ship (A) and the target ship (B) exceeds the monitoring range of the AIS system or one of the ships is not equipped with an AIS system, the position of the ship is monitored by the satellite positioning system, the positioning information of the ship is collected, and the satellite positioning information of the target ship is used to take a photo of the target ship (B) via satellite, and the ground speed of the target ship (B) is calculated using the positioning information of the ship.
3. The over-the-horizon marine ship identification method according to claim 2, characterized in that: The ship's positioning information is also used to calculate the distance between the two ships, the relative speed and relative heading of the target ship (B) relative to the own ship (A).
4. The method for over-the-horizon marine ship identification according to claim 3, characterized in that: The specific process of calculating the distance between two ships is as follows: first, the longitude and latitude of the two ships are obtained by the positioning system, and the earth is approximated as a complete sphere, with 0° as the dividing line, north latitude is positive, south latitude is negative, east longitude is positive, and west longitude is negative. The longitude and latitude of the two points are substituted into the distance calculation formula between the two points on the spherical surface.
5. The over-the-horizon marine ship identification method according to claim 2, characterized in that: The specific process of calculating the target ship's speed over the ground is as follows: use the satellite positioning system to obtain the target ship's two consecutive positioning longitudes and latitudes, substitute them into the distance calculation formula between two points on the sphere, calculate the distance the target ship has moved, and then divide it by the time interval between the two times. Use the two consecutive positioning information to calculate the average speed of the ship in a short period of time. Since the time interval is short, use it as the instantaneous speed of the target ship (B), and thus the target ship's (B) speed over the ground can be calculated.
6. The method for over-the-horizon marine ship identification according to claim 3, characterized in that: Calculate the relative speed of the target ship (B) relative to the own ship (A): establish a polar coordinate system with the own ship (A) as the origin and the North Pole as 0°, then take the latitude and longitude information of the own ship (A) and the target ship (B) twice in a row, use the distance formula and calculation method to calculate the interval distance and azimuth of the target ship (B) relative to the own ship (A), then use the cosine theorem to calculate the displacement of the target ship (B) relative to the own ship (A) based on the difference between the two azimuths, and divide the relative displacement by the interval time to get the relative speed of the target ship (B) relative to the own ship (A).
7. The over-the-horizon marine ship identification method according to claim 1, characterized in that: The trained recognition model is used to improve the yolov5 algorithm to identify the ship type of the collected target ship photos.
8. The over-the-horizon marine ship identification method according to claim 7, characterized in that: The specific process of training the recognition model using the images in the dataset by improving the yolov5 algorithm is as follows: all the images in the dataset are divided into four categories: bulk carriers, container ships, passenger ships, and tankers, and then the images in the dataset used as training sets are annotated with ships using data annotation software.
9. The over-the-horizon marine ship identification method according to claim 8, characterized in that: The images in the dataset come from two parts: one is the collection of ship images circulated on the Internet; the other is the use of cameras to locate and capture ships for photography.
10. The over-the-horizon marine ship identification method according to claim 1, characterized in that: The confidence level was set to 90%.
