A method for positioning and tracking ship targets using optical images

Through the fine-tuning and data enhancement technology of the Segment Anything model, combined with the user operation interface, the problems of inaccurate data and complex operations in intelligent navigation systems and optical intelligent systems are solved, and high-precision, low-latency ship target positioning and operation are achieved. Tracking, enhanced interactivity and positioning, suitable for complex maritime environments.

CN117455952BActive Publication Date: 2024-10-29JIMEI UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311392468.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2024-10-29
Estimated Expiration
2043-10-25

AI Technical Summary

Technical Problem

Existing intelligent navigation systems and optical intelligent systems have problems in ship navigation such as inaccurate data, complex operations, low equipment utilization, inability to balance algorithm frame rate and accuracy, and inability to implement active input prompt processing and real-time tracking output.

Method used

The pre-trained model Segment Anything is used for fine-tuning, combined with data enhancement technology and adaptive strategies, to achieve high-precision, low-latency ship target positioning and tracking. Target selection and real-time adjustment are performed through the user operation interface to enhance interactivity and positioning.

Benefits of technology

It improves the accuracy and generalization capabilities of ship target positioning and tracking, reduces operational complexity and equipment maintenance costs, achieves real-time processing and adaptive capabilities, and supports high-precision monitoring in a variety of maritime environments.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present invention belongs to the technical field of ship monitoring and management, and discloses a method for positioning and tracking ship targets using optical images. The method comprises the following steps: (1) preparing a pre-trained model based on Segment Anything, and fine-tuning it to make it more suitable for the characteristics of ship optical images; (2) collecting ship optical images through optical monitoring equipment, and displaying them to a user operation interface; (3) the operator selects the target to be positioned and tracked through the user operation interface, and inputs a prompt; (4) the model after fine-tuning step (1) processes the image inputted with the prompt in step (3), and generates a detailed image segmentation result for output; (5) adjusting the image segmentation result of step (4) in real time according to the real-time movement or change of the ship, and tracking the output result in real time. The method of the present invention can achieve high-precision, low-latency target tracking and recognition, and provide strong technical support for ship monitoring and management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of ship monitoring and management, and in particular relates to an optical image ship target positioning and tracking method. Background Art

[0002] With the increasing development of ship navigation technology, the use of intelligent navigation systems is becoming more and more popular. The intelligent navigation system applies cutting-edge information technology to ship navigation to ensure that the captain and crew can receive a large amount of key information related to navigation in real time to improve the accuracy and efficiency of navigation operations. The intelligent navigation system began in the 1990s and has been gradually improved to meet the needs of modern ship navigation. The introduction of such a system does not mean that there are higher requirements for the captain's skills - in order to optimize the efficiency and safety of navigation, the interface is designed to be very simple and easy to operate. Although the technical background of the system is complex, it provides a concise and user-friendly operating experience for users without increasing the complexity of navigation.

[0003] However, since the intelligent navigation system needs to be integrated with a variety of navigation equipment, it is inevitable that there are some shortcomings. For example, the current radar system has the following problems: (1) The radar data is not updated synchronously with the navigation system, which may lead to inaccurate data; (2) The radar scanned images cannot be automatically saved; (3) The save operation on the radar device is separated from the save operation of the system, which increases the operation steps and burden of the operator.

[0004] In addition, since the current optical intelligent system requires complex models, some problems are inevitable. For example, the current optical system has the following problems: (1) The intelligence level of the equipment is low, and the utilization rate of the equipment on the ship is low; (2) The current intelligent algorithm for ships has high hardware requirements; (3) The current optical tracking algorithm frame rate and accuracy cannot be balanced.

