Attitude prediction methods, devices, terminals and media for cargo ships awaiting unloading

By acquiring and analyzing the attitude videos of unloading ships, extracting attitude images and making predictions, the safety issues caused by changes in the attitude of unloading ships were solved, and the safety of the unloading process was improved.

CN123118741APending Publication Date: 2026-11-17CHONGQING IND POLYTECHNIC COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611009745.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-08
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In the prior art, there is a problem of reduced safety for unloading ships due to changes in their attitude during unloading.

Method used

By acquiring attitude video of the cargo ship to be unloaded, attitude image extraction is performed to determine the current attitude information, and attitude prediction is performed to obtain the predicted attitude information for the next moment, thereby adjusting the attitude to improve safety.

Benefits of technology

It improves safety during the unloading process by predicting and adjusting the attitude of the unloading vessel, thus reducing safety accidents caused by changes in the attitude of the unloading vessel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123118741A_ABST
    Figure CN123118741A_ABST
Patent Text Reader

Abstract

This application relates to the field of image processing, and provides a method, apparatus, terminal, and medium for predicting the attitude of a cargo ship to be unloaded. The method includes: acquiring a first attitude video of the cargo ship to be unloaded; extracting attitude images from the first attitude video to obtain a set of attitude images; determining the current attitude information of the cargo ship to be unloaded based on the set of attitude images; and predicting the attitude based on the current attitude information to obtain the predicted attitude information of the cargo ship at the next moment. Therefore, it is possible to predict the attitude based on the current attitude of the cargo ship to be unloaded and all attitudes within a certain period of time to obtain the predicted attitude at the next moment, so that the predicted attitude can be used for subsequent attitude adjustments, thereby improving the overall safety during the unloading of cargo from the cargo ship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, specifically to a method, device, terminal, and medium for predicting the attitude of a cargo ship to be unloaded. Background Technology

[0002] When a cargo ship needs to unload cargo after entering the port, the existing solution usually involves using a fixed unloader after the ship has docked. However, if fixed parameters are used during this process, changes in the ship's attitude can easily lead to safety accidents, thus reducing overall safety. Summary of the Invention

[0003] This application provides a method, device, terminal, and medium for predicting the attitude of a cargo ship to be unloaded. It can predict the attitude of the cargo ship based on its current attitude and all attitudes within a certain time period, and obtain the predicted attitude for the next moment. The predicted attitude can then be used for subsequent attitude adjustments, thereby improving the overall safety of unloading cargo from the cargo ship.

[0004] A first aspect of this application provides a method for predicting the attitude of a cargo ship to be unloaded, the method comprising:

[0005] Obtain video of the initial posture of the cargo ship awaiting unloading;

[0006] The first posture video is subjected to posture image extraction to obtain a set of posture images;

[0007] The current attitude information of the cargo ship to be unloaded is determined based on the set of attitude images;

[0008] Based on the current attitude information, attitude prediction is performed to obtain the predicted attitude information of the cargo ship to be unloaded at the next moment.

[0009] In one possible implementation, determining the current attitude information of the vessel to be unloaded based on the attitude image set includes:

[0010] Perform pose recognition on the pose images in the pose image set to obtain a first pose information set;

[0011] Determine the second pose information based on the current pose image;

[0012] The third attitude information and the second attitude information in the third attitude information set are used to generate attitude correction information. The third attitude information set is the first attitude information in the target attitude set excluding the attitude information corresponding to the current attitude image.

[0013] The second attitude information is corrected using the attitude correction information to obtain the current attitude information.

[0014] In one possible implementation, generating attitude correction information using third attitude information and second attitude information from a third attitude information set includes:

[0015] Based on the acquisition time of the first posture video, a sequence is constructed using the third posture information set to obtain the first posture sequence;

[0016] Based on the first attitude sequence, attitude prediction is performed to obtain the third attitude information at the current moment;

[0017] The attitude correction information is generated based on the deviation information between the third attitude information and the second attitude information.

[0018] In one possible implementation, the step of performing attitude prediction based on the first attitude sequence to obtain the third attitude information at the current moment includes:

[0019] Construct an attitude change curve based on the first attitude sequence;

[0020] Determine the attitude change rate based on the attitude change curve;

[0021] Attitude prediction is performed based on the attitude change rate and the third attitude information of the previous time step to obtain the third attitude information of the current time step.

[0022] In one possible implementation, generating the attitude correction information based on the deviation information between the third attitude information and the second attitude information includes:

