Loading over-range detection method, device, electronic equipment and storage medium

By projecting the container and cargo to the same coordinate plane, obtaining the coordinates of the non-rectangular view and cargo view, and detecting whether the cargo exceeds the scope of the container, the low space utilization problem caused by regular cuboid simulation in the prior art is solved, and the implementation of the Efficient space utilization of irregular containers.

CN115131269BActive Publication Date: 2024-12-06SF TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110324176.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-26
Publication Date
2024-12-06
Estimated Expiration
2041-03-26

AI Technical Summary

Technical Problem

In the prior art, space simulation with regular cuboids results in low space utilization of the container, and it is impossible to accurately judge the cargo in non-regular containers.

Method used

By projecting the container and the goods to be loaded onto the same coordinate plane, the coordinates of the non-rectangular view and the cargo view are obtained, and whether the goods exceed the loading range of the container is detected, thereby improving the space utilization rate of non-regular containers.

Benefits of technology

On the basis of ensuring the accuracy of over-range detection, the space utilization of non-regular containers is improved, and space waste caused by regular cube modeling is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115131269B_ABST
    Figure CN115131269B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and computer-readable storage medium for detecting over-range loading. The over-range loading detection method includes: obtaining first spatial information of a container and second spatial information of the cargo to be loaded relative to the placement state of the container; obtaining the coordinates of a non-rectangular view of the container projected on a coordinate plane of a preset coordinate system according to the first spatial information, wherein the coordinates of the non-rectangular view include the first coordinates of the contour boundary points of the non-rectangular view; obtaining the coordinates of a cargo view of the cargo to be loaded projected on the coordinate plane according to the second spatial information, wherein the coordinates of the cargo view include the second coordinates of the contour boundary points of the cargo view; detecting whether the cargo to be loaded exceeds the loading range of the container according to the first coordinate and the second coordinate. In the present application, the space utilization rate of irregular containers can be improved on the basis of ensuring the accuracy of over-range detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of cargo stowage, and in particular to a method, device, electronic device and computer-readable storage medium for detecting over-loading. Background Art

[0002] A container (such as a container) is a modern tool for long-distance transportation. It is a standardized transport container. The use of a container greatly improves transportation efficiency. In order to prevent the goods from exceeding the loading range of the container after loading, the prior art uses the container as a regular rectangular parallelepiped to perform spatial simulation to determine whether the goods to be loaded will exceed the loading range of the container, and then loads the goods into the container.

[0003] However, in order to improve space utilization, the container will be designed to fit the contour of the transport entity (such as airline space). At this time, the container will be designed as an irregular three-dimensional body. If the space is simulated with a regular rectangular block, the space utilization of the container will be reduced. Summary of the invention

[0004] The present application provides a method, device, electronic device and computer-readable storage medium for detecting over-load, aiming to solve the problem of low space utilization of the container due to space simulation of the container as a regular rectangular parallelepiped.

[0005] In a first aspect, the present application provides a method for detecting overload range, the method comprising:

[0006] Acquire first spatial information of the container and second spatial information of the cargo to be loaded relative to the container in a placement state;

[0007] According to the first spatial information, coordinates of a non-rectangular view of the container projected on a coordinate plane of a preset coordinate system are acquired, wherein the coordinates of the non-rectangular view include first coordinates of a boundary point of a contour of the non-rectangular view;

[0008] According to the second spatial information, the coordinates of the cargo view projected on the coordinate plane by the cargo to be loaded are acquired, wherein the coordinates of the cargo view include the second coordinates of the outline boundary points of the cargo view;

[0009] According to the first coordinate and the second coordinate, it is detected whether the cargo to be loaded exceeds the loading range of the container.

[0010] In a second aspect, the present application provides a loading out-of-range detection device, the loading out-of-range detection device comprising:

[0011] An acquisition unit, used to acquire first spatial information of the container and second spatial information of the goods to be loaded relative to the container in a placement state;

[0012] The acquisition unit is further used to acquire the coordinates of the non-rectangular view projected by the container on the coordinate plane of the preset coordinate system according to the first spatial information, wherein the coordinates of the non-rectangular view include the first coordinates of the outline boundary point of the non-rectangular view;

[0013] The acquisition unit is further used to acquire the coordinates of the cargo view projected by the cargo to be loaded on the coordinate plane according to the second spatial information, wherein the coordinates of the cargo view include the second coordinates of the outline boundary points of the cargo view;

[0014] The processing unit is used to detect whether the goods to be loaded exceed the loading range of the container according to the first coordinate and the second coordinate.

[0015] In a third aspect, the present application further provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the processor executes the steps of any one of the loading out-of-range detection methods provided in the present application.

[0016] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the steps in the loading out-of-range detection method.

[0017] The present application projects the container and the goods to be loaded onto the same coordinate plane relative to the container in the placed state, obtains the coordinates of the non-rectangular view of the container and the coordinates of the cargo view, and detects whether the goods to be loaded exceed the loading range of the container based on the coordinates of the contour boundary points of the non-rectangular view and the coordinates of the contour boundary points of the cargo view. On the one hand, since whether the contour boundary points of the projected goods to be loaded on the two-dimensional plane are within the contour boundary of the projected container on the two-dimensional plane, it can reflect to a certain extent whether the goods to be loaded exceed the loading range of the container, and realize the detection of whether the goods to be loaded exceed the loading range of the container. On the other hand, by comparing the coordinate relationship between the non-rectangular view of the container and the cargo view, when performing spatial simulation on irregular containers, the space utilization rate of irregular containers can be improved on the basis of ensuring the accuracy of over-range detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 It is a schematic diagram of a scenario of a loading over-range detection system provided in an embodiment of the present application;

[0020] Figure 2 This is a flow chart of a method for detecting overload range provided in an embodiment of the present application;

[0021] Figure 3 is a three-dimensional schematic diagram of an embodiment of a container provided in an embodiment of the present application;

[0022] Figure 4 It is a three-dimensional diagram of another embodiment of the container provided in the embodiments of the present application;

[0023] Figure 5 It is a schematic diagram of an embodiment of a preset three-dimensional rectangular coordinate system provided in the embodiments of the present application;

[0024] Figure 6 is a schematic diagram for explaining the embodiment of the present application which does not include the out-of-range detection of the arc container;

[0025] Figure 7 is a schematic diagram for explaining out-of-range detection of an arc container provided in an embodiment of the present application;

[0026] Figure 8 It is a schematic diagram of the positional relationship between the goods provided in the embodiments of the present application;

[0027] Fig. 9 It is a schematic structural diagram of an embodiment of a loading over-range detection device provided in an embodiment of the present application;

[0028] Fig.10 It is a schematic diagram of the structure of an embodiment of an electronic device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0029] 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, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0030] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0031] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can also be implemented without using these specific details. In other examples, the known process will not be elaborated in detail to avoid unnecessary details that make the description of the present application embodiment obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in accordance with the embodiments of the present application.

[0032] First of all, before introducing the embodiments of the present application, the relevant content about the application background of the embodiments of the present application is introduced.

[0033] In order to prevent the cargo from exceeding the loading range of the container after loading, the prior art uses the container as a regular rectangular parallelepiped to perform spatial simulation to determine whether the cargo to be loaded will exceed the loading range of the container, and then loads the cargo into the container.

[0034] For example, an air container is the smallest unit for loading cargo in air transport, which is divided into containers and pallets. A container is a box that fits the cabin contour of a cargo plane and has a fixed outer contour, while a pallet must also limit the stacking height according to the cabin contour when stacking cargo. Currently, the modeling of cargo loading containers is treated as a regular rectangular block, which has certain shortcomings for air containers.

[0035] First, although the use of a cuboid as an abstract container can efficiently determine whether the cargo loaded into it exceeds its range, it cannot accurately judge the out-of-range situation for aviation containers that adapt to the contours of the aircraft.

[0036] Secondly, the special shape of the aviation container is designed to fit the cabin contour and maximize the use of cabin space. No matter what cuboid-based modeling strategy is used, it will cause a waste of cabin space and cannot reflect the actual loading situation.

[0037] The executor of the loading out-of-range detection method of the embodiment of the present application may be the loading out-of-range detection device provided in the embodiment of the present application, or a server device, a physical host or a user equipment (UE) and other different types of electronic devices integrated with the loading out-of-range detection device, or a loading device, wherein the loading out-of-range detection device may be implemented in hardware or software, and the UE may specifically be a terminal device such as a smart phone, a tablet computer, a laptop computer, a PDA, a desktop computer or a personal digital assistant (PDA).

[0038] The electronic device can adopt a single-operation working mode or a device cluster working mode. By applying the loading out-of-range detection method provided in the embodiment of the present application, there is no need to rely on a rectangular parallelepiped for modeling. On the basis of ensuring the accuracy of out-of-range detection of goods to be loaded, the space utilization rate of irregular containers (such as those with non-right-angle sides, with arc boundary lines, etc.) is improved to a certain extent.

