Ship berthing and departing method and system based on machine vision

Machine vision technology is used to monitor the ship and terminal environment in real time, generate and dynamically adjust berthing and berthing paths, solving the problems of low precision and high risk in traditional berthing and berthing operations, and improving safety and efficiency.

CN118587663AInactive Publication Date: 2024-09-03SUZHOU HAIYUN STAR INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410686730.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional ship berthing and unberthing operations have low precision and high risks, and are easily affected by weather, sea conditions and human factors.

Method used

Using a method based on machine vision, visual sensors collect ship structure and terminal environment information, monitor and identify key berthing and unberthing information in real time, activate the navigation path planning module to generate an initial path, and make dynamic adjustments according to real-time environmental changes.

Benefits of technology

It improves the safety and efficiency of berthing and berthing operations, and reduces the impact of human errors and environmental factors by monitoring ship position, attitude and speed in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587663A
    Figure CN118587663A
Patent Text Reader

Abstract

The invention discloses a ship berthing and unberthing method and system based on machine vision, and relates to the technical field of ship berthing and unberthing, and the method comprises the steps: collecting target ship structure information and wharf environment information, and laying a visual sensor module based on the target ship structure information and the wharf environment information; acquiring a real-time berthing and leaving state image by using a visual sensor module; performing image recognition processing based on the real-time berthing and leaving state image to obtain key berthing and leaving information of the target ship; activating a navigation path planning module, and performing berthing and leaving path planning according to the key berthing and leaving information to obtain an initial navigation path; and carrying out berthing and leaving operation according to the initial navigation path, and carrying out dynamic adjustment on the navigation path according to the real-time environment change information. According to the invention, the technical problems of low precision and high risk of berthing and unberthing operation in the prior art are solved, and the technical effect of improving the safety and efficiency of berthing and unberthing operation is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ship berthing and unberthing, and in particular to a ship berthing and unberthing method and system based on machine vision. Background Art

[0002] With the continuous growth of global trade and the continuous development of ocean transportation, the berthing and unberthing operations of ships have become a vital part of port logistics. However, with the continuous increase in the size of ships and the increasing busyness of port traffic, the safety and efficiency issues of berthing and unberthing operations have become increasingly prominent. Traditional berthing and unberthing operations mainly rely on visual observation and manual control by the crew. This method is not only low in precision and high in risk, but also easily affected by weather, sea conditions and human factors. Summary of the invention

[0003] The present application provides a method and system for ship berthing and unberthing based on machine vision, which is used to solve the technical problems of low precision and high risk in berthing and unberthing operations in the prior art.

[0004] In view of the above problems, the present application provides a ship berthing and unberthing method and system based on machine vision.

[0005] In a first aspect of the present application, a method for berthing and unberthing a ship based on machine vision is provided, the method comprising: Collect target ship structure information and dock environment information, and deploy visual sensor modules based on the target ship structure information and dock environment information; use the visual sensor module to obtain real-time berthing and unberthing status images; perform image recognition processing based on the real-time berthing and unberthing status images to obtain key berthing and unberthing information of the target ship; activate the navigation path planning module, perform berthing and unberthing path planning according to the key berthing and unberthing information, and obtain an initial navigation path; perform berthing and unberthing operations according to the initial navigation path, and dynamically adjust the navigation path according to real-time environmental change information.

[0006] The second aspect of the present application provides a ship berthing and unberthing system based on machine vision, the system comprising: A visual sensor module deployment unit, wherein the visual sensor module deployment unit collects target ship structure information and dock environment information, and deploys visual sensor modules based on the target ship structure information and dock environment information; a real-time berthing and unberthing state image acquisition unit, wherein the real-time berthing and unberthing state image acquisition unit uses the visual sensor module to acquire a real-time berthing and unberthing state image; a key berthing and unberthing information acquisition unit, wherein the key berthing and unberthing information acquisition unit performs image recognition processing based on the real-time berthing and unberthing state image to acquire key berthing and unberthing information of the target ship; an initial navigation path acquisition unit, wherein the initial navigation path acquisition unit activates a navigation path planning module, performs berthing and unberthing path planning according to the key berthing and unberthing information, and obtains an initial navigation path; a navigation path adjustment unit, wherein the navigation path adjustment unit performs berthing and unberthing operations according to the initial navigation path, and dynamically adjusts the navigation path according to real-time environmental change information.