[0023] Based on the deviation information, deviation trend information is generated;

[0024] Attitude correction information is generated based on the deviation trend information.

[0025] A second aspect of this application provides an attitude prediction device for a cargo ship to be unloaded, the device comprising:

[0026] The acquisition unit is used to acquire the first posture video of the cargo ship to be unloaded.

[0027] An extraction unit is used to extract pose images from the first pose video to obtain a set of pose images;

[0028] The determining unit is used to determine the current attitude information of the cargo ship to be unloaded based on the attitude image set;

[0029] The prediction unit is used to predict the attitude based on the current attitude information to obtain the predicted attitude information of the cargo ship to be unloaded at the next moment.

[0030] In one possible implementation, the determining unit is specifically used for:

[0031] Perform pose recognition on the pose images in the pose image set to obtain a first pose information set;

[0032] Determine the second pose information based on the current pose image;

[0033] The third attitude information and the second attitude information in the third attitude information set are used to generate attitude correction information. The third attitude information set is the first attitude information in the target attitude set excluding the attitude information corresponding to the current attitude image.

[0034] The second attitude information is corrected using the attitude correction information to obtain the current attitude information.

[0035] In one possible implementation, regarding the generation of attitude correction information using the third attitude information and the second attitude information from the third attitude information set, the determining unit is specifically configured to:

[0036] Based on the acquisition time of the first posture video, a sequence is constructed using the third posture information set to obtain the first posture sequence;

[0037] Based on the first attitude sequence, attitude prediction is performed to obtain the third attitude information at the current moment;

[0038] The attitude correction information is generated based on the deviation information between the third attitude information and the second attitude information.

[0039] In one possible implementation, in the step of performing attitude prediction based on the first attitude sequence to obtain the third attitude information at the current moment, the determining unit is specifically used for:

[0040] Construct an attitude change curve based on the first attitude sequence;

[0041] Determine the attitude change rate based on the attitude change curve;

[0042] Attitude prediction is performed based on the attitude change rate and the third attitude information of the previous time step to obtain the third attitude information of the current time step.

[0043] In one possible implementation, the determining unit is specifically configured to: generate the attitude correction information based on the deviation information between the third attitude information and the second attitude information;

[0044] Based on the deviation information, deviation trend information is generated;

[0045] Attitude correction information is generated based on the deviation trend information.

[0046] A third aspect of this application provides a terminal including a processor, an input device, an output device, and a memory, wherein the processor, input device, output device, and memory are interconnected, wherein the memory is used to store a computer program, the computer program including program instructions, and the processor is configured to invoke the program instructions to execute the step instructions as described in the first aspect of this application.

[0047] A fourth aspect of this application provides a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first aspect of this application.

[0048] A fifth aspect of this application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of this application. The computer program product may be a software installation package.

[0049] Implementing the embodiments of this application has at least the following beneficial effects:

[0050] By acquiring a first attitude video of the ship to be unloaded, attitude images are extracted from the first attitude video to obtain a set of attitude images. The current attitude information of the ship to be unloaded is determined based on the set of attitude images. Attitude prediction is then performed based on the current attitude information to obtain the predicted attitude information of the ship to be unloaded at the next moment. Therefore, attitude prediction can be performed based on the current attitude of the ship to be unloaded and all attitudes within a certain period of time to obtain the predicted attitude at the next moment. This predicted attitude can then be used for subsequent attitude adjustments, thereby improving the overall safety during the unloading of cargo from the ship to be unloaded. Attached Figure Description

[0051] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0052] Figure 1 This application provides a flowchart illustrating a method for predicting the attitude of a cargo ship to be unloaded.

[0053] Figure 2 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;

[0054] Figure 3 This application provides a schematic diagram of the structure of an attitude prediction device for a cargo ship to be unloaded. Detailed Implementation

[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0056] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0057] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.

[0058] Please see Figure 1 , Figure 1 This application provides a flowchart illustrating a method for predicting the attitude of a cargo ship awaiting unloading, as illustrated in this embodiment. Figure 1 As shown, the method includes:

[0059] 101. Obtain the first posture video of the cargo ship to be unloaded.