[0039] See also Figure 1 , Figure 1 It is a scene diagram of the loading out-of-range detection system provided in an embodiment of the present application. Among them, the loading out-of-range detection system may include an electronic device 100, and a loading out-of-range detection device is integrated in the electronic device 100. For example, the electronic device can obtain the first spatial information of the container and the second spatial information of the cargo to be loaded relative to the placement state of the container; according to the first spatial information, the coordinates of the non-rectangular view of the container projected on the coordinate plane of the preset coordinate system are obtained, wherein the coordinates of the non-rectangular view include the first coordinates of the contour boundary points of the non-rectangular view; according to the second spatial information, the coordinates of the cargo view of the cargo to be loaded projected on the coordinate plane are obtained, wherein the coordinates of the cargo view include the second coordinates of the contour boundary points of the cargo view; according to the first coordinates and the second coordinates, it is detected whether the cargo to be loaded exceeds the loading range of the container.

[0040] In addition, if Figure 1 As shown, the loading out-of-range detection system may further include a memory 200 for storing data, such as image data and video data.

[0041] It should be noted that Figure 1The scenario diagram of the loading out-of-range detection system shown is merely an example. The loading out-of-range detection system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can know that with the evolution of the loading out-of-range detection system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0042] Next, we will begin to introduce the loading out-of-range detection method provided in the embodiment of the present application. In the embodiment of the present application, the execution subject is an electronic device as an example. For the sake of simplicity and ease of description, the execution subject will be omitted in the subsequent method embodiments.

[0043] It should be noted that although the logical order is shown in the flowchart of the embodiment of the present application, in some cases, the steps shown or described may be performed in a different order than here, for example, step 202 and step 203 may be performed in parallel. Figure 2 , Figure 2 201 to 204, wherein:

[0044] 201. Obtain first spatial information of a container and second spatial information of goods to be loaded in a placement state relative to the container.

[0045] In order to better understand the embodiments of the present application, the inventive concept of the embodiments of the present application is first introduced. Figure 3 and Figure 4 , Figure 3 is a three-dimensional schematic diagram of an embodiment of a container provided in an embodiment of the present application, Figure 4 2 is a three-dimensional schematic diagram of another embodiment of the container provided in the embodiments of the present application. Since the container is not a regular cuboid, on the basis of ensuring the detection accuracy of out-of-range, if the modeling strategy is based on a cuboid, it will cause space waste in the container.

[0046] In an embodiment of the present application, in order to improve the space utilization rate of an irregular container while ensuring the accuracy of out-of-range detection, the irregular main view (i.e., non-rectangular view) of the container is projected onto a two-dimensional plane, and the main view of the goods to be loaded relative to the container is also projected onto the same two-dimensional plane. It is analyzed whether the contour boundary points of the projected goods to be loaded on the two-dimensional plane are within the contour boundary of the projected container on the two-dimensional plane, so as to detect whether the goods to be loaded exceed the loading range of the container.

[0047] The first spatial information may include three-dimensional size information of the container, such as length, width, and height.

[0048] The second spatial information may include three-dimensional size information such as length, width, and height of the goods to be loaded, the loading position relative to the container, the posture to be placed, etc.

[0049] Please refer to Figure 3 and Figure 5 , Figure 5 is a schematic diagram of an embodiment of a preset three-dimensional rectangular coordinate system provided in the embodiments of the present application. Specifically, in some embodiments, the first spatial information and the second spatial information can be reflected by a preset three-dimensional rectangular coordinate system. At this time, the first spatial information can specifically refer to the three-dimensional coordinates of the container in the three-dimensional rectangular system, and the second spatial information can specifically refer to the three-dimensional coordinates of the goods to be loaded in the three-dimensional rectangular system.

[0050] For example, Figure 3 The bottom surface of the container in the normal placement state is rectangular. Figure 3 The upper left corner of the bottom of the container in the normal placement state is the coordinate origin, the direction from the upper left corner of the bottom to the upper right corner of the bottom is the x-axis direction, the direction from the upper left corner of the bottom to the lower left corner of the bottom is the y-axis direction, and the direction from the upper left corner of the bottom to the top surface is the z-axis direction. A three-dimensional rectangular coordinate system is established, such as Figure 5 shown.

[0051] 202. Acquire coordinates of a non-rectangular view of the container projected on a coordinate plane of a preset coordinate system according to the first spatial information, wherein the coordinates of the non-rectangular view include first coordinates of a boundary point of a contour of the non-rectangular view.

[0052] The front view refers to the image of the object projected on the projection surface behind the object when viewed from the front. This projection image is called the front view. In engineering drawing, the orthographic projection of an object on a projection surface is often called a view, and the corresponding projection direction is called the viewing direction, which includes front view, top view, and side view. The front projection, horizontal projection, and side projection are called the front view, top view, and side view, respectively.

[0053] Since the names of views such as the front view, top view, and side view are relative and will change with the change of the placement position, the "view", "main view", etc. described in the embodiments of the present application are only for illustrative purposes and are not intended to limit the view to a certain viewing direction.

[0054] Among them, the non-rectangular view refers to the main view of the container (including the front view, top view, and side view) whose shape is not a rectangle.

[0055] Among them, the coordinate plane of the preset coordinate system refers to the plane formed by the two coordinate axes of the preset coordinate system. In order to simplify the description in this article, the "coordinate plane of the preset coordinate system" is referred to as the "coordinate plane". Unless otherwise specified, the "coordinate plane" described in this article refers to the "coordinate plane of the preset coordinate system".

[0056] Since the three-dimensional coordinates of the container in the three-dimensional rectangular system (i.e., the first spatial information) are known, at this time, the coordinates of the non-rectangular view of the container projected on the coordinate plane of the preset coordinate system can be determined based on the transformation relationship between the three-dimensional rectangular coordinate system and the preset coordinate system.

[0057] In some embodiments, the coordinates of the non-rectangular view refer to the coordinates of each point of the non-rectangular view obtained by projecting the container onto the coordinate plane. At this time, the coordinates of the non-rectangular view include the coordinates of the contour boundary points of the non-rectangular view. That is, the first coordinates refer to the coordinates of the contour boundary points of the non-rectangular view.

[0058] In some embodiments, the coordinates of the non-rectangular view refer to the coordinates of the outline boundary points of the non-rectangular view obtained by projecting the container onto the coordinate plane.

[0059] In one embodiment, the contour boundary points of the non-rectangular view (also referred to herein as "contour boundary points of the container") may refer to the corner points of the non-rectangular view obtained by projecting the container onto the coordinate plane, and in this case, the first coordinates specifically refer to the coordinates of the corner points of the non-rectangular view. In another embodiment, the contour boundary points of the non-rectangular view may refer to the points on the boundary line of the non-rectangular view obtained by projecting the container onto the coordinate plane, and in this case, the first coordinates specifically refer to the coordinates of the points on the boundary line of the non-rectangular view.

[0060] Please refer to Figure 3 and Figure 6 , Figure 4 and Figure 7 In some embodiments, the container can be projected into a preset two-dimensional rectangular coordinate system. For example, Figure 3 The container shown is projected onto the xoy plane of the two-dimensional rectangular coordinate system, and the following is obtained: Figure 6 (b) shows a non-rectangular view and the coordinates of the non-rectangular view. Figure 4 The container shown is projected onto the xoy plane of the two-dimensional rectangular coordinate system, and the following is obtained: Figure 7 (b) shows a non-rectangular view and the coordinates of the non-rectangular view. In order to properly reflect the spatial information of the container, the projection of the container in the preset two-dimensional rectangular coordinate system should be a surface, not a straight line or a point.

[0061] In some embodiments, the container can also be projected onto a plane formed by two coordinate axes of a preset three-dimensional rectangular coordinate system, that is, the preset coordinate system can be a preset three-dimensional rectangular coordinate system. For example, the container can be projected onto the xoy plane of the three-dimensional rectangular coordinate system, or onto the xoz plane of the three-dimensional rectangular coordinate system, or onto the yoz plane of the three-dimensional rectangular coordinate system, as long as the projection of the container on the coordinate plane is a surface, not a straight line or a point.

[0062] Furthermore, in order to better reflect the spatial information of the container, the coordinate plane is parallel to the main view of the container, and the non-rectangular view is obtained by translating the main view of the container onto the coordinate plane; wherein, the shape of the main view of the container is non-rectangular.

[0063] 203. Acquire coordinates of a cargo view projected by the cargo to be loaded on the coordinate plane according to the second spatial information, wherein the coordinates of the cargo view include second coordinates of a contour boundary point of the cargo view.

[0064] The cargo view refers to a projection surface obtained by projecting the cargo to be loaded onto the coordinate plane in the same projection direction as the container when the cargo is placed relative to the container.