[0005] Patent CN 106845372 A discloses a method for detecting and identifying ship targets in satellite-borne remote sensing optical images, comprising the following steps: (1) a preprocessing step: inputting an image to be processed, performing downsampling operation and Gaussian filtering smoothing processing; (2) an invalid information elimination step: inputting a preprocessed image, distinguishing the ocean and land areas in the image; inputting the preprocessed image at the same time, performing edge detection on the image; fusing the image of the separated sea and land areas with the image after edge detection, and eliminating the land and noise points in the fused image; (3) a connected region marking step: based on an image connected domain marking algorithm of equivalent pairs, by scanning the image obtained after step (2) pixel by pixel, determining the connectivity between adjacent pixels, and marking the connected regions in the image in turn, and recording them as candidate targets; (4) a feature extraction step: calculating the main direction of the candidate target and rotating the candidate target, and then extracting the image features of the candidate target; (5) a ship classifier classification step: inputting the image features of the candidate target into the ship classifier, screening out ship targets that meet the ship features, and outputting the coordinate information, ship type and ship ROI slice information of the ship target. The main purpose of this patented technology is to effectively suppress the strong sea clutter and high false alarm rate under the sun, improve the algorithm detection and recognition efficiency, and maintain a high processing efficiency to achieve real-time processing. However, it is a model based only on specific targets or specific categories. It is limited by the data and categories in the model training stage. It cannot perform deep learning and optimization based on the model, and improve the accuracy and generalization ability of the model; at the same time, it cannot actively input prompt processing and track the output results in real time according to the real-time movement or changes of the ship, and fails to reflect the interactivity and real-time positioning and tracking in the process of ship target detection and recognition.

[0006] Patent CN 112101158 A discloses a ship navigation assistance method based on deep learning and visual SLAM, a ship navigation assistance system and method based on deep learning and visual SLAM, combining active sensor (such as radar, visible light camera, thermal imaging camera, etc.) detection and passive sensor (such as AIS, GPS, etc.) detection technology, as well as highly integrated real-time situation and cognitive technology, to perform real-time detection, dynamic tracking, intelligent early warning, and historical backtracking of targets in a specific area, thereby ensuring ship safety and obtaining effective monitoring of ships and targets around ships. This prior art is a fusion ship tracking technology that uses multi-modal multi-device fusion to detect and dynamically track ship targets, and has the disadvantages of high equipment maintenance and installation costs. It is also unable to perform active input prompt processing and track non-target objects on the sea surface such as sea surface buoys, floats, small fishing boats, etc., and fails to reflect interactivity and has slightly weak positioning. Summary of the invention

[0007] In view of the shortcomings and deficiencies of the above existing technologies, the purpose of the present invention is to provide a method for positioning and tracking ship targets using optical images. The method of the present invention uses a pre-trained model, Segment Anything, to achieve high-precision, low-latency target tracking and recognition, providing strong technical support for ship monitoring and management. A set of large model fine-tuning mechanisms and target domain generalization mechanisms for ship target images are constructed to ensure the accuracy of the model and improve the generalization ability of the model. Customized selection of tracking targets is achieved through active input prompt processing, achieving better interactivity and positioning.

[0008] The purpose of the present invention is achieved through the following technical solutions:

[0009] An optical image ship target positioning and tracking method comprises the following steps:

[0010] (1) Prepare a pre-trained model based on Segment Anything and fine-tune it to make it more suitable for the characteristics of ship optical images;

[0011] (2) Collecting optical images of the ship through optical monitoring equipment and displaying them on the user operation interface;

[0012] (3) The operator selects the target to be located and tracked through the user interface and inputs a prompt;

[0013] (4) The fine-tuned model in step (1) processes the prompted image in step (3) and generates a detailed image segmentation result for output;

[0014] (5) adjusting the image segmentation result of step (4) in real time according to the real-time movement or change of the ship, and tracking the output result in real time.

[0015] Furthermore, the fine-tuning steps in step (1) are as follows:

[0016] 1) Obtain optical images of ships under various weather, lighting, angles and background conditions, and clearly mark the outline and position of the ship in each image to obtain a ship image dataset;

[0017] 2) Apply data enhancement techniques to the obtained ship image dataset and perform loss function and optimization;

[0018] 3) Based on the pre-trained model based on Segment Anything, freeze the convolutional layers of the first few layers of the model and fine-tune the subsequent layers. After each round of fine-tuning, use the ship image dataset processed in step 2) for verification and evaluation;

[0019] 4) Based on the verification evaluation result feedback from step 3), continuously adjust the fine-tuning strategy, learning rate and other hyperparameters.