[0060] Image acquisition equipment can be used to obtain the initial posture video of the ship to be unloaded. The ship to be unloaded can be understood as a vessel in the port that requires automated unloading. During automated unloading, a ship unloader can be used. During unloading, the unloader's robotic arm needs to determine its working range. Because the ship is docked in the port, its posture is affected by wind, water surface fluctuations, etc., and is usually a dynamic change. Of course, there are special cases with no wind and no water surface fluctuations, in which case the posture change is relatively small. However, as unloading occurs, the weight distribution is disrupted after the cargo is removed, resulting in weight imbalance and causing posture changes. Therefore, it is necessary to identify the posture to adjust the unloader's working range to ensure operational safety.

[0061] The first posture video can be a video of a cargo ship during the unloading process.

[0062] 102. Extract posture images from the first posture video to obtain a set of posture images.

[0063] In the process of extracting pose images, sampling can be performed at a certain sampling period. Compared to using all images in the video for pose prediction, this reduces the overall computational load while maintaining the required accuracy. The sampling period can be set using empirical values ​​or historical data.

[0064] 103. Determine the current attitude information of the cargo ship to be unloaded based on the attitude image set.

[0065] Specifically, when determining the current pose information, pose recognition can be performed on the pose image set, and the recognized pose information can be combined to determine the current pose information.

[0066] 104. Based on the current attitude information, perform attitude prediction to obtain the predicted attitude information of the cargo ship to be unloaded at the next moment.

[0067] Specifically, the current attitude information includes the attitude at the current moment and the attitude change trend. Based on the attitude change trend, attitude change information is generated according to the duration between the current moment and the next moment. This attitude change information is superimposed on the current attitude information to obtain the predicted attitude information.

[0068] Attitude change trends can characterize the speed and direction of attitude changes, allowing for the generation of attitude change information by combining the duration between the current and next moments. The speed of attitude change can be determined using attitude change curves constructed from historical attitudes. This involves calculating the slope of the historical attitude change curve at the current moment, where the slope represents the speed of attitude change, and the tangent direction represents the direction of change. A straight line is then extended along this slope to represent the duration between the current and next moments, yielding the attitude prediction information for the next moment.

[0069] In this example, by acquiring a first posture video of the ship to be unloaded, posture images are extracted from the first posture video to obtain a set of posture images. The current posture information of the ship to be unloaded is determined based on the set of posture images. The posture is then predicted based on the current posture information to obtain the predicted posture information of the ship to be unloaded at the next moment. Therefore, it is possible to predict the posture at the next moment based on the current posture of the ship to be unloaded and all postures within a certain period of time. This predicted posture can then be used for subsequent posture adjustments, thereby improving the overall safety during the unloading of cargo from the ship.

[0070] In one possible implementation, a method for determining the current attitude information of the cargo ship to be unloaded based on the set of attitude images includes:

[0071] A1. Perform attitude recognition on the attitude images in the attitude image set to obtain a first attitude information set;

[0072] A2. Determine the second attitude information based on the current attitude image;

[0073] A3. Generate posture correction information using the third posture information and the second posture information in the third posture information set. The third posture information set is the first posture information in the target posture set excluding the posture information corresponding to the current posture image.

[0074] A4. The second attitude information is corrected using the attitude correction information to obtain the current attitude information.

[0075] One approach is to use a general pose recognition method to obtain the first pose information. Another approach is to determine the second pose information based on the current pose image by identifying the corresponding second pose information from the set of first pose information based on the identifier of the current pose image.

[0076] Specifically, when determining attitude correction information, the following can be considered:

[0077] A31. Based on the acquisition time of the first posture video, a sequence is constructed using the third posture information set to obtain the first posture sequence;

[0078] A32. Based on the first attitude sequence, perform attitude prediction to obtain the third attitude information at the current moment;

[0079] A33. Generate the attitude correction information based on the deviation information between the third attitude information and the second attitude information.

[0080] The acquisition time of the first posture video can be understood as including the start time and segment time of the first posture video, as well as all acquisition moments within that time period.

[0081] Therefore, the first pose sequence can be constructed based on the chronological order of the acquisition times of the pose images corresponding to the third pose information.

[0082] When performing attitude prediction based on the first attitude sequence to obtain the third attitude information at the current moment, the specific steps can be as follows:

[0083] A321. Construct an attitude change curve based on the first attitude sequence;

[0084] A322. Determine the rate of attitude change based on the attitude change curve;

[0085] A323. Based on the attitude change rate and the third attitude information of the previous time, perform attitude prediction to obtain the third attitude information of the current time.