[0065] In some embodiments, the coordinates of the cargo view refer to the coordinates of each point projected onto the coordinate plane in the same projection direction as the container when the cargo to be loaded is placed relative to the container. In this case, the coordinates of the cargo view include the coordinates of the outline boundary points of the cargo view. That is, the second coordinates refer to the coordinates of the outline boundary points of the cargo view.

[0066] In some embodiments, the coordinates of the cargo view refer to the coordinates of the contour boundary points of the projection surface obtained by projecting the cargo to be loaded onto the coordinate plane in the same projection direction as the container when the cargo is placed relative to the container.

[0067] In one embodiment, the contour boundary points of the cargo view (also referred to herein as "contour boundary points of the cargo to be loaded") may refer to the corner points of the projection surface obtained by projecting the cargo to be loaded onto the coordinate plane, and in this case, the second coordinates specifically refer to the coordinates of the corner points of the projection surface of the cargo to be loaded. In another embodiment, the contour boundary points of the cargo view may refer to the points on the boundary line of the projection surface obtained by projecting the cargo to be loaded onto the coordinate plane, and in this case, the second coordinates specifically refer to the coordinates of the points on the boundary line of the projection surface of the cargo to be loaded.

[0068] 204. Detect, based on the first coordinate and the second coordinate, whether the cargo to be loaded exceeds a loading range of the container.

[0069] Specifically, according to the first coordinate and the second coordinate, it can be detected whether the projection surface of the cargo to be loaded is within the projection surface of the container. If the projection surface of the cargo to be loaded is within the projection surface of the container, it is determined that the cargo to be loaded is within the loading range of the container. If the projection surface of the cargo to be loaded exceeds the projection surface of the container, it is determined that the cargo to be loaded exceeds the loading range of the container.

[0070] In order to reduce the amount of data processing, in some embodiments, only the boundary point of the outline of the cargo to be loaded can be detected whether it is within the projection surface of the container to determine whether the cargo to be loaded exceeds the loading range of the container. The specific determination method of "detecting whether the cargo to be loaded exceeds the loading range of the container based on the first coordinate and the second coordinate" will be described in detail later and will not be repeated here.

[0071] From the above content, it can be seen that in the embodiment of the present application, the coordinates of the non-rectangular view of the container and the coordinates of the cargo view are obtained by projecting the container and the cargo to be loaded relative to the container in the placed state onto the same coordinate plane, and according to the coordinates of the contour boundary points of the non-rectangular view and the coordinates of the contour boundary points of the cargo view, it is detected whether the cargo to be loaded exceeds the loading range of the container. On the one hand, since whether the contour boundary points of the projected cargo to be loaded on the two-dimensional plane are within the contour boundary of the projected cargo to be loaded on the two-dimensional plane, it can reflect to a certain extent whether the cargo to be loaded exceeds the loading range of the container, and realize the detection of whether the cargo to be loaded exceeds the loading range of the container. On the other hand, by comparing the coordinate relationship between the non-rectangular view of the container and the cargo view, when performing spatial simulation on the irregular container, the space utilization rate of the irregular container can be improved on the basis of ensuring the accuracy of over-range detection.

[0072] Please continue to refer to Figure 3 and Figure 6 In some embodiments of the present application, the non-rectangular view of the container does not contain an arc line, for example, two adjacent faces of the container are not perpendicular (or two adjacent boundary lines of the container are not perpendicular). In this case, step 204 may specifically include the following steps a1 to a4, wherein:

[0073] a1. According to the first coordinate, obtain a straight line equation of a target line segment of the non-rectangular view, wherein the target line segment refers to a line segment formed by two adjacent contour boundary points of the non-rectangular view.

[0074] Figure 6 It is an illustrative schematic diagram provided in the embodiment of the present application that does not include the out-of-range detection of the arc container. Figure 6 (a) shows Figure 3 The irregular container shown, Figure 6(b) shows a non-rectangular view of the coordinate plane of the ULD projected onto the preset coordinate system. Figure 6 (c) Rectangles 1, 2, 3 and Figure 6 In (d), rectangles 1, 2, 3, 4, and 5 represent the goods to be loaded, respectively. Figure 6 In (c), the outline boundary point c1 of the goods 3 to be loaded exceeds the non-rectangular view. Figure 6 In (d), the outline boundary point c2 of the goods 5 to be loaded exceeds the non-rectangular view.

[0075] For example, Figure 6 In the non-rectangular view, adjacent contour boundary points p1 and p2 constitute line segment l1, adjacent contour boundary points p3 and p4 constitute line segment l2, adjacent contour boundary points p1 and p3 constitute line segment l3, adjacent contour boundary points p2 and p5 constitute line segment l4, p4 and p6 constitute line segment l5, and p5 and p6 constitute line segment l6.

[0076] According to the contour boundary points p1 and p2, the straight line equation of the line segment l1 can be determined as: y=k1*x+b1.

[0077] According to the contour boundary points p3 and p4, the straight line equation of the line segment l2 can be determined as: y=k2*x+b2.

[0078] According to the contour boundary points p1 and p3, the straight line equation of the line segment l3 can be determined as: y=m.

[0079] According to the contour boundary points p2 and p5, the straight line equation of the line segment l4 can be determined as: x=0.

[0080] According to the contour boundary points p4 and p6, the straight line equation of the line segment l5 can be determined as: x=n.

[0081] According to the contour boundary points p5 and p6, the straight line equation of the line segment l6 can be determined as: y=0.

[0082] a2. According to the second coordinate and the straight line equation, detect whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to a preset positional relationship.

[0083] The purpose of detecting whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to the preset positional relationship is to detect whether the cargo view is in the non-rectangular view. Therefore, it is necessary to determine whether the contour boundary point of the cargo view should be above, below, to the left or to the right of the target line segment according to the position of the target line segment of the non-rectangular view, so that the contour boundary point of the cargo view is in the non-rectangular view.

[0084] For example, the cargo to be loaded is a cube, the cargo view is a rectangle, and the contour boundary points of the cargo view include the four corner points of the rectangle. The contour boundary points of the cargo view should be in Figure 6 The contour boundary points of the cargo view can be within the non-rectangular view only if they are below the center line segment l1, below l2, below l3, to the right of l4, to the left of l5, and above l6.

[0085] When it is detected that the outline boundary point of the cargo view is below the line segment l1 , it is determined that the positional relationship between the outline boundary point of the cargo view and the line segment l1 meets the preset positional relationship.

[0086] When it is detected that the outline boundary point of the cargo view is below the line segment l2, it is determined that the positional relationship between the outline boundary point of the cargo view and the line segment l2 conforms to the preset positional relationship.

[0087] When it is detected that the outline boundary point of the cargo view is below the line segment l3, it is determined that the positional relationship between the outline boundary point of the cargo view and the line segment l3 conforms to the preset positional relationship.

[0088] When it is detected that the outline boundary point of the cargo view is located to the right of the line segment l4, it is determined that the positional relationship between the outline boundary point of the cargo view and the line segment l4 conforms to the preset positional relationship.

[0089] When it is detected that the outline boundary point of the cargo view is on the left of the line segment l5, it is determined that the positional relationship between the outline boundary point of the cargo view and the line segment l5 conforms to the preset positional relationship.

[0090] When it is detected that the outline boundary point of the cargo view is above the line segment l6, it is determined that the positional relationship between the outline boundary point of the cargo view and the line segment l6 conforms to the preset positional relationship.

[0091] Among them, Figure 6 As shown, there are two situations for “detecting whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to the preset positional relationship”:

[0092] Case 1: The target line segment is parallel to the coordinate axis of the preset coordinate system.

[0093] When the target line segment is parallel to the coordinate axis of the preset coordinate system, in step a2, there are multiple ways to "detect whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to the preset positional relationship", which exemplarily include:

[0094] Method 1: When the target line segment is at the leftmost of the non-rectangular view, it can be detected whether x0 > b is satisfied; if x0 > b, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship; if x0 ≤ b, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship. Wherein, the straight line equation is x = b, and the second coordinate is (x0, y0).

[0095] When the target line segment is at the rightmost of the non-rectangular view, it can be detected whether x0 < b is satisfied; if x0 < b, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship; if x0 ≥ b, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship. Wherein, the straight line equation is x = b, and the second coordinate is (x0, y0).

[0096] For example, Figure 6 in, when detecting whether the contour boundary point (x0, y0) of the cargo view is to the right of the line segment l4, it can be determined by detecting whether x0 > 0 is satisfied. When x0 > 0, it is determined that the contour boundary point (x0, y0) of the cargo view is to the right of the line segment l4; otherwise, when x0 ≤ 0, it is determined that the contour boundary point (x0, y0) of the cargo view is to the left of the line segment l4 or coincides with the line segment l4. Similarly, it can be detected whether the contour boundary point (x0, y0) of the cargo view is to the left of l5.