[0020] The above fine-tuning process ensures that the model not only benefits from the knowledge gained from large-scale general image datasets, but is also optimized for specific ship image scenarios, thereby achieving higher positioning and tracking accuracy.

[0021] Furthermore, the steps of collecting the optical image of the ship and displaying it on the user operation interface in step (2) are as follows:

[0022] The optical monitoring equipment collects the optical images of the ship as the original data source of the video, which is connected to the processing hardware through the video access module using the image acquisition card, and the collected images are displayed through the video display device.

[0023] Furthermore, the steps of input prompt processing in step (3) are as follows: after the operator selects a specific area image and provides prompts, the system converts these prompts into a data format that the model can understand through coordinate conversion, normalization, etc., to ensure that the data received by the model is accurate.

[0024] Furthermore, the input prompt in step (3) includes a target frame, a target center point or a non-target point.

[0025] Furthermore, a real-time feedback mechanism is added to the processing of step (3), and the user interface shows the accuracy of the selected target to the operator in real time, helping to correct any potential errors.

[0026] Furthermore, during the processing of step (3), all operator input records will be saved, so that operators can backtrack and modify at any time, making it easier to perform error repair and system iteration.

[0027] Furthermore, during the processing of step (4), based on the input records of the aforementioned operators, the model will regularly perform self-training and optimization to ensure continuous improvement of performance in different scenarios.

[0028] Furthermore, the image segmentation results in steps (4) and (5) are further processed using post-processing techniques such as edge smoothing, morphological operations and denoising to ensure the accuracy and clarity of the segmentation results.

[0029] Furthermore, in the processing of steps (4) and (5), in order to cope with the ship optical images collected from different distances and angles, the system will automatically perform multi-scale processing. In the model fine-tuning stage, the image shearing method is used to ensure the scale consistency of the training image. In the model reasoning stage, the Slide-Window method is used, in which the sliding window covers 25% of the previous sliding window each time, and the window output adopts the Gaussian model output to ensure that satisfactory segmentation results can be obtained under various conditions.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] (1) The optical image ship target positioning and tracking method provided by the present invention can reduce the repetitive work of operators and improve the work efficiency of operators.

[0032] (2) Thanks to the optimized algorithm flow and structure, the present invention can process the optical image of the ship in real time, provide the operator with instant positioning and tracking results, and meet the needs of real-time monitoring of the ship's navigation at sea.

[0033] (3) The present invention can adapt to different ship image features and scenes through fine-tuning strategies to ensure high accuracy in complex marine environments.

[0034] (4) The present invention adopts a pre-training model strategy to reduce training cost and time. At the same time, the design of the present invention ensures that high performance can be achieved on conventional hardware, thereby reducing deployment costs.

[0035] (5) The present invention provides simple operation instructions, such as target frame, target center point and non-target point, so that operators can easily interact with the system without having to deeply understand the technical details behind it. It also supports users to customize the selection of tracking targets, including targets involved in training, and its interactivity and positioning are stronger than the existing technology.

[0036] (6) The present invention is not limited to a specific target or category, and is not limited to tracking ships. It can also track non-target objects such as sea surface buoys, floats, small fishing boats, etc., and has a wider range of applications and stronger generalization capabilities. At the same time, this model uses rich training data. In the Segment Anything pre-training stage, 110 million images and 1 billion target mask data can be used, and the amount of data far exceeds the data set size of the current existing technology. In addition, the present invention has low-cost migration capabilities and can apply new image distributions and new target tasks.

[0037] (7) The present invention relies only on the visible light camera of the ship, which has lower implementation costs and reduces the cost of equipment maintenance and installation. At the same time, the technology that relies only on the visible light camera can achieve the same or higher accuracy as multi-modal multi-device fusion. DETAILED DESCRIPTION

[0038] The present invention is further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.

[0039] Example

[0040] The optical image ship target positioning and tracking method of this embodiment includes the following steps:

[0041] (1) Prepare a pre-trained model based on Segment Anything and fine-tune it to make it more suitable for the characteristics of ship optical images;

[0042] (2) Collecting optical images of the ship through optical monitoring equipment and displaying them on the user operation interface;