[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages: The present application collects target ship structure information and dock environment information, and deploys visual sensor modules based on the target ship structure information and dock environment information; uses the visual sensor module to obtain real-time berthing and unberthing status images; performs image recognition processing based on the real-time berthing and unberthing status images to obtain key berthing and unberthing information of the target ship; activates the navigation path planning module, performs berthing and unberthing path planning based on the key berthing and unberthing information, and obtains the initial navigation path; performs berthing and unberthing operations based on the initial navigation path, and dynamically adjusts the navigation path based on real-time environmental change information. The present invention solves the technical problems of low precision and high risk in berthing and unberthing operations in the prior art, and achieves the technical effect of improving the safety and efficiency of berthing and unberthing operations by real-time monitoring of the ship's position, posture and speed through machine vision technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0009] Figure 1 A schematic flow chart of a method for berthing and unberthing a ship based on machine vision provided in an embodiment of the present application.

[0010] Figure 2 A schematic diagram of the structure of a ship berthing and unberthing system based on machine vision provided in an embodiment of the present application.

[0011] Explanation of the reference numerals: visual sensor module deployment unit 11 , real-time berthing and unberthing status image acquisition unit 12 , key berthing and unberthing information acquisition unit 13 , initial navigation path acquisition unit 14 , navigation path adjustment unit 15 . DETAILED DESCRIPTION

[0012] The present application provides a ship berthing and unberthing method and system based on machine vision, aiming to solve the technical problems of low precision and high risk in the existing berthing and unberthing operations. Through machine vision technology, real-time monitoring of the ship's position, posture and speed is achieved, thereby achieving the technical effect of improving the safety and efficiency of berthing and unberthing operations.

[0013] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0014] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or inherent to these processes, methods, products or devices.

[0015] Embodiment 1 like Figure 1 As shown, the present application provides a method for ship berthing and unberthing based on machine vision, the method comprising: Step S100: collecting target ship structure information and dock environment information, and deploying visual sensor modules based on the target ship structure information and dock environment information.

[0016] In the embodiment of the present application, the size, shape and special structure of the target ship are first obtained from the design drawings of the ship to determine the structural information of the target ship.

[0017] Next, the terminal environment information is obtained through the terminal design drawings. The terminal environment information includes the layout of the terminal, the location and size of the berth, the surrounding buildings or facilities, lighting conditions, hydrological conditions, etc.

[0018] Based on the collected target ship structure information and dock environment information, select suitable visual sensors, such as high-definition cameras, and ensure that they have waterproof and dustproof properties. The installation location should be able to fully observe the interaction between the ship and the dock, such as installing it at a high place on the dock or at a key part of the ship. After determining the sensor installation location, complete the layout of the visual sensor module.

[0019] Step S200: using the visual sensor module to obtain real-time docking and undocking status images.

[0020] In the embodiment of the present application, before the ship performs berthing and unberthing operations, ensure that the visual sensor module has been correctly installed and started. Check the device connection status to ensure that the data transmission is stable and correct.

[0021] According to the specific environment and needs of the ship's berthing and unberthing, set appropriate image acquisition parameters. For example, the resolution can be set to 1080P or higher to ensure image clarity; the frame rate can be set to 30fps or higher to ensure image smoothness. Adjust the camera's focal length, exposure time and other parameters to meet the image acquisition needs under different lighting conditions.