[0097] When the target line segment is at the uppermost of the non-rectangular view, it can be detected whether y0 < c is satisfied; if y0 < c, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship; if y0 ≥ c, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship. Wherein, the straight line equation is y = c, and the second coordinate is (x0, y0).

[0098] When the target line segment is at the lowermost of the non-rectangular view, it can be detected whether y0 > c is satisfied; if y0 > c, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship; if y0 ≤ c, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship. Wherein, the straight line equation is y = c, and the second coordinate is (x0, y0).

[0099] For example, Figure 6When detecting whether the contour boundary point (x0, y0) of the cargo view is below the line segment l3 in [description], it can be determined by detecting whether y0 < 0 is satisfied. When y0 < m, it is determined that the contour boundary point (x0, y0) of the cargo view is below the line segment l3; otherwise, when y0 ≥ m, it is determined that the contour boundary point (x0, y0) of the cargo view is above the line segment l3 or coincides with the line segment l3. Similarly, it can be detected whether the contour boundary point (x0, y0) of the cargo view is above l6.

[0100] Method 2: It is only necessary to determine that when the coordinate value of the contour boundary point of the cargo view on the x-axis is within the range formed by the maximum x value and the minimum x value of the non-rectangular view, and the coordinate value of the contour boundary point of the cargo view on the y-axis is within the range formed by the maximum y value and the minimum y value of the non-rectangular view, it can be determined whether the positional relationship between the contour boundary point of the cargo view and the target line segment (parallel to the coordinate axes of the preset coordinate system) conforms to the preset positional relationship.

[0101] For example, Figure 6 In (b), (d), and (e), the line segments l3, l4, l5, and l6 are parallel to the coordinate axes of the preset coordinate system. Therefore, it is only necessary to determine that when the coordinate value of the contour boundary point of the cargo view on the x-axis is within the range formed by the maximum x value and the minimum x value of the non-rectangular view, and the coordinate value of the contour boundary point of the cargo view on the y-axis is within the range formed by the maximum y value and the minimum y value of the non-rectangular view, it can be determined that the positional relationship between the contour boundary point of the cargo view and the line segments l3, l4, l5, and l6 conforms to the preset positional relationship.

[0102] Furthermore, when it is initially determined through the following steps d1 to d5 that the cargo to be loaded is within the loading range of the container, it can be detected whether the positional relationship between the contour boundary point of the cargo view and the target line segment (parallel to the coordinate axes of the preset coordinate system) conforms to the preset positional relationship.

[0103] Case 2: The target line segment is not parallel to the coordinate axes of the preset coordinate system.

[0104] In the embodiments of the present application, after quickly and initially determining through the following steps d1 to d5 that the cargo to be loaded is within the loading range of the container, it is only necessary to detect whether the positional relationship between the contour boundary point of the cargo view and the target line segment that is not parallel to the coordinate axes of the preset coordinate system conforms to the preset positional relationship, so as to accurately detect whether the cargo to be loaded exceeds the loading range of the container. As Figure 6As shown in (b) and (c), in order to reduce the amount of data processing when "detecting whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to the preset positional relationship", the coordinate axes of the preset coordinate system are respectively a first straight line parallel to or coincident with the leftmost line segment of the non-rectangular view, and a second straight line parallel to or coincident with the bottommost line segment of the non-rectangular view, and the origin of the preset coordinate system is the intersection of the first straight line and the second straight line. Among them, the straight line equation is y=f(x), and the second coordinate is (x0,y0). For the convenience of explanation, exemplarily, the first straight line is the y-axis and the second straight line is the x-axis.

[0105] When the target line segment is not parallel to the coordinate axis of the preset coordinate system, in step a2, there are multiple ways to "detect whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to the preset positional relationship", which exemplarily include:

[0106] (1) When the target line segment is above the non-rectangular view, check whether f(x0)-y0>0 is satisfied; if f(x0)-y0>0, determine that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies the preset positional relationship; if f(x0)-y0≤0, determine that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship. Figure 6 As shown in (b), the target line segment being above the non-rectangular view means that the target line segment intersects with the uppermost line segment of the non-rectangular view.

[0107] For example, Figure 6 As shown in (b), (d), and (e), the preset coordinate system takes the lower left right angle point of the non-rectangular view as the origin, and the x-axis and y-axis directions of the preset coordinate system are respectively the directions from the right angle point to the first adjacent boundary point (i.e., p2) and the second adjacent boundary point (i.e., p6), the first adjacent boundary point and the second adjacent boundary point are respectively the contour boundary points adjacent to the right angle point, the straight line equation is y=f(x), and the second coordinate is (x0, y0). At this time, the preset positional relationship means that the contour boundary point of the cargo view is below the target line segment, and whether f(x0)-y0>0 is satisfied can be determined to determine whether the "positional relationship between the contour boundary point of the cargo view and the target line segment satisfies the preset positional relationship".

[0108] If f(x0)-y0>0, the contour boundary point of the cargo view is below the target line segment, and it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies the preset positional relationship; if f(x0)-y0≤0, the contour boundary point of the cargo view is above the target line segment, and it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship.

[0109] For example Figure 6 In (b), (d), and (e), when detecting whether the contour boundary point (x0, y0) of the cargo view is below the line segment l1, it can be determined by detecting whether k1*x0+b1-y0>0. When k1*x0+b1-y0>0, it is determined that the contour boundary point (x0, y0) of the cargo view is below the line segment l1; otherwise, when k1*x0+b1-y0≤0, it is determined that the contour boundary point (x0, y0) of the cargo view is above the line segment l1 or coincides with the line segment l1. Similarly, it can be determined whether the contour boundary point (x0, y0) of the cargo view is below l2.

[0110] (2) When the target line segment is below the non-rectangular view, check whether f(x0)-y0<0 is satisfied; if f(x0)-y0<0, determine that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies the preset positional relationship; if f(x0)-y0≥0, determine that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship. Figure 6 As shown in (c), the target line segment being below the non-rectangular view means that the target line segment intersects with the lowermost line segment of the non-rectangular view.

[0111] The above Figure 6 The preset coordinate system shown is used as an example for explanation. It can be understood that, in fact, the setting of the preset coordinate system is not limited to Figure 6 In the manner shown, for example, the x-axis or y-axis direction of the preset coordinate system can be Figure 6 The direction shown in is opposite to that shown in . Figure 6 The first straight line is the y-axis and the second straight line is the x-axis, or the first straight line is the x-axis and the second straight line is the y-axis. Specifically, according to different settings of the preset coordinate system, it can be adjusted whether to determine that the positional relationship between the contour boundary point of the cargo view and the target line segment meets the preset positional relationship when f(x0)-y0>0 or when f(x0)-y0<0.

[0112] a3. When the positional relationship between the contour boundary point of the cargo view and the target line segment meets the preset positional relationship, it is determined that the cargo to be loaded is within the loading range of the container.

[0113] For example, Figure 6 As shown in (b), (d), and (e), the contour boundary point (x0, y0) of the cargo view is at the same time Figure 6 The cargo to be loaded is determined to be within the loading range of the container below the center line segment l1, below l2, to the right of l3, below l4, to the left of l5, and above l6.

[0114] a4. Alternatively, when the positional relationship between the contour boundary point of the cargo view and the target line segment does not conform to a preset positional relationship, it is determined that the cargo to be loaded exceeds the loading range of the container.

[0115] For example, Figure 6 As shown in (b), (d), and (e), the contour boundary point (x0, y0) of the cargo view is at Figure 6 When the cargo to be loaded is above the center line segment l1, above l2, below l3, to the right of l4, to the left of l5, or above l6, it is determined that the cargo to be loaded exceeds the loading range of the container.

[0116] By detecting whether the contour boundary point of the cargo view and the target line segment formed by the two adjacent contour boundary points of the non-rectangular view of the container meet the preset positional relationship, it can be determined whether the cargo to be loaded exceeds the non-right-angle boundary line of the container, and then it can be determined whether the cargo to be loaded exceeds the loading range of the container. The problem of using regular cube modeling for spatial simulation is avoided, thereby avoiding the problem of space utilization of irregular containers with non-right-angled sides. On the basis of ensuring the accuracy of detection of over-range cargo to be loaded, the space utilization of irregular containers with non-right-angled sides is improved to a certain extent.

[0117] Since the positional relationship between the target line segment parallel to the coordinate axis of the preset coordinate system and the contour boundary point of the cargo view is relatively easy to determine, during simulation, the positional relationship between the contour boundary point of the cargo view and the target line segment parallel to the coordinate axis of the preset coordinate system can be made to meet the preset positional relationship. At this time, it is only necessary to determine whether the positional relationship between the contour boundary point of the cargo view and the target line segment not parallel to the coordinate axis of the preset coordinate system meets the preset positional relationship, so as to quickly determine whether the cargo to be loaded exceeds the loading range of the container.