[0043] (3) The operator selects the target to be located and tracked through the user interface and inputs a prompt;

[0044] (4) The fine-tuned model in step (1) processes the prompted image in step (3) and generates a detailed image segmentation result for output;

[0045] (5) adjusting the image segmentation result of step (4) in real time according to the real-time movement or change of the ship, and tracking the output result in real time.

[0046] The steps of collecting the optical image of the ship and displaying it on the user operation interface in step (2) are as follows:

[0047] The optical monitoring equipment collects the optical images of the ship as the original data source of the video, which is connected to the processing hardware through the video access module using the image acquisition card, and the collected images are displayed through the video display device.

[0048] The key points of the present invention are model fine-tuning, operator input and model output input image, wherein the main steps of model fine-tuning in step (1) are as follows:

[0049] 1) Ship image dataset preparation: In order to fine-tune the model, a high-quality and sufficient ship image dataset is first required. This includes ship images captured under various weather, lighting, angles, and background conditions. In addition, for better image segmentation, each image needs to be accurately annotated to clearly mark the outline and position of the ship.

[0050] 2) Data augmentation strategy: In order to make the model more robust, we applied a variety of data augmentation techniques to the dataset, such as random rotation, scaling, color jittering, and flipping, etc. These augmentation techniques can help the model learn more ship image features and different environmental changes.

[0051] 3) Loss function selection and optimization: Since the characteristics of ship images are the presence of a large amount of background and a small number of target objects, we selected a specific loss function for image segmentation tasks, such as Dice loss or Focal loss, to ensure that the model can pay more attention to the characteristics of the ship during training.

[0052] 4) Fine-tuning strategy: Using the pre-trained Segment Anything model as a basis, we freeze some layers of the model, such as the first few convolutional layers, and only fine-tune the later layers. In this way, we can retain the basic features learned by the model while ensuring that the model can learn the specific features of ship images during the fine-tuning process.

[0053] 5) Validation and Evaluation: After each round of fine-tuning, we evaluate the performance of the model on a separate validation dataset. This way, we can monitor the progress of the model in real time and ensure that the model achieves optimal performance on the ship image segmentation task.

[0054] 6) Continuous iteration: Based on the feedback from the validation dataset, we will continuously adjust the fine-tuning strategy, learning rate, and other hyperparameters to ensure that the model continues to improve in complex ship scenarios.

[0055] The fine-tuning process ensures that the model not only benefits from the knowledge gained from a large-scale generic image dataset, but is also optimized for specific ship image scenarios, achieving higher localization and tracking accuracy.

[0056] The operator inputs the main steps of step (3) as follows:

[0057] 1) User Interface Design: We used a simple graphical user interface that allows operators to easily select and mark objects in the image. The interface provides basic tools such as zooming in, zooming out, and panning for more precise marking.

[0058] 2) Input prompt processing: When the operator selects a specific area in the image (such as a ship target box) and provides prompts, the system converts these prompts into a data format that the model can understand. This step includes coordinate conversion, normalization and other processing to ensure that the data received by the model is accurate.

[0059] 3) Real-time feedback mechanism: The interface will show operators the accuracy of their selections and annotations in real time, helping them correct any potential errors.

[0060] 4) User input history: In order to facilitate error repair and system iteration, all user input records will be saved so that operators can go back and modify them at any time.

[0061] 5) Adaptive Prompt Suggestions: The system can provide operators with prompt suggestions based on previous input and model predictions, such as possible target boxes or center point locations, thereby speeding up the labeling process.

[0062] 6) Combined through the data flow pipeline, step (3) mainly processes the user input and converts it into a format that the model can recognize, and step (4) mainly processes the model's predicted output and generates detailed image segmentation results. The following are the main steps of the model processing part of step (4):

[0063] 1) Model forward propagation: After receiving the user input prompt provided in step (3), the model starts forward propagation. This involves the calculation of multiple convolutional, pooling, and fully connected layers, and finally obtains a segmented output image in which the ship target is accurately distinguished from the background.

[0064] 2) Post-processing and optimization: The raw output of the model may contain noise or imperfect segmentation. Therefore, we use some post-processing techniques such as edge smoothing, morphological operations and denoising at this stage to ensure the accuracy and clarity of the segmentation results.