[0022] When the ship starts berthing and unberthing operations, the visual sensor module captures the berthing and unberthing status in real time and obtains real-time berthing and unberthing status images.

[0023] Step S300: performing image recognition processing based on the real-time berthing and unberthing status image to obtain key berthing and unberthing information of the target ship; In the embodiment of the present application, when performing image recognition processing, median filtering, Gaussian filtering and other technologies are used to eliminate noise in the image caused by factors such as equipment and environment, and improve image quality. Histogram equalization and other methods are applied to improve the contrast and brightness of the image to ensure that the image details are clearer and more visible. Edge detection algorithms such as the Canny algorithm are used to locate the edges of target objects in the image.

[0024] Use image segmentation techniques, such as threshold segmentation or region growing, to segment key elements such as ships and docks in the image. Extract the features of the segmented area, such as shape, size, and position. Then identify the ship target in the image through template matching. Determine the specific location of the ship in the image, as well as possible posture information, such as the direction of the bow.

[0025] Finally, according to the identified ship targets, key berthing and departure information is extracted. Key berthing and departure information includes the ship's real-time position, heading, speed, and relative distance and angle to the dock.

[0026] Step S400: activating a navigation path planning module, performing berthing and unberthing path planning according to the key berthing and unberthing information, and obtaining an initial navigation path; In the embodiment of the present application, after obtaining the key berthing and unberthing information of the target ship, the navigation path planning module is first activated. The navigation path planning module is a complex software system that can process a large amount of data input and generate a navigation path based on the data.

[0027] The key berthing and unberthing information such as the ship's position, heading, speed and relative position to the dock obtained through image recognition processing are transmitted to the navigation path planning module in real time. According to actual needs, set specific navigation goals, such as safe berthing at a designated berth or smooth unberthing. At the same time, input the constraints that need to be followed during the navigation process, such as avoiding collisions, maintaining a safe distance, and considering environmental factors such as water flow and wind speed.

[0028] According to the navigation objectives and constraints, select the appropriate path planning algorithm, such as A* search algorithm, dynamic programming or other optimization algorithms. The navigation path planning module uses the input berthing information and the set navigation objectives and constraints to perform complex path planning calculations. After calculation, the navigation path planning module outputs the initial navigation path.

[0029] Step S500: performing berthing and unberthing operations according to the initial navigation path, and dynamically adjusting the navigation path according to real-time environmental change information.

[0030] In the embodiment of the present application, the berthing and unberthing operations are performed step by step according to the initial navigation path output by the navigation path planning module, including adjusting the heading, speed and position of the ship to ensure that the ship can travel along the predetermined path.

[0031] During the voyage, the sensors and monitoring systems on the ship collect environmental information in real time, such as water speed, wind direction, visibility, etc., and transmit this information to the navigation path planning module. The navigation path planning module dynamically adjusts the initial navigation path based on the environmental information collected in real time. For example, if strong winds or rapids are encountered, the module may re-plan the path to ensure the safety of the ship.

[0032] Furthermore, step S300 in the method provided in the application embodiment also includes: Performing image preprocessing on the real-time docking and undocking state images to obtain pre-adjustment state images; Based on the pre-adjusted state image, target recognition is performed to obtain multiple key targets; The berthing and unberthing information is extracted according to the multiple key targets to obtain key berthing and unberthing information, wherein the key berthing and unberthing information includes target ship status information, target berth information and environmental obstacle status information.

[0033] In the embodiment of the present application, image preprocessing is performed on the real-time docking and undocking state images. Perform necessary corrections on the acquired original image, such as lens distortion correction, color balance adjustment, etc., to ensure the accuracy and consistency of the image. Use filtering techniques, such as Gaussian filtering and median filtering, to remove noise in the image and improve image quality. Enhance the contrast and brightness of the image through histogram equalization, contrast stretching, etc., to make the image details clearer. Crop unnecessary parts of the image as needed, and adjust the image size to accommodate subsequent processing. After the above preprocessing steps, obtain the pre-adjusted state image.