[0118] Please continue to refer to Figure 4 and Figure 7 In some embodiments of the present application, the non-rectangular view of the container includes an arc line. In this case, step 204 may specifically include the following steps b1 to b6, wherein:

[0119] b1. Detecting the arc boundary line of the non-rectangular view.

[0120] b2. According to the first coordinates, obtain the coordinates of the first endpoint and the coordinates of the second endpoint of the arc boundary line.

[0121] b3. Determine the coordinates and radius of the center of the circle where the arc boundary line is located according to the coordinates of the first endpoint and the coordinates of the second endpoint.

[0122] The first endpoint and the second endpoint are two endpoints of the arc boundary line in the contour boundary points of the non-rectangular view.

[0123] Figure 7 It is a schematic diagram for explaining out-of-range detection of a circular arc container provided in an embodiment of the present application. Figure 7 (a) shows Figure 4 The irregular container shown, Figure 7 (b) shows a non-rectangular view of the coordinate plane of the ULD projected onto the preset coordinate system, Figure 7 (c) shows the circle where the arc boundary line lies. Figure 7 In (d), rectangles 1, 2, 3, and 4 represent goods to be loaded, respectively, among which the contour boundary point c3 of the goods to be loaded 4 exceeds the non-rectangular view.

[0124] like Figure 7 As shown, the coordinates of the first endpoint (i.e., p1) of the non-rectangular view are: (0, m), the coordinates of the second endpoint (i.e., p2) are: (n, 0), and p1 and p2 form a line segment 1. On a straight line perpendicular to the line segment 1 and passing through the midpoint (i.e., C) of the line segment 1, a target point (i.e., Q) having the same distance from any point on the arc boundary line is calculated according to an analytical geometry method, and is used as the center of the circle where the arc boundary line is located.

[0125] And according to the coordinates of the center of the circle and the coordinates of any point on the arc boundary line (such as the first endpoint or the second endpoint), the radius of the circle where the arc boundary line is located is calculated.

[0126] b4. Detecting the distance between the outline boundary point of the cargo view and the center of the circle according to the coordinates of the center of the circle and the second coordinates.

[0127] For example, the coordinates of the center of the circle are: (-1, 1), and the second coordinates (i.e., the coordinates of the outline boundary point of the cargo view) are: (3, 3). Then the distance between the outline boundary point of the cargo view and the center of the circle is:

[0128] b5. When the distances between the outline boundary points of the cargo view and the center of the circle are all smaller than the radius, it is determined that the cargo to be loaded is within the loading range of the container.

[0129] When the distance between the contour boundary point of the cargo view and the center of the circle is less than the radius of the circle where the arc boundary line is located, it proves that the contour boundary point of the cargo view is within the non-rectangular view, and then it can be determined that the cargo to be loaded is beyond the loading range of the container.

[0130] b6. Alternatively, when the distance between the outline boundary point of the cargo view and the center of the circle is greater than or equal to the radius, it is determined that the cargo to be loaded exceeds the loading range of the container.

[0131] When the distance between the contour boundary point of the cargo view and the center of the circle is greater than or equal to the radius of the circle where the arc boundary line is located, it proves that the contour boundary point of the cargo view is outside the non-rectangular view, and it can be determined that the cargo to be loaded exceeds the loading range of the container.

[0132] From the above content, it can be seen that by determining the coordinates and radius of the center of the circle where the arc boundary line is located according to the coordinates of the first end point and the second end point of the arc boundary line of the non-rectangular view of the container, and detecting whether the distance between the contour boundary point of the cargo view and the center of the circle is greater than or equal to the radius of the circle where the arc boundary line is located, it is possible to detect whether the cargo to be loaded exceeds the arc boundary line of the container. This avoids the problem of using regular cube modeling for spatial simulation, thereby avoiding the problem of space utilization of irregular containers with arcs. On the basis of ensuring the accuracy of detection of cargo to be loaded exceeding the range, the space utilization of irregular containers with arcs is improved to a certain extent.

[0133] See also Figure 8 , Figure 8 It is a schematic diagram of the positional relationship between the goods to be loaded provided in the embodiments of the present application. Figure 8 (a) shows a three-dimensional schematic diagram of cargo 1 and cargo overlapping, i.e., there is a collision; Figure 8 (b), (c), and (d) respectively show the overlap of goods 1 and goods 2 in the length, width, and height directions; where d1 represents the distance between the centers of goods 1 and 2, l1, w1, and h1 represent the length, width, and height of goods 1, and l2, w2, and h2 represent the length, width, and height of goods 2, respectively.

[0134] In some embodiments of the present application, it is also possible to further detect whether there is a collision between the goods to be loaded and the loaded goods, so as to reflect to a certain extent whether the goods to be loaded can be normally placed in the container. That is, in some embodiments of the present application, the second spatial information includes the coordinates of the goods to be loaded in a preset three-dimensional rectangular coordinate system, and the loading over-range detection method further includes steps c1 to c6:

[0135] c1. Obtaining third space information of the loaded goods relative to the placement state of the container.

[0136] Among them, the third space information may include three-dimensional size information such as length, width, and height of the loaded goods, the loaded position relative to the container, the placed posture, etc.

[0137] c2. According to the second spatial information and the third spatial information, obtain the target projection length of the center point line segment on the target coordinate axis, wherein the center point line segment refers to the line segment formed by the three-dimensional center point of the to-be-loaded goods and the three-dimensional center point of the loaded goods, and the target coordinate axis is the x-axis, y-axis or z-axis in the three-dimensional rectangular coordinate system.

[0138] The target projection length refers to the length of the projection of the line segment formed by the three-dimensional center point of the goods to be loaded and the three-dimensional center point of the loaded goods on the target coordinate axis.

[0139] For example, the target coordinate axis is the x-axis, the three-dimensional center point of the cargo to be loaded is (3, 4, 5), the three-dimensional center point of the loaded cargo is (6, 4, 5), and the projection length of the center point line segment after being projected onto the x-axis (i.e., the target projection length) is 3.

[0140] For example, the target coordinate axis is the y-axis, the three-dimensional center point of the goods to be loaded is (3, 4, 5), the three-dimensional center point of the loaded goods is (3, 8, 5), and the projection length of the center point line segment after being projected onto the y-axis (i.e., the target projection length) is 4.

[0141] For another example, the target coordinate axis is the z-axis, the three-dimensional center point of the goods to be loaded is (3, 4, 5), the three-dimensional center point of the loaded goods is (3, 4, 10), and the projection length of the center point line segment after being projected onto the z-axis (i.e., the target projection length) is 5.

[0142] c3. According to the second spatial information, obtain a first projection length of the goods to be loaded on the target coordinate axis.

[0143] The first projection length refers to the projection length obtained by projecting the goods to be loaded onto the target coordinate axis.

[0144] c4. According to the third spatial information, obtain a second projection length of the loaded goods on the target coordinate axis.

[0145] The second projection length refers to the projection length obtained by projecting the loaded goods onto the target coordinate axis.

[0146] c5. Detect whether the target projection length is greater than or equal to half of the sum of the first projection length and the second projection length.

[0147] For example, the target coordinate axis is the x-axis, the first projection length is 3, and the second projection length is 3. If the target projection length is 4, then the target projection length 4 is greater than half of the sum of the first projection length and the second projection length (3+3) / 2=3. If the target projection length is 2, then the target projection length 2 is less than half of the sum of the first projection length and the second projection length (3+3) / 2=3. If the target projection length is 3, then the target projection length 3 is equal to half of the sum of the first projection length and the second projection length (3+3) / 2=3.

[0148] c6. If the target projection length is greater than or equal to half of the sum of the first projection length and the second projection length, it is determined that there is no collision between the goods to be loaded and the loaded goods.

[0149] Specifically, if the target projection length is greater than or equal to half of the sum of the first projection length and the second projection length, it is determined that there is no collision between the goods to be loaded and the goods already loaded. If the target projection length is less than half of the sum of the first projection length and the second projection length, it is determined that there is a collision between the goods to be loaded and the goods already loaded.

[0150] For ease of understanding, the above step c5 example is continued. For example, the target coordinate axis is the x-axis. If the target projection length 4 is greater than half of the sum of the first projection length and the second projection length (3+3) / 2=3, it is determined that there is no collision between the goods to be loaded and the goods already loaded. If the target projection length 2 is less than half of the sum of the first projection length and the second projection length (3+3) / 2=3, it is determined that there is a collision between the goods to be loaded and the goods already loaded. If the target projection length 3 is equal to half of the sum of the first projection length and the second projection length (3+3) / 2=3, it is determined that there is no collision between the goods to be loaded and the goods already loaded.

[0151] Similarly, it is possible to detect whether there is a collision between the goods to be loaded and the goods already loaded when the target coordinate axes are the y-axis and the z-axis respectively.