[0065] 3) Real-time dynamic adjustment: The system can adjust the segmentation results in real time according to the real-time movement or changes of the ship to ensure continuity and accuracy.

[0066] 4) Model self-optimization: Based on the aforementioned user input history, the model will regularly perform self-training and optimization to ensure continuous improvement in performance in different scenarios.

[0067] 5) Multi-scale processing: In order to cope with ship images captured from different distances and angles, the system will automatically perform multi-scale processing. In the model fine-tuning stage, the image shearing method is used to ensure the consistency of the scale of the training image. In the model reasoning stage, the Slide-Window method is used, in which the sliding window covers 25% of the previous sliding window each time, and the window output uses a Gaussian model output to ensure that satisfactory segmentation results can be obtained under various conditions.

[0068] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A method for positioning and tracking ship targets using optical images. It is characterized in that The steps include: (1) Prepare a pre-trained model based on Segment Anything and fine-tune it to make it more suitable for the characteristics of ship optical images; (2) Collecting optical images of the ship through optical monitoring equipment and displaying them on the user operation interface; (3) The operator selects the target to be located and tracked through the user interface and enters the prompt; (4) The fine-tuned model in step (1) processes the prompted image in step (3) and generates detailed image segmentation results for output; (5) adjusting the image segmentation result of step (4) in real time according to the real-time movement or change of the ship, and tracking the output result in real time; The fine-tuning steps described in step (1) are as follows: 1) Obtain optical images of ships under various weather, lighting, angles and background conditions, and clearly mark the outline and position of the ship in each image to obtain a ship image dataset; 2) Apply data augmentation techniques to the obtained ship image dataset and perform loss function and optimization; 3) Based on the pre-trained model based on Segment Anything, freeze the convolutional layers of the first few layers of the model and fine-tune the subsequent layers. After each round of fine-tuning, use the ship image dataset processed in step 2) for verification and evaluation; 4) Based on the verification evaluation result feedback from step 3), continuously adjust the fine-tuning strategy, learning rate and other hyperparameters.

2. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that The steps of collecting the optical image of the ship and displaying it on the user operation interface in step (2) are as follows: The optical monitoring equipment collects the optical images of the ship as the original data source of the video, which is connected to the processing hardware through the video access module using the image acquisition card, and the collected images are displayed through the video display device.

3. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that The steps of input prompt processing described in step (3) are as follows: after the operator selects a specific area image and provides prompts, the system converts these prompts into a data format that can be understood by the model through coordinate transformation and normalization.

4. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that The input prompt in step (3) includes a target box, a target center point or a non-target point.

5. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that A real-time feedback mechanism is also added to the processing of step (3). The user interface shows the operator the accuracy of the selected target in real time, helping to correct any potential errors.

6. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that During the processing of step (3), all operator input records will be saved.

7. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that During step (4), based on the input records of the above operators, the model will regularly train and optimize itself to ensure continuous improvement in performance in different scenarios.

8. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that The image segmentation results in steps (4) and (5) are further processed using edge smoothing, morphological operations and denoising post-processing techniques to ensure the accuracy and clarity of the segmentation results.

9. The optical image ship target positioning and tracking method according to claim 1, It is characterized in that During the processing of steps (4) and (5), in order to cope with the ship optical images collected from different distances and angles, the system will automatically perform multi-scale processing. In the model fine-tuning stage, the image shearing method is used to ensure the scale consistency of the training image. In the model inference stage, the Slide-Window method is used, in which the sliding window covers 25% of the previous sliding window each time, and the window output uses the Gaussian model output to ensure that satisfactory segmentation results can be obtained under various conditions.

Citation Information

Patent Citations

  • Ship target detection and identification method and system for satellite-borne remote sensing optical image

    CN106845372A

  • Ship navigation auxiliary system and method based on deep learning and visual SLAM

    CN112101158A

  • Electronic monitoring system and electronic monitoring method based on active-passive fusion

    CN106548251A

  • Method for realizing rapid tracking processing of multiple ships based on deep learning target detection technology

    CN111275733A