[0034] Extract key features from images using edge detection, corner detection and other methods. Extract local features using algorithms such as SIFT and SURF. Apply deep learning models such as convolutional neural networks to detect and identify ships, berths and obstacles in images. Use object detection algorithms such as YOLO and SSD to identify multiple objects in images.

[0035] When using convolutional neural networks to detect and identify ships, berths, and obstacles in images, first build a labeled dataset containing images of various types of targets such as ships, berths, and environmental obstacles. This data is accurately labeled to indicate the location of each target in the image. Use the prepared dataset to train the model. Use the backpropagation algorithm and gradient descent optimizer to adjust the parameters of the model to minimize the difference between the predicted value and the true value. Input the image to be detected into the trained model, and the model will output the category and location information of each target.

[0036] Next, the berthing and unberthing information is extracted based on multiple key targets to obtain key berthing and unberthing information, which includes target ship status information, target berth information and environmental obstacle status information. The target ship status information includes the ship's position, heading, speed, size and other status information. The target berth information includes the berth's position, size, shape and other information. The environmental obstacle status information includes environmental obstacles in the image, such as other ships, dock facilities, buoys, etc., as well as their position, shape, size and other information.

[0037] Furthermore, based on the pre-adjusted state image, target recognition is performed to obtain multiple key targets, and the method further includes: Performing image enhancement processing on the pre-adjusted state image to obtain an enhanced image collection; Collect multiple samples and feature image sets, and build a target recognition model based on machine learning training; According to the target recognition model, the enhanced image collection is recognized and processed to obtain multiple key targets, wherein the multiple key targets include a target ship, a target berth and environmental obstacles.

[0038] In the embodiment of the present application, for the pre-adjusted state image, multiple image enhancement technologies are selected, such as contrast stretching, histogram equalization, noise reduction, etc., to improve the visual effect and feature clarity of the image. According to the specific situation and needs of the image, the parameters of the enhancement algorithm are adjusted to obtain the best image quality. The enhanced image is saved to form an enhanced image collection.

[0039] Next, a large number of image samples containing ships, berths, and environmental obstacles are collected to form a diverse feature image set. The collected images are preprocessed as necessary, such as cropping and scaling, to ensure that the objects in each image are accurately labeled. A suitable machine learning algorithm is selected to train the target recognition model. In this application, a convolutional neural network is used to train the selected machine learning model with labeled sample data sets. The model performance is optimized by adjusting model parameters and using techniques such as cross-validation.

[0040] The trained target recognition model is applied to the enhanced image collection to perform recognition processing on each image. The model identifies multiple key targets in the image, including target ships, target berths, and environmental obstacles.

[0041] Further, berthing and unberthing information is extracted according to the multiple key targets to obtain key berthing and unberthing information, wherein the key berthing and unberthing information includes target ship status information, target berth information and environmental obstacle status information. The method further includes: Based on the multiple key targets, obtain key features and real-time status information of the target ship; Calculate and obtain target ship status information based on the key features and real-time status information, where the target ship status information includes ship position, navigation speed, and steering capability; Based on the multiple key targets, acquiring target berth information, the target berth information including the size and position of the target berth; Based on the multiple key targets, multiple environmental obstacle status information is obtained, including obstacle type, position, and speed information.

[0042] In the embodiment of the present application, a convolutional neural network model is used to extract features from ship images to identify key features such as ship type and hull color. The image segmentation technology is used to accurately identify the outline and size of the hull. The optical flow method or feature point tracking algorithm is used to analyze continuous image frames and monitor the ship's navigation direction and speed in real time. Combined with radar or AIS data, more accurate real-time status information of the ship is obtained.

[0043] Combine image recognition and GIS technology to map the ship's position in the image to the actual geographic coordinates. Use multi-sensor fusion technology to improve positioning accuracy. Analyze the displacement of the ship in the image sequence to accurately calculate the sailing speed. It can also combine radar speed measurement and other data to perform multi-source information fusion to obtain a more accurate speed. Analyze the rate of change of the ship's heading in continuous images to evaluate the flexibility and stability of steering.