[0152] like Figure 8 As shown, since the length, width and height of the goods are projected to the x-axis, y-axis and z-axis of the three-dimensional rectangular coordinate system respectively, the overlap between the goods (i.e., the collision) can only be actually reflected when the coordinate representations of the two goods in the length, width and height directions overlap. Further, in order to improve the detection accuracy of whether there is a collision between the loaded goods and the goods to be loaded, it is possible to detect whether there is a collision between the goods to be loaded and the loaded goods when the target coordinate axes are the x-axis, y-axis and z-axis respectively. Only when the target coordinate axes are the x-axis, y-axis and z-axis respectively, and there is a collision between the goods to be loaded and the loaded goods, it is finally determined that there is a real collision between the goods to be loaded and the loaded goods, and it is determined that the goods to be loaded cannot be normally placed in the container.

[0153] Otherwise, if there is no collision between the cargo to be loaded and the loaded cargo when the target coordinate axis is the x-axis, or if there is no collision between the cargo to be loaded and the loaded cargo when the target coordinate axis is the y-axis, or if there is no collision between the cargo to be loaded and the loaded cargo when the target coordinate axis is the z-axis, it is determined that there is a real collision between the cargo to be loaded and the loaded cargo, and it is determined that the cargo to be loaded can be normally placed in the container.

[0154] Compared with the following steps d1 to d3, the above steps 202 to 204, steps a1 to a4, and steps b1 to b6 are more sophisticated in detecting whether the cargo to be loaded exceeds the loading range of the container, and the required data processing volume is large. In order to avoid significantly exceeding the length, width or height of the container in terms of length, width or height, the above steps 202 to 204 are still executed, or steps a1 to a4 and steps b1 to b6 are executed to detect whether the cargo to be loaded exceeds the loading range of the container, which results in unnecessary data processing volume. In some embodiments of the present application, the first spatial information includes the coordinates of the container in a preset three-dimensional rectangular coordinate system, the second spatial information includes the coordinates of the cargo to be loaded in the three-dimensional rectangular coordinate system, and after step 201, d1 to d5 are also included, wherein:

[0155] d1. According to the first spatial information, obtain the maximum value and the minimum value of the container on the target coordinate axis, wherein the target coordinate axis is the x-axis, the y-axis or the z-axis in the three-dimensional rectangular coordinate system.

[0156] For example, the target coordinate axis is the x-axis, and the maximum value of the container on the x-axis is 6 and the minimum value is 0.

[0157] For example, the target coordinate axis is the y-axis, and the maximum value of the container on the y-axis is 7 and the minimum value is 0.

[0158] For another example, the target coordinate axis is the z-axis, and the maximum value of the container on the z-axis is 8 and the minimum value is 0.

[0159] d2. Acquire the maximum and minimum values ​​of the goods to be loaded on the target coordinate axis according to the second spatial information.

[0160] The maximum value refers to the maximum value of the cargo to be loaded on the target coordinate axis, and the minimum value refers to the minimum value of the cargo to be loaded on the target coordinate axis.

[0161] For example, the target coordinate axis is the x-axis, the maximum value of the cargo to be loaded on the x-axis is 4 and the minimum value is 2, then the maximum value and minimum value are 4 and 2 respectively.

[0162] For another example, the target coordinate axis is the y-axis, the maximum value of the cargo to be loaded on the y-axis is 8 and the minimum value is 0, then the maximum value and minimum value are 8 and 0 respectively.

[0163] For another example, the target coordinate axis is the z-axis, the maximum value of the cargo to be loaded on the z-axis is 7 and the minimum value is 1, then the maximum value and minimum value are 7 and 1 respectively.

[0164] d3. Detect whether the maximum value and the minimum value are both within the interval formed by the maximum value and the minimum value.

[0165] For example, the target coordinate axis is the x-axis, the maximum value of the container on the x-axis is 6 and the minimum value is 0, then the interval range formed by the maximum value of 6 and the minimum value of 0 is [0, 6].

[0166] If the maximum value of the cargo to be loaded on the x-axis is 4 and the minimum value is 2, then the maximum value and the minimum value are both within the interval formed by the maximum value and the minimum value.

[0167] If the maximum value of the cargo to be loaded on the x-axis is 7 and the minimum value is 2, the maximum value is outside the interval formed by the maximum and minimum values, and the minimum value is within the interval formed by the maximum and minimum values.

[0168] d4. When at least one of the maximum value and the minimum value is outside the interval, it is preliminarily determined that the cargo to be loaded exceeds the loading range of the container.

[0169] For ease of understanding, the example of step d3 is continued. For example, the target coordinate axis is the x-axis, if the maximum value is outside the interval range formed by the maximum value and the minimum value, and the minimum value is within the interval range formed by the maximum value and the minimum value. Or, if the minimum value is outside the interval range formed by the maximum value and the minimum value, and the maximum value is within the interval range formed by the maximum value and the minimum value. Or, if both the maximum value and the minimum value are outside the interval range formed by the maximum value and the minimum value, it is preliminarily determined that the cargo to be loaded exceeds the loading range of the container.

[0170] d5. Alternatively, when both the maximum value and the minimum value are within the interval, it is preliminarily determined that the cargo to be loaded is within the loading range of the container.

[0171] For ease of understanding, the example of step d3 is continued. For example, the target coordinate axis is the x-axis, and if the maximum value of the cargo to be loaded on the x-axis is 4 and the minimum value is 2, then both the maximum value and the minimum value are within the interval formed by the maximum value and the minimum value, and it is preliminarily determined that the cargo to be loaded is within the loading range of the container.

[0172] Furthermore, in order to improve the detection efficiency of the preliminary determination of whether the cargo to be loaded exceeds the loading range of the container, when the target axes are the x-axis, the y-axis and the z-axis respectively, the maximum value and the minimum value are both within the interval range formed by the maximum value and the minimum value, and the cargo to be loaded is preliminarily determined to be within the loading range of the container. Otherwise, if at least one of the maximum value and the minimum value is outside the interval range when the target axis is the x-axis, or at least one of the maximum value and the minimum value is outside the interval range when the target axis is the y-axis, or at least one of the maximum value and the minimum value is outside the interval range when the target axis is the z-axis, it is determined that the cargo to be loaded exceeds the loading range of the container.

[0173] When it is initially determined that the cargo to be loaded is within the loading range of the container, the subsequent steps 202 to 204 are continued to be executed to avoid the cargo to be obviously beyond the length, width or height of the container, and the above steps 202 to 204 are still executed, or steps a1 to a4 and steps b1 to b6 are executed to detect whether the cargo to be loaded exceeds the loading range of the container, which results in unnecessary data processing. On the basis of improving the detection accuracy of whether the cargo to be loaded exceeds the loading range of the container, the data processing amount is reduced to a certain extent.

[0174] Furthermore, in order for the user to quickly understand whether the goods to be loaded can be placed in the container, the detection result of the goods to be loaded can be output during or after the over-range detection of the goods to be loaded, wherein the detection result is used to indicate whether the goods to be loaded exceeds the loading range of the container, or to indicate whether there is a collision between the goods to be loaded and the loaded goods in the container.

[0175] For example, in step c6, when it is detected that there is no collision between the goods to be loaded and the loaded goods, the detection result of "there is no collision between the goods to be loaded and the loaded goods" can be output; when it is detected that there is a collision between the goods to be loaded and the loaded goods, the detection result of "there is a collision between the goods to be loaded and the loaded goods" can be output.

[0176] For another example, in step d4, when it is preliminarily determined that the cargo to be loaded exceeds the loading range of the container, a detection result of "the cargo to be loaded exceeds the loading range of the container" may be output.

[0177] For another example, in step 204, when it is detected that the cargo to be loaded exceeds the loading range of the container, a detection result of "the cargo to be loaded exceeds the loading range of the container" may be output. When it is detected that the cargo to be loaded does not exceed the loading range of the container, a detection result of "the cargo to be loaded does not exceed the loading range of the container" may be output.

[0178] Furthermore, in order to enable users to quickly understand that the goods to be loaded should be placed in the container in various postures, when it is detected that the goods to be loaded do not exceed the loading range of the container, the second spatial information of the goods to be loaded can also be output, such as the loading position of the goods to be loaded relative to the container, the posture to be placed, etc.

[0179] For example, in step 204, when it is detected that the cargo to be loaded does not exceed the loading range of the container, the second spatial information of the cargo to be loaded is output, such as the loading position and placement posture of the cargo to be loaded relative to the container.

[0180] Furthermore, when it is detected that the goods to be loaded do not exceed the loading range of the container, the loading equipment can be controlled to automatically load the goods to be loaded into the container based on the second spatial information such as the loading position and placement posture of the goods to be loaded relative to the container.