[0086] Specifically, the attitude information in the first attitude sequence can be encoded and quantized. This encoding and quantization process involves superimposing attitude change information onto a reference attitude. The horizontal axis of the attitude change curve can be the time axis, and the vertical axis represents a data point where the reference attitude is superimposed with attitude change information.

[0087] This allows us to differentiate the attitude change curve and obtain the attitude change rate. We then extract the mean of the attitude change rate, average it with the attitude change rate of the previous moment, and obtain the corrected attitude change rate of the previous moment. Finally, we overlay this corrected attitude change rate with the third attitude information from the previous moment to predict the third attitude information of the current moment.

[0088] The deviation information between the third attitude information and the second attitude information can be understood as the degree of deviation and the direction of deviation. Therefore, when generating attitude correction information based on the deviation information, deviation trend information can be generated by combining the degree of deviation and the direction of deviation, and attitude correction information can be generated based on this deviation trend. The deviation trend can include a deviation of half the value of the degree of deviation in the deviation direction, and finally, this deviation trend can be determined as the attitude correction information.

[0089] When using attitude correction information for correction processing, the deviation can be superimposed with half the deviation value in the deviation direction to obtain the current attitude information. By correcting the predicted and currently extracted attitude, the actual attitude information is obtained, thus improving accuracy.

[0090] For examples consistent with the above embodiments, please refer to... Figure 2 , Figure 2 A schematic diagram of a terminal structure provided in an embodiment of this application is shown in the figure. It includes a processor, an input device, an output device, and a memory. The processor, input device, output device, and memory are interconnected. The memory is used to store a computer program, which includes program instructions. The processor is configured to call the program instructions. The program includes instructions for performing the following steps.

[0091] Obtain video of the initial posture of the cargo ship awaiting unloading;

[0092] The first posture video is subjected to posture image extraction to obtain a set of posture images;

[0093] The current attitude information of the cargo ship to be unloaded is determined based on the set of attitude images;

[0094] Based on the current attitude information, attitude prediction is performed to obtain the predicted attitude information of the cargo ship to be unloaded at the next moment.

[0095] The above mainly describes the solutions of the embodiments of this application from the perspective of the method execution process. It is understood that, in order to achieve the above functions, the terminal includes the corresponding hardware structure and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments provided herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0096] This application embodiment can divide the terminal into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0097] For those consistent with the above, please refer to Figure 3 , Figure 3 This application provides a schematic diagram of the attitude prediction device for a cargo ship awaiting unloading, as an embodiment of the present application. Figure 3 As shown, the device includes:

[0098] Acquisition unit 301 is used to acquire the first posture video of the cargo ship to be unloaded;

[0099] Extraction unit 302 is used to extract posture images from the first posture video to obtain a set of posture images;

[0100] The determining unit 303 is used to determine the current attitude information of the cargo ship to be unloaded based on the attitude image set;

[0101] The prediction unit 304 is used to perform attitude prediction based on the current attitude information to obtain the predicted attitude information of the cargo ship to be unloaded at the next moment.

[0102] In one possible implementation, the determining unit 303 is specifically used for:

[0103] Perform pose recognition on the pose images in the pose image set to obtain a first pose information set;

[0104] Determine the second pose information based on the current pose image;

[0105] The third attitude information and the second attitude information in the third attitude information set are used to generate attitude correction information. The third attitude information set is the first attitude information in the target attitude set excluding the attitude information corresponding to the current attitude image.

[0106] The second attitude information is corrected using the attitude correction information to obtain the current attitude information.

[0107] In one possible implementation, in generating attitude correction information using the third attitude information and the second attitude information from the third attitude information set, the determining unit 303 is specifically configured to:

[0108] Based on the acquisition time of the first posture video, a sequence is constructed using the third posture information set to obtain the first posture sequence;

[0109] Based on the first attitude sequence, attitude prediction is performed to obtain the third attitude information at the current moment;

[0110] The attitude correction information is generated based on the deviation information between the third attitude information and the second attitude information.

[0111] In one possible implementation, in the process of performing attitude prediction based on the first attitude sequence to obtain the third attitude information at the current moment, the determining unit 303 is specifically used for:

[0112] Construct an attitude change curve based on the first attitude sequence;

[0113] Determine the attitude change rate based on the attitude change curve;

[0114] Attitude prediction is performed based on the attitude change rate and the third attitude information of the previous time step to obtain the third attitude information of the current time step.

[0115] In one possible implementation, in generating the attitude correction information based on the deviation information between the third attitude information and the second attitude information, the determining unit 303 is specifically configured to:

[0116] Based on the deviation information, deviation trend information is generated;

[0117] Attitude correction information is generated based on the deviation trend information.

[0118] This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the attitude prediction methods for unloading cargo ships described in the above method embodiments.

[0119] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program that causes a computer to perform some or all of the steps of any of the attitude prediction methods for unloading ships described in the above method embodiments.

[0120] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0121] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0122] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

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

[0124] Furthermore, the functional units in the various embodiments of the application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software program module.

[0125] If the integrated unit is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0126] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk, etc.

[0127] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for predicting the attitude of a cargo ship awaiting unloading, characterized in that, The method includes: Obtain video of the initial posture of the cargo ship awaiting unloading; The first posture video is subjected to posture image extraction to obtain a set of posture images; The current attitude information of the cargo ship to be unloaded is determined based on the set of attitude images; Based on the current attitude information, attitude prediction is performed to obtain the predicted attitude information of the cargo ship to be unloaded at the next moment.

2. The attitude prediction method for a cargo ship to be unloaded according to claim 1, characterized in that, Determining the current attitude information of the cargo ship to be unloaded based on the attitude image set includes: Perform pose recognition on the pose images in the pose image set to obtain a first pose information set; Determine the second pose information based on the current pose image; The third attitude information and the second attitude information in the third attitude information set are used to generate attitude correction information. The third attitude information set is the first attitude information in the target attitude set excluding the attitude information corresponding to the current attitude image. The second attitude information is corrected using the attitude correction information to obtain the current attitude information.

3. The attitude prediction method for a cargo ship to be unloaded according to claim 2, characterized in that, The process of generating attitude correction information using third attitude information and second attitude information from a third attitude information set includes: Based on the acquisition time of the first posture video, a sequence is constructed using the third posture information set to obtain the first posture sequence; Based on the first attitude sequence, attitude prediction is performed to obtain the third attitude information at the current moment; The attitude correction information is generated based on the deviation information between the third attitude information and the second attitude information.

4. The attitude prediction method for a cargo ship to be unloaded according to claim 3, characterized in that, The step of performing attitude prediction based on the first attitude sequence to obtain the third attitude information at the current moment includes: Construct an attitude change curve based on the first attitude sequence; Determine the attitude change rate based on the attitude change curve; Attitude prediction is performed based on the attitude change rate and the third attitude information of the previous time step to obtain the third attitude information of the current time step.

5. The attitude prediction method for a cargo ship to be unloaded according to claim 4, characterized in that, The step of generating the attitude correction information based on the deviation information between the third attitude information and the second attitude information includes: Based on the deviation information, deviation trend information is generated; Attitude correction information is generated based on the deviation trend information.

6. An attitude prediction device for a cargo ship awaiting unloading, characterized in that, The device includes: The acquisition unit is used to acquire the first posture video of the cargo ship to be unloaded. An extraction unit is used to extract pose images from the first pose video to obtain a set of pose images; The determining unit is used to determine the current attitude information of the cargo ship to be unloaded based on the attitude image set; The prediction unit is used to predict the attitude based on the current attitude information to obtain the predicted attitude information of the cargo ship to be unloaded at the next moment.

7. The attitude prediction device for a cargo ship to be unloaded according to claim 6, characterized in that, The specific unit is used for: Perform pose recognition on the pose images in the pose image set to obtain a first pose information set; Determine the second pose information based on the current pose image; The third attitude information and the second attitude information in the third attitude information set are used to generate attitude correction information. The third attitude information set is the first attitude information in the target attitude set excluding the attitude information corresponding to the current attitude image. The second attitude information is corrected using the attitude correction information to obtain the current attitude information.

8. The attitude prediction device for a cargo ship to be unloaded according to claim 7, characterized in that, In generating attitude correction information using the third attitude information and the second attitude information from the third attitude information set, the determining unit is specifically used for: Based on the acquisition time of the first posture video, a sequence is constructed using the third posture information set to obtain the first posture sequence; Based on the first attitude sequence, attitude prediction is performed to obtain the third attitude information at the current moment; The attitude correction information is generated based on the deviation information between the third attitude information and the second attitude information.

9. A terminal, characterized in that, The system includes a processor, an input device, an output device, and a memory, which are interconnected. The memory is used to store a computer program, which includes program instructions. The processor is configured to invoke the program instructions to perform the method as described in any one of claims 1-5.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method as described in any one of claims 1-5.