[0044] Use image segmentation and edge detection technology to accurately measure the length and width of the berth. Combine laser scanners or drone measurement technology to obtain berth dimension data. Similar to the ship position determination method, combine image recognition and GIS technology to locate the target berth position.

[0045] Use deep learning classification models to identify the types of obstacles, such as buoys, ships, reefs, etc. Combine shape analysis and texture recognition technology to improve the accuracy of obstacle type recognition. For dynamic obstacles, use methods similar to ship tracking to determine their position and speed. For static obstacles, rely on image recognition and positioning technology to determine their precise location.

[0046] Furthermore, step S400 in the method provided in the application embodiment also includes: Activate a navigation path planning module to plan berthing and unberthing paths, wherein the navigation path planning module includes a path generation unit and a path optimization unit; According to the path generation unit, navigation environment modeling is performed in combination with the key berthing and unberthing information to obtain a navigation environment model; According to the navigation environment model, navigation path planning is performed to generate multiple alternative navigation paths; According to the path optimization unit, the plurality of candidate navigation paths are optimized to obtain an initial navigation path.

[0047] In the embodiment of the present application, the navigation path planning module is first activated, and this module includes a path generation unit and a path optimization unit.

[0048] The path generation unit collects key berthing and unberthing information, including but not limited to the ship's status, berth details, and surrounding environmental obstacles. Using the collected information, the unit constructs a digital navigation environment model. This model accurately reflects the actual conditions of key elements such as berths, waterways, obstacles, etc. Based on the navigation environment model, the path generation unit will preliminarily plan several possible navigation paths. These paths will avoid obstacles and take into account the ship's navigation capabilities and the location and size of the berth.

[0049] The path optimization unit receives multiple alternative navigation paths output by the path generation unit and evaluates them. The evaluation criteria include the safety, efficiency, and difficulty of ship operation. Based on the evaluation, the path optimization unit uses optimization algorithms, such as genetic algorithms and ant colony algorithms, to find the optimal navigation path, i.e., the initial navigation path.

[0050] Furthermore, according to the path optimization unit, optimizing the multiple candidate navigation paths to obtain an initial navigation path, the method further includes: Taking path length, number of turns, and avoiding specific obstacles as optimization conditions, a path optimization function is constructed; Based on the path optimization function, respectively calculating the navigation suitability of the multiple candidate navigation paths to obtain multiple path suitability; The multiple path fitness degrees are used to obtain an initial navigation path through a global optimization algorithm.

[0051] In the embodiment of the present application, the path optimization function takes the path length, the number of turns and the avoidance of specific obstacles as the cruising conditions. This function will calculate a fitness score for each alternative navigation path.

[0052] The path optimization function is defined as ,in is the fitness score of the path, is the length of the path, obtained by calculating the sum of the distances between all adjacent points on the path. is the number of turns on the path. It is the degree to which a path is close to a particular obstacle and is determined by calculating the distance from each point on the path to the nearest obstacle. , , is the weight coefficient, which is used to balance the importance of different optimization conditions.

[0053] For each candidate navigation path, the above path optimization function is used to calculate its fitness. After obtaining the fitness of multiple candidate navigation paths, a global optimization algorithm, such as genetic algorithm, simulated annealing algorithm, particle swarm optimization algorithm, etc., is used to find the path with the best fitness. These algorithms are used to search for the optimal solution in the entire solution space.

[0054] When optimizing, set the initial parameters of the algorithm, such as population size, mutation rate, crossover rate, etc. Use the path optimization function to evaluate the fitness of each candidate path. Select the best path to enter the next generation based on the fitness. Crossover and mutation are performed on the selected path to generate a new path. Repeat the above steps until the termination condition is met, such as reaching the preset number of iterations or fitness threshold. Finally, select the path with the best fitness as the initial navigation path.