[0181] In order to better implement the loading out-of-range detection method in the embodiment of the present application, based on the loading out-of-range detection method, the embodiment of the present application also provides a loading out-of-range detection device, such as Fig. 9 As shown in FIG. 1 , it is a schematic diagram of the structure of an embodiment of a loading out-of-range detection device in an embodiment of the present application. The loading out-of-range detection device 900 includes:

[0182] An acquisition unit 901 is used to acquire first spatial information of a container and second spatial information of goods to be loaded relative to a placement state of the container;

[0183] The acquisition unit 901 is further configured to acquire, according to the first spatial information, coordinates of a non-rectangular view projected by the container on a coordinate plane of a preset coordinate system, wherein the coordinates of the non-rectangular view include first coordinates of a boundary point of a contour of the non-rectangular view;

[0184] The acquisition unit 901 is further configured to acquire, according to the second spatial information, coordinates of a cargo view projected by the cargo to be loaded on the coordinate plane, wherein the coordinates of the cargo view include second coordinates of a contour boundary point of the cargo view;

[0185] The processing unit 902 is used to detect whether the cargo to be loaded exceeds the loading range of the container according to the first coordinate and the second coordinate.

[0186] In a possible implementation of the present application, the processing unit 902 is specifically configured to:

[0187] Acquire a straight line equation of a target line segment of the non-rectangular view according to the first coordinate, wherein the target line segment refers to a line segment formed by two adjacent contour boundary points of the non-rectangular view;

[0188] According to the second coordinate and the straight line equation, detecting whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to a preset positional relationship;

[0189] When the positional relationship between the contour boundary point of the cargo view and the target line segment meets the preset positional relationship, it is determined that the cargo to be loaded is within the loading range of the container;

[0190] Alternatively, when the positional relationship between the contour boundary point of the cargo view and the target line segment does not conform to a preset positional relationship, it is determined that the cargo to be loaded exceeds the loading range of the container.

[0191] In a possible implementation of the present application, the coordinate axes of the preset coordinate system are respectively a first straight line parallel to or coincident with the leftmost line segment of the non-rectangular view and a second straight line parallel to or coincident with the lowermost line segment of the non-rectangular view, the origin of the preset coordinate system is the intersection of the first straight line and the second straight line, the straight line equation is y=f(x), the second coordinate is (x0, y0), and the processing unit 902 is specifically used to:

[0192] If the target line segment is below the non-rectangular view, check whether f(x0)-y0<0 is satisfied;

[0193] If f(x0)-y0<0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship;

[0194] If f(x0)-y0≥0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship;

[0195] Alternatively, if the target line segment is above the non-rectangular view, checking whether f(x0)-y0>0 is satisfied;

[0196] If f(x0)-y0>0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship;

[0197] If f(x0)-y0≤0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship.

[0198] In a possible implementation of the present application, the processing unit 902 is specifically configured to:

[0199] Detecting an arc boundary line of the non-rectangular view;

[0200] According to the first coordinates, obtaining the coordinates of the first endpoint and the coordinates of the second endpoint of the arc boundary line;

[0201] Determine the coordinates and radius of the center of the circle where the arc boundary line is located according to the coordinates of the first endpoint and the coordinates of the second endpoint;

[0202] Detecting the distance between the outline boundary point of the cargo view and the center of the circle according to the coordinates of the center of the circle and the second coordinates;

[0203] When the distances between the outline boundary points of the cargo view and the center of the circle are all smaller than the radius, it is determined that the cargo to be loaded is within the loading range of the container;

[0204] Alternatively, when the distance between the outline boundary point of the cargo view and the center of the circle is greater than or equal to the radius, it is determined that the cargo to be loaded exceeds the loading range of the container.

[0205] In a possible implementation of the present application, the second spatial information includes the coordinates of the cargo to be loaded in a preset three-dimensional rectangular coordinate system, and the loading over-range detection device 900 further includes a collision detection unit (not shown in the figure), and the collision detection unit is specifically used to:

[0206] According to the second spatial information, a target projection length of a center point line segment on a target coordinate axis is obtained, wherein the center point line segment refers to a line segment formed by a three-dimensional center point of the goods to be loaded and a three-dimensional center point of the loaded goods, and the target coordinate axis is an x-axis, a y-axis or a z-axis in the three-dimensional rectangular coordinate system;

[0207] Acquire, according to the second spatial information, a first projection length of the goods to be loaded on the target coordinate axis, and a second projection length of the loaded goods on the target coordinate axis;

[0208] Detecting whether the target projection length is greater than or equal to half of the sum of the first projection length and the second projection length;

[0209] If the target projection length is greater than or equal to half of the sum of the first projection length and the second projection length, it is determined that there is no collision between the goods to be loaded and the loaded goods.

[0210] In a possible implementation of the present application, the first spatial information includes the coordinates of the container in a preset three-dimensional rectangular coordinate system, the second spatial information includes the coordinates of the goods to be loaded in the three-dimensional rectangular coordinate system, and the loading over-range detection device 900 also includes a pre-detection unit (not shown in the figure). After the coordinates of the goods to be loaded in the three-dimensional rectangular coordinate system, the step of acquiring the first spatial information of the container and the second spatial information of the goods to be loaded relative to the container in a placed state, the pre-detection unit is specifically used to:

[0211] According to the first spatial information, obtaining a maximum value and a minimum value of the container on a target coordinate axis, wherein the target coordinate axis is an x-axis, a y-axis or a z-axis in the three-dimensional rectangular coordinate system;

[0212] According to the second spatial information, obtaining the maximum value and the minimum value of the cargo to be loaded on the target coordinate axis;

[0213] Detecting whether the maximum value and the minimum value are both within the interval formed by the maximum value and the minimum value;

[0214] When at least one of the maximum value and the minimum value is outside the interval, it is preliminarily determined that the cargo to be loaded exceeds the loading range of the container;

[0215] Alternatively, when both the maximum value and the minimum value are within the interval, it is preliminarily determined that the cargo to be loaded is within the loading range of the container.

[0216] In a possible implementation of the present application, the obtaining unit 901 is specifically used for:

[0217] When both the maximum value and the minimum value are within the interval, first projection information of the non-rectangular view of the container on a coordinate plane of a preset coordinate system is acquired according to the first spatial information.

[0218] In a possible implementation of the present application, the loading over-range detection device 900 further includes an output unit (not shown in the figure), and the output unit is specifically used to:

[0219] Outputting the detection result of the cargo to be loaded and / or loading prompt information, wherein the detection result is used to indicate whether the cargo to be loaded exceeds the loading range of the container, or is used to indicate whether there is a collision between the cargo to be loaded and the cargo already loaded in the container, and the loading prompt information is used to indicate the loading position and / or loading posture of the cargo to be loaded;

[0220] In a possible implementation of the present application, the loading over-range detection device 900 further includes a loading unit (not shown in the figure), and the loading unit is specifically used to:

[0221] When it is detected that the cargo to be loaded does not exceed the loading range of the container, the cargo to be loaded is loaded into the container according to the second space information.

[0222] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0223] Since the overload detection device can perform the present application as follows Figures 1 to 8 Corresponding to the steps in the over-range detection method in any embodiment, the present application can be implemented as follows Figures 1 to 8 The beneficial effects that can be achieved by the over-range detection method in any embodiment are detailed in the previous description and will not be repeated here.

[0224] In addition, in order to better implement the loading over-range detection method in the embodiment of the present application, on the basis of the loading over-range detection method, the embodiment of the present application also provides an electronic device, referring to Fig.10 , Fig.10 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. Specifically, the electronic device provided by the embodiment of the present application includes a processor 1001, and the processor 1001 is used to execute the computer program stored in the memory 1002 to implement the following Figures 1 to 8 Corresponding to each step of loading the over-range detection method in any embodiment; or, the processor 1001 is used to execute the computer program stored in the memory 1002 to implement the following Fig. 9 The functions of each unit in the corresponding embodiment.

[0225] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 1002, and executed by the processor 1001 to complete the embodiment of the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.

[0226] The electronic device may include, but is not limited to, the processor 1001 and the memory 1002. Those skilled in the art will appreciate that the illustration is merely an example of the electronic device and does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the illustration, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc., and the processor 1001, the memory 1002, the input and output devices, and the network access devices are connected via a bus.

[0227] The processor 1001 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0228] The memory 1002 can be used to store computer programs and / or modules. The processor 1001 implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory 1002 and calling the data stored in the memory 1002. The memory 1002 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, video data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0229] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described overload detection device, electronic device and its corresponding units can refer to the following. Figures 1 to 8 The description of the over-range detection method in any embodiment will not be repeated here.

[0230] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0231] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the present application as follows: Figures 1 to 8 For the steps in any embodiment of the over-range detection method, the specific operations can be referred to as follows: Figures 1 to 8 The description of the loading out-of-range detection method in any embodiment will not be repeated here.