[0055] Furthermore, step S500 in the method provided in the application embodiment also includes: Perform berthing and unberthing operations according to the initial navigation path, and perform real-time environmental change monitoring to obtain real-time environmental change information; An environmental change assessment is performed for the real-time environmental change information in combination with an environmental change threshold. If the real-time environmental change information does not meet the environmental change threshold, a path is dynamically adjusted based on the navigation path planning module, and berthing and unberthing operations are performed based on the updated path.

[0056] In the embodiment of the present application, the ship performs berthing and unberthing operations according to the initial navigation path. During this period, the navigation system and autopilot on the ship will guide the ship to sail along the predetermined path. During the navigation process, the ship uses various sensors such as radar, AIS, wind speed and direction instrument, water depth detector, etc. to continuously monitor changes in the surrounding environment. These changes include changes in weather conditions, the dynamics of other ships, changes in the water depth of the water area, the movement of obstacles, etc.

[0057] The data collected by the sensors will be transmitted to the ship's control system in real time. After processing and analysis, real-time environmental change information will be formed. The system compares this real-time information with the preset environmental change thresholds. These thresholds are set according to the ship's safe navigation requirements and environmental conditions, such as minimum safe distance, maximum wind speed, maximum water flow speed, etc. If the real-time environmental change information exceeds or falls below the preset threshold, it indicates that the current environment may not be conducive to continuing navigation along the initial navigation path. At this time, the navigation path planning module will be reactivated to dynamically adjust the path according to the latest environmental change information.

[0058] The path generation unit will re-analyze the navigation environment, taking into account new obstacle locations, hydrological and meteorological conditions, and generate new alternative navigation paths. The path optimization unit will select the best path from the new alternative paths based on the current navigation needs and environmental conditions. Once the updated navigation path is obtained, the ship will adjust its navigation plan and perform berthing and unberthing operations according to the new path.

[0059] In the embodiments of the present application, in summary, the embodiments of the present application have at least the following technical effects: The present application collects target ship structure information and dock environment information, and deploys visual sensor modules based on the target ship structure information and dock environment information; uses the visual sensor module to obtain real-time berthing and unberthing status images; performs image recognition processing based on the real-time berthing and unberthing status images to obtain key berthing and unberthing information of the target ship; activates the navigation path planning module, performs berthing and unberthing path planning based on the key berthing and unberthing information, and obtains the initial navigation path; performs berthing and unberthing operations based on the initial navigation path, and dynamically adjusts the navigation path based on real-time environmental change information. The present invention solves the technical problems of low precision and high risk in berthing and unberthing operations in the prior art, and achieves the technical effect of improving the safety and efficiency of berthing and unberthing operations by real-time monitoring of the ship's position, posture and speed through machine vision technology.

[0060] Embodiment 2 Based on the same inventive concept as the ship berthing and unberthing method based on machine vision in the aforementioned embodiment, Figure 2 As shown, the present application provides a ship berthing and unberthing system based on machine vision, and the system and method embodiments in the present application are based on the same inventive concept. The system includes: A visual sensor module deployment unit 11, wherein the visual sensor module deployment unit 11 collects target ship structure information and dock environment information, and deploys a visual sensor module based on the target ship structure information and dock environment information; A real-time docking and undocking state image acquisition unit 12, wherein the real-time docking and undocking state image acquisition unit 12 uses the visual sensor module to acquire a real-time docking and undocking state image; A key berthing and unberthing information acquisition unit 13, wherein the key berthing and unberthing information acquisition unit 13 performs image recognition processing based on the real-time berthing and unberthing state image to acquire key berthing and unberthing information of the target ship; An initial navigation path acquisition unit 14, wherein the initial navigation path acquisition unit 14 activates a navigation path planning module, performs berthing and unberthing path planning according to the key berthing and unberthing information, and obtains an initial navigation path; The navigation path adjustment unit 15 performs berthing and unberthing operations according to the initial navigation path, and dynamically adjusts the navigation path according to real-time environmental change information.

[0061] Furthermore, the system is also used to implement the following functions: Performing image preprocessing on the real-time docking and undocking state images to obtain pre-adjustment state images; Based on the pre-adjusted state image, target recognition is performed to obtain multiple key targets; The berthing and unberthing information is extracted according to the multiple key targets to obtain key berthing and unberthing information, wherein the key berthing and unberthing information includes target ship status information, target berth information and environmental obstacle status information.

[0062] Furthermore, the system is also used to implement the following functions: Performing image enhancement processing on the pre-adjusted state image to obtain an enhanced image collection; Collect multiple samples and feature image sets, and build a target recognition model based on machine learning training; According to the target recognition model, the enhanced image collection is recognized and processed to obtain multiple key targets, wherein the multiple key targets include a target ship, a target berth and environmental obstacles.

[0063] Furthermore, the system is also used to implement the following functions: Based on the multiple key targets, obtain key features and real-time status information of the target ship; Calculate and obtain target ship status information based on the key features and real-time status information, where the target ship status information includes ship position, navigation speed, and steering capability; Based on the multiple key targets, acquiring target berth information, the target berth information including the size and position of the target berth; Based on the multiple key targets, multiple environmental obstacle status information is obtained, including obstacle type, position, and speed information.

[0064] Furthermore, the system is also used to implement the following functions: Activate a navigation path planning module to plan berthing and unberthing paths, wherein the navigation path planning module includes a path generation unit and a path optimization unit; According to the path generation unit, navigation environment modeling is performed in combination with the key berthing and unberthing information to obtain a navigation environment model; According to the navigation environment model, navigation path planning is performed to generate multiple alternative navigation paths; According to the path optimization unit, the plurality of candidate navigation paths are optimized to obtain an initial navigation path.

[0065] Furthermore, the system is also used to implement the following functions: Taking path length, number of turns, and avoiding specific obstacles as optimization conditions, a path optimization function is constructed; Based on the path optimization function, respectively calculating the navigation suitability of the multiple candidate navigation paths to obtain multiple path suitability; The multiple path fitness degrees are used to obtain an initial navigation path through a global optimization algorithm.

[0066] Furthermore, the system is also used to implement the following functions: Perform berthing and unberthing operations according to the initial navigation path, and perform real-time environmental change monitoring to obtain real-time environmental change information; An environmental change assessment is performed for the real-time environmental change information in combination with an environmental change threshold. If the real-time environmental change information does not meet the environmental change threshold, a path is dynamically adjusted based on the navigation path planning module, and berthing and unberthing operations are performed based on the updated path.

[0067] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. The processes depicted in the accompanying drawings do not necessarily require the specific order and continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0068] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

[0069] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.

Claims

1. A ship berthing and unberthing method based on machine vision, characterized in that: The method comprises: Collecting target ship structure information and dock environment information, and deploying visual sensor modules based on the target ship structure information and dock environment information; Using the visual sensor module, real-time docking and undocking status images are acquired; Performing image recognition processing based on the real-time berthing and unberthing status image to obtain key berthing and unberthing information of the target ship; Activate the navigation path planning module, perform berthing and unberthing path planning according to the key berthing and unberthing information, and obtain an initial navigation path; The berthing and unberthing operations are performed according to the initial navigation path, and the navigation path is dynamically adjusted according to the real-time environmental change information.

2. The method according to claim 1, performing image recognition processing based on the real-time berthing and unberthing status image to obtain key berthing and unberthing information of the target ship, comprising: Performing image preprocessing on the real-time docking and undocking state images to obtain pre-adjustment state images; Based on the pre-adjusted state image, target recognition is performed to obtain multiple key targets; The berthing and unberthing information is extracted according to the multiple key targets to obtain key berthing and unberthing information, wherein the key berthing and unberthing information includes target ship status information, target berth information and environmental obstacle status information.