[0232] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0233] Due to the instructions stored in the computer-readable storage medium, the present application can be executed. Figures 1 to 8 Corresponding to the steps in the over-range detection method in any embodiment, the present application can be implemented as follows Figures 1 to 8 The beneficial effects that can be achieved by the over-range detection method in any embodiment are detailed in the previous description and will not be repeated here.

[0234] The above is a detailed introduction to a loading out-of-range detection method, device, electronic device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for detecting overload range, It is characterized in that The method comprises: Acquire first spatial information of the container and second spatial information of the cargo to be loaded relative to the container in a placement state; According to the first spatial information, coordinates of a non-rectangular view of the container projected on a coordinate plane of a preset coordinate system are acquired, wherein the coordinates of the non-rectangular view include first coordinates of a boundary point of a contour of the non-rectangular view; According to the second spatial information, the coordinates of the cargo view projected on the coordinate plane by the cargo to be loaded are acquired, wherein the coordinates of the cargo view include the second coordinates of the outline boundary points of the cargo view; According to the first coordinate and the second coordinate, it is detected whether the outline boundary point of the cargo view is within the outline boundary point of the non-rectangular view, so as to detect whether the cargo to be loaded exceeds the loading range of the container.

2. The method for detecting overloading according to claim 1, It is characterized in that The detecting, based on the first coordinate and the second coordinate, whether the outline boundary point of the cargo view is within the outline boundary point of the non-rectangular view, so as to detect whether the cargo to be loaded exceeds the loading range of the container, comprises: Acquire a straight line equation of a target line segment of the non-rectangular view according to the first coordinate, wherein the target line segment refers to a line segment formed by two adjacent contour boundary points of the non-rectangular view; According to the second coordinate and the straight line equation, detecting whether the positional relationship between the contour boundary point of the cargo view and the target line segment conforms to a preset positional relationship; When the positional relationship between the contour boundary point of the cargo view and the target line segment meets the preset positional relationship, determining that the contour boundary point of the cargo view is within the contour boundary point of the non-rectangular view, so as to determine that the cargo to be loaded is within the loading range of the container; Alternatively, when the positional relationship between the contour boundary point of the cargo view and the target line segment does not conform to a preset positional relationship, it is determined that the contour boundary point of the cargo view is not within the contour boundary point of the non-rectangular view to determine that the cargo to be loaded exceeds the loading range of the container.

3. The method for detecting overloading according to claim 2, It is characterized in that The coordinate axes of the preset coordinate system are respectively a first straight line parallel to or coincident with the leftmost line segment of the non-rectangular view and a second straight line parallel to or coincident with the bottommost line segment of the non-rectangular view, the origin of the preset coordinate system is the intersection of the first straight line and the second straight line, the straight line equation is y=f(x), and the second coordinate is (x0, y0), and detecting whether the positional relationship between the contour boundary point of the cargo view and the target line segment meets the preset positional relationship according to the second coordinate and the straight line equation includes: If the target line segment is below the non-rectangular view, check whether f(x0)-y0<0 is satisfied; If f(x0)-y0<0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship; If f(x0)-y0≥0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship; Alternatively, if the target line segment is above the non-rectangular view, checking whether f(x0)-y0>0 is satisfied; If f(x0)-y0>0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment satisfies a preset positional relationship; If f(x0)-y0≤0, it is determined that the positional relationship between the contour boundary point of the cargo view and the target line segment does not satisfy the preset positional relationship.

4. The method for detecting overloading according to claim 1, It is characterized in that The detecting, based on the first coordinate and the second coordinate, whether the outline boundary point of the cargo view is within the outline boundary point of the non-rectangular view, so as to detect whether the cargo to be loaded exceeds the loading range of the container, comprises: Detecting an arc boundary line of the non-rectangular view; According to the first coordinates, obtaining the coordinates of the first endpoint and the coordinates of the second endpoint of the arc boundary line; Determine the coordinates and radius of the center of the circle where the arc boundary line is located according to the coordinates of the first endpoint and the coordinates of the second endpoint; Detecting the distance between the outline boundary point of the cargo view and the center of the circle according to the coordinates of the center of the circle and the second coordinates; When the distances between the contour boundary point of the cargo view and the center of the circle are all less than the radius, determining that the contour boundary point of the cargo view is within the contour boundary point of the non-rectangular view, so as to determine that the cargo to be loaded is within the loading range of the container; Alternatively, when the distance between the outline boundary point of the cargo view and the center of the circle is greater than or equal to the radius, it is determined that the outline boundary point of the cargo view is not within the outline boundary point of the non-rectangular view, so as to determine that the cargo to be loaded exceeds the loading range of the container.

5. The method for detecting overloading according to claim 1, It is characterized in that The second spatial information includes the coordinates of the goods to be loaded in a preset three-dimensional rectangular coordinate system, and the method further includes: Acquire third space information of the loaded cargo relative to the placement state of the container; According to the second spatial information and the third spatial information, a target projection length of a center point line segment on a target coordinate axis is acquired, wherein the center point line segment refers to a line segment formed by a three-dimensional center point of the goods to be loaded and a three-dimensional center point of the loaded goods, and the target coordinate axis is an x-axis, a y-axis or a z-axis in the three-dimensional rectangular coordinate system; Acquire a first projection length of the cargo to be loaded on the target coordinate axis according to the second spatial information; According to the third spatial information, obtaining a second projection length of the loaded cargo on the target coordinate axis; Detecting whether the target projection length is greater than or equal to half of the sum of the first projection length and the second projection length; If the target projection length is greater than or equal to half of the sum of the first projection length and the second projection length, it is determined that there is no collision between the goods to be loaded and the loaded goods.

6. The method for detecting overload according to claim 1, It is characterized in that The first spatial information includes the coordinates of the container in a preset three-dimensional rectangular coordinate system, and the second spatial information includes the coordinates of the goods to be loaded in the three-dimensional rectangular coordinate system. The first spatial information of the container and the second spatial information of the goods to be loaded relative to the container are obtained, and then the following is further included: According to the first spatial information, obtaining a maximum value and a minimum value of the container on a target coordinate axis, wherein the target coordinate axis is an x-axis, a y-axis or a z-axis in the three-dimensional rectangular coordinate system; According to the second spatial information, obtaining the maximum value and the minimum value of the cargo to be loaded on the target coordinate axis; Detecting whether the maximum value and the minimum value are both within the interval formed by the maximum value and the minimum value; When at least one of the maximum value and the minimum value is outside the interval, it is preliminarily determined that the cargo to be loaded exceeds the loading range of the container; Alternatively, when both the maximum value and the minimum value are within the interval, it is preliminarily determined that the cargo to be loaded is within the loading range of the container.

7. The method for detecting overload according to claim 6, It is characterized in that The acquiring, according to the first spatial information, first projection information of the non-rectangular view of the container on a coordinate plane of a preset coordinate system includes: When both the maximum value and the minimum value are within the interval, first projection information of the non-rectangular view of the container on a coordinate plane of a preset coordinate system is acquired according to the first spatial information.

8. The method for detecting overloading according to any one of claims 1 to 7, It is characterized in that The method further comprises: Outputting a detection result and / or loading prompt information of the cargo to be loaded, wherein the detection result is used to indicate whether the cargo to be loaded exceeds the loading range of the container, or is used to indicate whether there is a collision between the cargo to be loaded and the cargo already loaded in the container, and the loading prompt information is used to indicate the loading position and / or loading posture of the cargo to be loaded.

9. The method for detecting overloading according to any one of claims 1 to 7, It is characterized in that The method further comprises: When it is detected that the cargo to be loaded does not exceed the loading range of the container, the cargo to be loaded is loaded into the container according to the second space information.

10. A loading over-range detection device, It is characterized in that The loading over-range detection device comprises: An acquisition unit, used to acquire first spatial information of the container and second spatial information of the goods to be loaded relative to the container in a placement state; The acquisition unit is further used to acquire the coordinates of the non-rectangular view projected by the container on the coordinate plane of the preset coordinate system according to the first spatial information, wherein the coordinates of the non-rectangular view include the first coordinates of the outline boundary point of the non-rectangular view; The acquisition unit is further used to acquire the coordinates of the cargo view projected by the cargo to be loaded on the coordinate plane according to the second spatial information, wherein the coordinates of the cargo view include the second coordinates of the outline boundary points of the cargo view; A processing unit is used to detect whether the outline boundary point of the cargo view is within the outline boundary point of the non-rectangular view according to the first coordinate and the second coordinate, so as to detect whether the cargo to be loaded exceeds the loading range of the container.

11. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the method for detecting over-range loading as claimed in any one of claims 1 to 9 is executed.

12. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the loading over-range detection method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Container volume measuring method and depth camera module

    CN109993785A

  • Device and method for determining the volume of an object moved by an industrial truck

    DE102014011821A1