3. The method according to claim 2, characterized in that Based on the pre-adjusted state image, target recognition is performed to obtain multiple key targets, including: Performing image enhancement processing on the pre-adjusted state image to obtain an enhanced image collection; Collect multiple samples and feature image sets, and build a target recognition model based on machine learning training; According to the target recognition model, the enhanced image collection is recognized and processed to obtain multiple key targets, wherein the multiple key targets include a target ship, a target berth and environmental obstacles.

4. The method according to claim 2, characterized in that Extracting berthing and unberthing information according to the multiple key targets to obtain key berthing and unberthing information, wherein the key berthing and unberthing information includes target ship status information, target berthing information and environmental obstacle status information, including: Based on the multiple key targets, obtain key features and real-time status information of the target ship; Calculate and obtain target ship status information based on the key features and real-time status information, where the target ship status information includes ship position, navigation speed, and steering capability; Based on the multiple key targets, acquiring target berth information, the target berth information including the size and position of the target berth; Based on the multiple key targets, multiple environmental obstacle status information is obtained, including obstacle type, position, and speed information.

5. The method according to claim 1, characterized in that Activate the navigation path planning module, perform berthing and unberthing path planning according to the key berthing and unberthing information, and obtain an initial navigation path, including: Activate a navigation path planning module to plan berthing and unberthing paths, wherein the navigation path planning module includes a path generation unit and a path optimization unit; According to the path generation unit, navigation environment modeling is performed in combination with the key berthing and unberthing information to obtain a navigation environment model; According to the navigation environment model, navigation path planning is performed to generate multiple alternative navigation paths; According to the path optimization unit, the plurality of candidate navigation paths are optimized to obtain an initial navigation path.

6. The method according to claim 5, characterized in that According to the path optimization unit, optimizing the multiple candidate navigation paths to obtain an initial navigation path includes: Taking path length, number of turns, and avoiding specific obstacles as optimization conditions, a path optimization function is constructed; Based on the path optimization function, respectively calculating the navigation suitability of the multiple candidate navigation paths to obtain multiple path suitability; The multiple path fitness degrees are used to obtain an initial navigation path through a global optimization algorithm.

7. The method according to claim 1, characterized in that Perform berthing and unberthing operations according to the initial navigation path, and dynamically adjust the navigation path according to real-time environmental change information, including: Perform berthing and unberthing operations according to the initial navigation path, and perform real-time environmental change monitoring to obtain real-time environmental change information; An environmental change assessment is performed for the real-time environmental change information in combination with an environmental change threshold. If the real-time environmental change information does not meet the environmental change threshold, a path is dynamically adjusted based on the navigation path planning module, and berthing and unberthing operations are performed based on the updated path.

8. The ship berthing and unberthing system based on machine vision is characterized by: The system comprises: A visual sensor module deployment unit, wherein the visual sensor module deployment unit collects target ship structure information and dock environment information, and deploys visual sensor modules based on the target ship structure information and dock environment information; A real-time docking and undocking state image acquisition unit, wherein the real-time docking and undocking state image acquisition unit uses the visual sensor module to acquire the real-time docking and undocking state image; a key berthing and unberthing information acquisition unit, which performs image recognition processing based on the real-time berthing and unberthing state image to acquire key berthing and unberthing information of the target ship; an initial navigation path acquisition unit, the initial navigation path acquisition unit activating a navigation path planning module, performing berthing and unberthing path planning according to the key berthing and unberthing information, and acquiring an initial navigation path; A navigation path adjustment unit is used to perform berthing and unberthing operations according to the initial navigation path, and to dynamically adjust the navigation path according to real-time environmental change information.

Citation Information

Cited By

  • Ship dynamic berth identification and automatic berthing guiding system and method

    CN119068714A