Method and processor circuit for estimating an absolute area value of a free loading area and / or an absolute length value of free loading metres in a cargo space, and logistics system

EP4420082A1Pending Publication Date: 2024-08-28CONTINENTAL AUTOMOTIVE TECHNOLOGIES GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022800078
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-20
Filing Date
2022-10-17
Publication Date
2024-08-28

AI Technical Summary

Technical Problem

Fleet managers lack accurate information about the remaining transport capacity in cargo holds, as existing methods require additional hardware installations and are inefficient in determining the free loading area and length, especially in truck trailers and freight containers.

Method used

A method using image processing and artificial intelligence to estimate the absolute area and length of free loading space in cargo holds based on photographs taken by truck drivers, without the need for additional hardware, by segmenting the image data and calculating pixel values to determine available space.

Benefits of technology

Enables accurate estimation of free loading area and length without additional circuitry, simplifying image processing and improving logistics by allowing fleet managers to assess and allocate additional loads effectively, reducing unnecessary trips and enhancing capacity utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a method (35) for estimating an absolute area value and / or an absolute length value of free loading metres of a free loading area (12) in a cargo space (13), the free loading area (12) being an uncovered part of an overall rectangular total loading area (25) of the cargo space (13). According to the invention, image data (17) from a camera (16) are received by a processor circuit (15) and show a photograph (18) of the free loading area (12), wherein the free loading area (12) depicted in the photograph (18) is determined in the image data (17) by means of a segmentation algorithm (40), and, from the pixels (82) which show the segmented free loading area (12), associated absolute pixel area values (88) of the pixels (82) are added to form the absolute area value.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Description

[0002] Method and processor circuit for estimating an absolute area value of a free loading area and / or an absolute length value of free loading meters in a cargo space, as well as logistics system

[0003] The invention relates to a method and a processor circuit for estimating an absolute surface value of a free loading area in a loading space or cargo hold. The term “free loading area” here refers to an uncovered part of the total loading area of ​​the cargo hold (cargo hold floor), and the real or absolute surface value is specified in square meters or square feet or similar, i.e., a specification in an absolute surface unit. Another advantageous unit is the so-called free loading meters, which specify the length of free loading area, which can be derived from the area, for example, and which is guaranteed to still be available in the cargo hold. The estimate should be capable of being made based on a photograph of the free loading area and loading meters. The invention also comprises a logistics system that uses the said processor circuit.

[0004] The loading status of a logistics company's truck trailers (trucks) or other cargo space is often unknown to fleet managers. As a result, fleet managers are unable to accept or allocate additional loads on the routes their trucks travel.

[0005] However, it is common practice for truck drivers to take photos of the interior of the cargo compartment after loading goods or freight to document compliance with load securing procedures. However, these images do not provide any information about the cargo status.

[0006] A method for estimating the remaining transport capacity in the cargo holds of a logistics system is known, for example, from EP 3 872 461 A1. The method uses image data from a photograph taken, for example, by a driver of the respective cargo hold. Using an image processing algorithm, the information about the remaining free loading space is determined from the image data.

[0007] EP 3 872 725 A1 also discloses a method for determining the loading status of a cargo compartment of a truck. According to this method, the location of cargo items is determined from a photograph of the cargo compartment, and the distance from the front edge of the cargo compartment at the entrance to the cargo items is estimated using a grid projection. This requires the installation of a projector to project the grid projection into the cargo compartment.

[0008] The invention is based on the object of estimating the remaining free loading area in a cargo space, for example in a trailer or box of a truck or in a freight container, with little hardware effort.

[0009] The problem is solved by the subject matter of the independent patent claims. Advantageous developments of the invention are described by the dependent patent claims, the following description, and the figures.

[0010] As one solution, the invention comprises a method for estimating an absolute surface area of ​​a free loading area and / or an absolute length value of the so-called free loading meters in a cargo hold. The free loading area is an uncovered part of the total loading area of ​​the cargo hold. As already described, the term "absolute" here refers to a value in an absolute length or area unit. An absolute area value is thus a value, for example, in square meters or square decimeters or square centimeters or square feet, to name just a few examples. In contrast, a relative area value would be a value in a ratio, for example 50 percent or 70 percent. An absolute length unit is accordingly a value in meters or centimeters or feet, to name just a few examples.The cargo space whose remaining free loading area is to be estimated can, for example, be in a trailer of a truck, the loading area of ​​a truck, or in a freight container. The free loading area is the part on which, for example, pallets or general cargo items can still be placed or stored on the floor of the cargo space. If only the absolute length value is required (not also the absolute area value), the absolute pixel depth values ​​assigned to those pixels which form a vanishing line in the photograph connecting a respective top edge (rear end or trailing edge) and a bottom edge (front end or leading edge) of the segmented free loading area can be summed to form the absolute length value of the free loading meters. However, if the absolute width value of the entire loading area is known, the absolute length value can instead be calculated from the absolute area value.

[0011] The process uses the photograph described above, such as one taken by a truck driver to document load securing. Using these photographs or images, the free floor space (i.e., the free loading area) in the trailer or in the cargo area in general is estimated using image processing and / or artificial intelligence.

[0012] For this purpose, a processor circuit receives image data from a camera representing a photograph of the free loading area. A segmentation algorithm is used to determine the free loading area depicted in the photograph. This provides information about which and / or how many pixels correspond to the free loading area. For those pixels representing the segmented free loading area, the assigned absolute pixel area values ​​are summed to form the absolute area value. This provides the desired information about the free loading area as an absolute area value.

[0013] A smartphone, tablet PC, smartwatch, or smart glasses (data glasses), for example, can be used as a camera. This means that there is no need for a sensor (e.g. camera, lidar, radar, ultrasonic sensor) permanently installed in or on the cargo hold. The processor circuit in question can be integrated into the camera, for example in a smartphone, or it can be a so-called backend server or a server computer that receives the image data from the camera via a communication connection, such as an internet connection. In such a photograph, what is known as segmentation can be carried out; that is, a distinction or assignment as to what is represented by an individual pixel in the photograph, i.e. whether the pixel is part of the image of the free loading area or part of an image of a piece of cargo, to name just a few examples.Thus, after applying a segmentation algorithm, information is available for each pixel as to whether this pixel represents the free loading area or not. A very simple implementation of a segmentation algorithm can, for example, be based on an evaluation of color information in the photograph. If it is known that the entire loading area, i.e. the floor of the cargo hold on which cargo items can be arranged, has a characteristic color, for example light gray, red, or wood-colored, and the adjacent area has a different color, it is possible to determine for a pixel in the photograph whether it has this characteristic color. This pixel can then be interpreted or assigned as a representation of part of the free loading area or to the free loading area, a process known as segmentation. However, this is only an example; a preferred segmentation algorithm is described below.

[0014] The entire loading area can be assumed to be aligned or arranged horizontally. From a photograph of a horizontally arranged entire loading area, geometric calculations can be used to determine how much absolute area the "image section" of a single pixel corresponds to or represents. If one imagines the pixel as a rectangular section of the photograph, then a back projection can be calculated using the geometry of the camera and / or the camera's optical system, for example, which can be used to determine onto which area in the loading space or cargo area this rectangle of a single pixel would be projected on the free loading area if the back projection were carried out. The area size resulting from projecting, for example, the said rectangle of the pixel onto the free loading area gives the said absolute pixel area value, which can be, for example, in a range of 5 cm 2 up to 0.5 m 2If one summarizes all those pixels that are categorized, labeled, or marked as free loading area according to the segmentation algorithm, the desired area can be calculated by calculating or summing their individual pixel area values.

[0015] Depending on the circumstances or conditions under which the photograph was taken using the camera, it may be known in advance how much of the cargo space is represented by a single pixel. A pixel represents a rectangular image section (the aforementioned "rectangle") in which a part of the scenery visible from the camera, in particular the free loading area, is depicted or represented. If the area of ​​the part of the free loading area represented by a single pixel is known (indicated by an absolute pixel area value), the total available free loading area can be calculated as an absolute area value by summing up all those pixels that belong to the free loading area according to the segmentation algorithm. For example, if the relative position of the camera to the total loading area is known, the absolute pixel area value per pixel can be fixed in the configuration data.The respective absolute pixel area value of the area of ​​the free loading area represented by a single pixel can thus, for example, be determined in advance and stored in a table to provide a simple example of an embodiment of the invention. A camera operator can then ensure that the camera captures the photograph from a perspective or position that results in a corresponding image of the free loading area, which can then be converted or mapped into absolute pixel area values ​​using the configuration data.

[0016] The invention offers the advantage that no additional circuitry installation is required in the cargo hold itself to indicate the remaining free loading area, i.e., the portion of the total loading area not yet covered by a piece of cargo, as an absolute area value, for example, to indicate that 3 square meters or 7.5 square meters of free loading area are still available in the cargo hold. Another advantage is that the photograph / image data actively searches for the free loading area, rather than the other way around, for pieces of cargo or obstructing objects on the total loading area. This significantly simplifies image processing because the diverse possible shapes of cargo items do not have to be taken into account.

[0017] The invention also includes further developments which result in additional advantages.

[0018] A further development comprises assuming or giving rise to the assumption that the entire loading area is rectangular, and in the photograph, a front edge of the rectangular overall loading area is shown arranged parallel to a sensor plane of an image sensor of the camera, and opposite side edges of the overall loading area in the cargo space extend vertically from the front edge to the rear. In other words, the floor of the cargo space is rectangular, as is usual for freight containers or trailers of trucks. To ensure that the photograph depicts or depicts the cargo space with the overall loading area in the manner described, an instruction can, for example, be specified or issued to the camera operator.This can be achieved, for example, using an application program (a so-called app) that can be run in the camera, for example a smartphone, in order to ensure that the operator takes the photograph from a corresponding perspective. The front edge is therefore arranged parallel to the sensor plane of the image sensor and preferably aligned horizontally. The photograph is preferably taken centrally in relation to the front edge so that, starting from the camera, a left section and a right section of the front edge are the same length. The photograph is preferably taken from a height of between 1.4 meters and 2 meters above the overall loading area. The overall loading area is preferably aligned horizontally while the photograph is taken. The free loading area is preferably photographed diagonally from above from an area outside the overall loading area.Preferably, the sensor plane of the image sensor is arranged parallel to a vertical rear wall of the cargo compartment that borders the entire loading area at the rear. All this helps prevent perspective distortion of the imaged edges and / or lines from distorting the estimate of the absolute area value. Corresponding instructions can be issued in the manner described via the camera, for example a smartphone, so that the operator behaves accordingly. Additionally or alternatively, a display (screen) of the camera can show at least one orientation line or guide line, preferably several guide lines, which are to be aligned with, for example, the front edge and / or the side edges before the camera shutter is pressed, i.e. before the image data is generated.Additionally or alternatively, the camera can be automatically triggered when an image processing algorithm detects that the leading edge and / or the side edges are aligned with predefined guide lines. All that's required is for the operator to align, pan, or move the camera. If the image processing algorithm detects that the leading edge and / or the side edges are aligned with the orientation lines or guide lines, the photograph is automatically taken or the camera is triggered.

[0019] Based on this, the method comprises receiving an absolute width value of the entire loading area and thus a length of the front edge for the entire loading area. Such an absolute width value can be determined, for example, based on a model specification of a model of the cargo space, for example a model of a trailer of a truck. The absolute width value can also be read out, for example, from a standard that applies to this type of cargo space, as is known, for example, for freight containers for shipping. The width value and / or a model specification relating to the cargo space can be received, for example, via the camera, for example a smartphone, from the operator who took the photograph. Furthermore, the method comprises determining a respective profile line of the side edges in the image data based on the image data using a vanishing line detection algorithm.As already explained, in addition to the front edge, which is arranged or runs horizontally and crosswise in the image or photograph, the photograph also contains part of the side edges that delimit the entire loading area to the right and left and that are aligned towards the background of the image. In reality, the side edges are arranged parallel, i.e. on the actual entire loading area. In the photograph, however, they are aligned towards a vanishing point, as is known for the perspective distortion or perspective misalignment of photographs of a rectangle. Since the photograph is aligned obliquely from above onto the entire loading area, in particular the free loading area, the resulting arrangement of the side edges tapers upwards in a triangular manner, starting from the two ends of the front edge.In a simple embodiment, the vanishing line detection algorithm can, for example, be based on the side edges being marked in color, for example, by red adhesive strips or a known color, making them stand out from the surroundings or displaying them with high contrast. The course of such a colored line in the photograph can then be detected in image processing using color comparison. However, this is only a simple example of a vanishing line detection algorithm. A conventional edge detection algorithm can also be used.

[0020] In addition, it is intended that "pixel rows" are determined in the photograph in the area of ​​the segmented free loading area. These consist of those pixels that extend from one of the gradient lines to the other of the gradient lines of the side edges. For each pixel row, an absolute pixel width value is determined from the absolute width value of the entire loading area and the respective number of pixels in the pixel row. The triangle enclosed by the front edge and the gradient lines of the side edges can be rasterized line by line, at least in part, in the photograph or in the image, so that horizontally running pixel rows are created or these are defined or determined.Since the absolute width value is known—a value that can, for example, range from one meter to eight meters—and this absolute width value applies to each pixel row connecting both gradient lines (distance between the side edges), dividing the absolute width value by the number of pixels in the respective pixel row can determine which absolute pixel width value is represented by the pixel, i.e., its horizontally represented absolute dimension on the free loading area. A possible absolute pixel width value could, for example, be a value in a range of 2 cm to 50 cm. This also depends on the pixel density of the described image sensor.

[0021] For the absolute pixel area value of the rectangle represented by the pixel on the free loading area, the second dimension is still missing: an absolute pixel length value or pixel depth value, which indicates how far or how deep the pixel area represented by the pixel on the free loading area extends into the background or away from the camera. For this purpose, an image ratio is determined, which indicates the size ratio in which a line arranged parallel to the sensor plane (especially horizontal) is then imaged on the sensor plane in the real environment, depending on its absolute distance from the camera and / or depending on the focal length of the camera. The line represents the width of a (real) object that is imaged on the image sensor.In a simple embodiment, the image ratio can be determined, for example, through experiments or test measurements, so that a map and / or a lookup table can be provided in the processor circuit. Using the image ratio, it can be determined how far an object or line must have been from the camera for its width (namely, the absolute width value) to map onto or correspond to a specific or given number of pixels.

[0022] Using the magnification ratio, for example, one can determine how far a line 2.5 meters wide must be from the camera to have a width or length of 520 pixels in the photograph. The magnification ratio can therefore be specified as follows: X meters wide at a distance of A meters will be mapped to N pixels wide in the photograph. Since M and N are known, A can be calculated.

[0023] Now, for each pixel row, an absolute distance value of the pixel row can be calculated based on the absolute width value, the aspect ratio, and the number of pixels in the pixel row. An absolute pixel depth value can be calculated from the absolute difference between the distance value of pixel row n and the distance value of a neighboring pixel row n+1. It can therefore be assumed that the absolute distance value of a pixel row corresponds, for example, to the distance between the front edge of the rectangle represented by the pixel on the loading area or the rear edge of this rectangle. The absolute difference between the absolute distance values ​​of two neighboring pixel rows or pixel rows, or those lying on top of each other in the photograph, can then be taken as an indication of the pixel depth, or the length of the rectangle represented by the pixel, in the direction of the image depth, i.e. perpendicular to the front edge of the entire loading area.This estimate has proven to be suitable for calculating a precise estimate of the free loading area as an absolute area value.

[0024] The product of the pixel width value and the pixel depth value corresponds to the absolute pixel area value of the rectangle represented by the pixel on the free loading area. This allows an absolute pixel area value corresponding to the respective pixel for each pixel of the pixel rows to be calculated from the pixel width value and the pixel depth value and assigned to the pixel. Thus, knowing the aspect ratio, it is possible to estimate, without additional markings on the free loading area, which absolute pixel area value is represented, depicted, or shown by each pixel on the free loading area.

[0025] Alternatively, markers may be applied to the entire loading area, for example, color-contrasting symbols, such as rectangles on the entire loading area. Using an image processing algorithm, such a marker can be detected, for example, based on its color value, which produces corresponding pixel values, and it can be counted how many pixels are contained in the image of such a marker. Since the area of ​​such a marker is known (for example, the size of such a marker can be in the range of 5 cm). 2 up to 40 cm 2 ), it is also possible to estimate the absolute pixel area value each pixel in the marker represents or maps. This pixel area value then also applies, at least approximately, to surrounding pixels. Multiple markers can be provided for different image depths.

[0026] A further development of the vanishing line detection algorithm includes performing edge detection in the photograph, extending detected edges to create intersection points of the extended edges, and defining a region with the highest intersection point density as the vanishing point of the photograph. The contour lines are defined as connecting lines from the vanishing point to each end of the front edge. This vanishing line detection algorithm has the advantage that it is not necessary to know which of the edges shown in the photograph represent the actual side edges of the entire loading area. Therefore, no preparation of the side edges, for example, by color marking, is necessary.It has been shown that the described vanishing line detection algorithm results in the vanishing point in the image being the strongest or most probable intersection point or most frequent intersection point of the pairwise intersections of the extended edges, which leads to the value of the highest intersection point density. The region can represent a single pixel or a group of several pixels, for example a rectangle with an edge length of 30 pixels by 30 pixels, to name just one example. The number of intersection points located in different regions can then be evaluated. The region with the highest intersection point density (e.g. its center) then represents the vanishing point. As already described, the side edges in the described geometric arrangement point to this vanishing point. A line connecting this vanishing point with one end of the front edge of the entire loading area then corresponds to the course of the two side edges.However, this connecting line is longer than the side edges because the vanishing point may be in the area of ​​the rear wall of the cargo hold and / or the side edges may be partially obscured by cargo items.

[0027] A further development comprises the segmentation algorithm comprising the image data being fed to a machine learning model as input data, wherein the model is trained to assign respective pixels to one of the following classes by means of a pixel-by-pixel classification of the image data: the entire loading area, an inner side wall of the cargo compartment, a ceiling of the cargo compartment, and the model generates corresponding segmentation data, wherein a respective pixel of an unknown object leads to a segmentation result that differs from the classes. For example, it can be provided to provide training photographs to which so-called labeling data is additionally provided, which indicates where the entire loading area, the inner side wall, and the ceiling of the cargo compartment are located in the respective training photograph. A training photograph can depict an empty cargo compartment or a loaded cargo compartment.In a training photograph with a loaded cargo hold, the free loading area, i.e. the visible part of the entire loading area, is labeled or marked instead of the entire loading area. It has been shown that a machine learning model can use such photographs to generate segmentation information or segmentation data that indicates where the free loading area, inner side wall, or ceiling is located in a photograph of a loaded or unloaded cargo hold. A different output value can be provided for the loading area, inner side wall, and ceiling. For such a machine learning model, it has been shown that all remaining elements or objects, i.e. unknown objects (not the loading area, inner side wall, or ceiling), are then labeled by the model with a corresponding value or a corresponding segmentation result.For example, if the loading area is represented by a black pixel, the inside side wall is dark gray, and the ceiling is light gray, the segmentation result for an unknown object can be white. An example of a suitable machine learning model is an artificial neural network. Corresponding training algorithms for training such a model in the manner described are known from the prior art. An alternative model could be, for example, a so-called decision tree or a support factor machine (SVM). The use of the segmentation algorithm with the described machine learning model to detect the free loading area, i.e., the free part of the total loading area of ​​a cargo hold, represents an independent invention.

[0028] A further development comprises overlaying or masking a triangular area consisting of the contour lines of the side edges and the front edge of the cargo space floor (total loading area) with the segmentation data, and defining the free loading area as the intersection of the triangular area and the pixels of the “total loading area” class. Thus, the output of the segmentation algorithm, which delimits the pixels belonging to the loading area, i.e., the total loading area of ​​the cargo space, laterally by the contour lines and the front edge, can produce a more precise segmentation result or a more precise segmentation of the free loading area, since the contour lines and the front edge delimit the total loading area, while the segmentation data segments or marks the area of ​​the total loading area, i.e., the free loading area, that is recognizable or visible in the respective photograph.This can be used to address the problem that the edges of segmented regions, such as the total loading area, may be blurred in the segmentation data.

[0029] A further development includes that the image ratio is the ratio

[0030] Number of pixels in a pixel line / distance from the sensor plane to a camera lens describes the absolute width value / distance of the line (i.e., the object) from the lens. This means that the image ratio can be determined by calculation without prior tests or experiments, and therefore without a table or map. The geometric calculation described here is based on optical ratios and the ray theorem. The distance from the sensor plane to the lens can be determined, for example, from the camera model or the camera type. The metadata available in the image data can be used to advantage for this purpose; this metadata usually also specifies the lens type in addition to the camera type.

[0031] A further development involves determining the image ratio based on a focal length value of the photograph and / or a camera characteristic map. The characteristic map described here is the storage of the data that can be generated through experiments to empirically determine the image ratio. The resulting image ratio, for example, the magnification factor, can also be determined from the focal length value.

[0032] Through further geometric calculation based on the ray paths of the light, the following image ratio can also be derived:

[0033] Width of the object (ie length of the line) on the sensor / focal length f = absolute width value of the object (ie length of the line) / distance to the lens.

[0034] A sensor dimension for converting the width of an image of an object on the sensor into a corresponding number of pixels can be determined, for example, based on the camera type / model used or from the aspect ratio and crop factor of the camera's image sensor. The width of a pixel is also referred to as pixel pitch, which is an absolute distance and thus the effective absolute width of a pixel in millimeters or micrometers.

[0035] Another calculation option is given by

[0036] 1 / focal length f

[0037] 1 / distance from sensor plane to lens + 1 / distance of the object to the lens. As a concrete implementation, for example, based on the above equations, it can be provided that for a pixel row that connects the said gradient lines with their known absolute distance value (=absolute width value of the total loading area), their number of pixels is counted and based on the calculation, the absolute image width of the object on the image sensor

[0038] Total sensor width in mm * number of pixels in the pixel line / total sensor width in pixels the absolute width value of the pixel line in millimeters (mm) is determined as an intermediate result and thus the distance of the imaged line represented by the pixel line: absolute distance value of the object (horizontal line between the side edges) to the lens absolute width value (e.g. 2.5 meters) * focal length f / absolute image width of the object on the image sensor.

[0039] A further development comprises determining the image ratio from predetermined meta information contained in the image data, in particular from EXIF ​​data (Exchangeable image file format). As already explained, the model of the camera and / or a lens used can be determined from the meta information. In addition, the focal length f used is also available in meta information, in particular the EXIF ​​data. Additionally or alternatively, depth value data can be used, as is known, for example, in connection with the so-called portrait mode of cameras. A TOF sensor (TOF - Time of Light) can be used here, the depth values ​​or depth data of which indicate the distance between an image point or pixel and the camera. A further development comprises determining the absolute width value from type data of a container type in the cargo hold.The type data of such a container type can be determined, for example, from design data of the cargo space.

[0040] A further development comprises detecting edges of a rectangular entrance opening of the cargo hold as a rotated rectangle in the image data, and straightening the image data by rotating the image and / or cropping it to the rectangular entrance opening by calculating a section. In other words, the entire entrance area or the frame of the cargo hold, for example the door frame or gate frame of a trailer of a truck or the entrance of a freight container, can be depicted in the photograph. This results in the advantage that a rectangular shape is present in the photograph, which can be detected using a known algorithm. This can be used to ensure that the leading edge is depicted as a horizontal line.In addition, the frame of the entrance to the cargo hold can be used to determine which part of the photograph or image represents the interior of the cargo hold or the interior of the cargo hold.

[0041] A further development includes the photograph depicting the cargo space of a truck, a freight container, a box of a truck, a transport vehicle, a freight wagon, a ship, or a transport aircraft. The method has proven particularly robust and reliable for these two types of cargo spaces.

[0042] As a further solution, the invention comprises a processor circuit configured to carry out an embodiment of the method. The processor circuit can, for example, be operated stationary in a logistics company or in a data center of a logistics company. The processor circuit can comprise one or more microprocessors, which can be coupled to a data memory in which program instructions can be stored which, when executed by the processor circuit, cause it to carry out the embodiment of the method. The image data of the photograph can be received by the processor circuit from the camera, for example, via an internet connection or a communications connection.Of course, the processor circuit can also be configured to receive image data from multiple cameras, allowing the free loading area of ​​multiple cargo compartments to be analyzed in terms of absolute area in the manner described. Thus, the total free loading area available in multiple cargo compartments can be determined by the processor circuit.

[0043] As a further solution, the invention comprises a logistics system with an embodiment of the processor circuit and with a receiving device for receiving image data from photographs of different cargo spaces. The logistics system is configured to use the processor circuit to determine a respective free loading area of ​​the cargo space and, depending on this, to control the distribution of freight items to be transported. Thus, the transport or distribution of freight items among several cargo spaces can be carried out by the logistics system on the basis of the processor circuit and thus on the basis of an embodiment of the method according to the invention.

[0044] The invention also includes combinations of the features of the described embodiments.

[0045] An exemplary embodiment of the invention is described below. It shows:

[0046] Fig. 1 is a schematic representation of an embodiment of the logistics system according to the invention with a processor circuit;

[0047] Fig. 2 is a flowchart of an embodiment of the method according to the invention, as it can be executed by the processor circuit of the logistics system of Fig. 1; Fig. 3 is a diagram illustrating method steps of the method of Fig. 2;

[0048] Fig. 4 is a sketch illustrating a calculation of pixel area values ​​of pixels of a photograph showing a free loading area of ​​a cargo hold; and

[0049] Fig. 5 is a sketch illustrating the process steps for calculating the free loading meters.

[0050] The exemplary embodiment explained below is a preferred embodiment of the invention. In the exemplary embodiment, the described components of the embodiment each represent individual, independently considered features of the invention, which also further develop the invention independently of one another and are thus also to be considered as components of the invention, either individually or in a combination other than that shown. Furthermore, the described embodiment can also be supplemented by further features of the invention already described.

[0051] In the figures, functionally identical elements are provided with the same reference numerals.

[0052] Fig. 1 shows a logistics system 10 by means of which it can be monitored how much free loading space 12 is still available in the cargo holds 13 of the trucks 11 in a truck fleet with at least one truck 11. In Fig. 1, only one truck 11 is shown; ellipses 14 are intended to indicate that the truck fleet can include additional trucks 11. To determine the total available free loading space 12 per truck 11, the logistics system 10 can have a processor circuit 15. The processor circuit 15 can receive image data 17 from at least one camera 16, which show a photograph 18 of the cargo hold 13. The image data 17 can be transmitted from the camera 16 to the processor circuit 15, for example, via the internet 19 and / or a mobile radio network 20, for example by means of known internet connections 21.The camera 16 can be implemented, for example, by a smartphone 22. Using the camera 16, for example, a driver of the respective truck 11 can take the photograph 18 of the cargo space 13. Each driver can, for example, use his or her own smartphone 22 for this purpose. The photograph 18 can be taken in such a way that a front edge 23 is depicted as a horizontal line in the photograph 18 and the camera 16 is held above the free loading area 12 such that the free loading area 12 is visible from an oblique perspective from above, as shown in Fig. 1. In the example shown, the cargo space 13 is already partially loaded with freight items 24, which can be pallets, for example.The free loading area 12 can be a component of a total cargo space floor available in the cargo space 13 or the total loading area 25, which can be formed, for example, by the floor of the cargo space 13. Furthermore, it is shown how the total loading area 25 can be delimited by side edges 26, and further, it is shown how interior side walls 27, a ceiling 28, and a rear wall 29 can also be visible in the photograph 18. For example, the photograph 18 can be photographed from outside the cargo space 13 through a door frame 30, which can also be depicted in the photograph 18, so that it is shown as an outer rectangle framing the cargo space 13.

[0053] The logistics system 10 can use the processor circuit 15 to calculate an absolute area value from the received image data 17, which can indicate how many square meters or square decimeters or square feet of free loading area 12 are still available in the respective cargo space 13. This diagram shows how, for an individual truck 11, which can be represented in the processor circuit 15 by its vehicle ID V-ID, it can be determined to what extent the loading capacity CAP in the cargo space 13 has already been exhausted and how much free loading capacity is still available. Since an absolute area value has been determined, the storage space for additional pallets 33 can be determined accordingly, which in Fig. 1 can result in an exemplary load value 34 of additional pallets 33. Fig. 1 also shows how, using a method 35, it can be determined where on the total loading area 25 the free loading area 12 can be found.By means of an additional algorithm, a half-loaded loading area 32, which is covered by freight items but still has space towards the ceiling 28, can also be located.

[0054] The method 35 for finding or determining the free loading area 12 in the cargo space 13 is described below with reference to Fig. 2 and illustrated by Fig. 3.

[0055] It is assumed here that, as the starting point SC, a cargo hold 13 has been loaded with cargo items 24 and, in a step S11, an operator, for example a driver of the truck 11, takes the photograph 18 using a camera 16. In a step S12, the image data 17 of the photograph 18 can be transmitted to the processor circuit 15 of the logistics system 10 in the manner described. The image data 17 of the photograph 18 is preferably color image data, i.e., an RGB image (RGB - red, green, blue). It can, for example, be stored in the image data 17 in JPG format (JPG - joined photographic expert group).

[0056] In a step S13, image preprocessing can be carried out, for example to emphasize edge gradients, as can be achieved with the “unsharp mask” algorithm.

[0057] In a step S14, a segmentation algorithm 40 can be executed. For example, the image data 17 resulting from step S13 can be passed as input data to a machine learning model 41, for example, an artificial neural network. The model 41 can perform a pixel-by-pixel segmentation or categorization of the pixels of the photograph 18. For this purpose, a segmentation result is shown in Fig. 3 as segmentation data 42, which can contain segmentation results 25' for the detection of the entire loading area 25, 27' for the detection of the interior side walls 27, and 28' for the detection of the ceiling. A segmentation result 43 of an unknown object can result, for example, from the cargo items 24 and / or the rear wall 29. It is shown that boundaries or edges can be blurred or fuzzy, as can result from a machine learning model. Step S13 can also be performed after step S14.

[0058] The segmentation algorithm can further provide a binary segmentation 50, in which the classes "total loading area", "interior side walls", and "ceiling" are assigned a first segmentation value 51 from the segmentation data 42, and all remaining segmentation results 43 are assigned a second segmentation value 52, for example, 1, i.e., different from the first segmentation value 51. This results in a total segmentation mask 53.

[0059] Step S15 may, for example, comprise a rotation such that the door frame 30 is represented as an upright rectangle, so that the front edge 23 represents a horizontal line in the rotated photograph. Furthermore, a cropping calculation 54 may be performed, which provides for image areas outside the door frame 30 to be cut away, so that the only remaining image content is through the door frame 30, i.e., the view into the cargo hold 13. The door frame 30 represents an entrance opening of the cargo hold 13.

[0060] In a step S15, the image section from the section calculation

[0061] 54, edge detection can be applied, by which edges in the cargo hold 13 that are visible in the photograph 18 are detected. Each detected edge can be extended so that it extends over the entire image.

[0062] This results in 55 intersection points, of which only some are provided with a reference symbol for the sake of clarity.

[0063] It has been found that the intersection points 55 accumulate or concentrate in the area of ​​the vanishing point 56 of the photograph 18. In other words, there is a region 57 in which a density or frequency of intersection points

[0064] 55 is the largest, which corresponds to the vanishing point. This can be detected, for example, by means of a histogram representation 58, which indicates for individual regions, for coordinates X and Y in the image or photograph 18, how many intersection points 55 were detected in each region. This allows region 57 to be identified as the region with the greatest local or regional density of intersection points 55.

[0065] Fig. 3 further illustrates how a triangle 60 can be determined which connects the determined vanishing point 56 and outer ends 61 of the front edge 23 of the overall loading area.

[0066] The segmentation algorithm 40 can further comprise a step S16, according to which the triangle 60 and the binary segmentation 50 are superimposed or combined as a mask. For this purpose, the triangle 60 can also be defined as a binary value, so that a pixel-by-pixel superimposition or combination is possible, but other geometric calculations can also be applied for combining the area of ​​the triangle 60 and the binary segmentation 50. This identifies or segments the area 62 that lies within the triangle 60 and thus corresponds to the gradient edges 63 of the side edges 26 and is closed off at the front by the front edge 23. This corresponds to an estimate of the total loading area plus a part of the rear wall 29 up to the vanishing point 56. If this is superimposed with the binary segmentation 50, the part of the triangle 60 that is classified by the machine learning model 41 as belonging to the class “total loading area” (i.e."cargo compartment floor") are properly combined. The overlay result 64 can thus be used to detect the free loading area 12. However, the blurred edges from the segmentation data 42 are eliminated.

[0067] Fig. 3 shows how, in the photograph 18 or in the image section of the loading space or cargo hold 13, the free loading area 12 can be identified or marked as a pixel set 65 in a step S19. Fig. 4 illustrates how, based on the pixel set 65, i.e., those pixels in the image data 17 that represent the free loading area 12, it can be determined which absolute or real area or which absolute area value the free loading area 12 corresponds to.The left-hand side shows how, using geometric calculations based on the image data 17 of the photograph 18, the width of a horizontal line 70 with a known absolute width or an absolute length value can be determined by imaging light rays 71 via a lens system 72 of the camera 16 onto a sensor plane 73 of an image sensor 74 of the camera 16, resulting in a line image 70' with a resulting image length (for example, specified in a number of pixels). This results in an overall image ratio 75, which depends on a distance value 76 of the respective line 70 to the camera 16. An example of calculating the distance value 76 based on an image length of an imaged line or line image 70' of a horizontal line 70 can be found, for example, on the website www.lensation.de / calculator.html.

[0068] Fig. 4 on the right shows that this can be used in a step S17 to infer or calculate a real or absolute distance value 76 for horizontal lines, such as the front edge 23, given a known absolute width value 80 of the front edge 23 and thus the width of the entire loading area 25. Fig. 4 illustrates how the free loading area 12, i.e. the pixel set 65, can be divided into individual pixel rows 81 of the horizontally adjacent pixels 82. For the sake of clarity, only a few pixels 82 and a single pixel row 81 are provided with a reference symbol. For each pixel 82, an absolute pixel width value 84 can be calculated, which indicates the width of the part of the free loading area 12 represented by the pixel 82.This can be calculated by dividing the absolute width value 80 of the width of the total loading area by the number of pixels in the respective pixel row 81, resulting in the absolute or actual pixel width value 84. For each pixel row 81, the absolute distance value 76 for the pixel row 81 can be determined or calculated based on the number of pixels 82 it contains and the image ratio 75. This absolute distance value 76 can, for example, be interpreted as the distance of a pixel leading edge 85 of the pixel. If the absolute distance value 76 of the subsequent pixel row n+1 is also taken for each pixel row n, the distance of the pixel trailing edge 86 can be estimated for the absolute distance value 76 of the pixel row n+1. Overall, this results in an absolute pixel depth value 87 as the difference between the absolute distance values ​​of the pixel leading edge 85 and the pixel trailing edge 86.

[0069] The product of the absolute pixel width value 84 and the absolute pixel depth value 87 then results in a pixel area value 88 of a pixel area of ​​a respective individual pixel 82. Thus, an absolute pixel area value 88 can be assigned to each pixel 82 that represents the free loading area 12, i.e., to each pixel 82 of the pixel set 65.

[0070] By summing all pixels 82 of the free loading area 12 in a step S18 (Fig. 2), the absolute area value of the free loading area 12 is obtained, as it can be determined or calculated from the photograph 18, i.e., its image data 17, without additional technical aids in the cargo space 13.

[0071] The absolute width value 80 and / or the image ratio 75 can be determined, for example, by configuring the processor circuit 15 and / or by an input from an operator.

[0072] Fig. 5 illustrates how, by means of the known absolute pixel depth value 87 from a series of pixels 100, each of which is arranged along a predetermined alignment line 101, a respective absolute length value of the free loading path or the free loading meters 102 can be calculated by summing the pixel depth values ​​87 of the respective pixel row. The respective alignment line 101 can be arranged at predetermined positions 103 of the segmented free loading area 12, e.g., center, center left half, center right half. The free loading area (12) is preferably divided into several lanes (in particular either 3 lanes or 2) in order to determine how many pallets can be placed in the remaining space, i.e., a coordination with a planned pallet width can take place. The respective alignment line 101 connects a front edge 104, arranged at the bottom in the photograph, of the segmented free loading area 12, i.e.Typically, with error-free segmentation, the front edge 23, with a rear edge 105 of the segment-free loading area 12 positioned at the top in the photograph, as can result from the binary segmentation 50. The respective vanishing line 101 points to the vanishing point 56.

[0073] The main advantage is that there is no need to install any circuit hardware in the trailer or cargo area to determine the free capacity / free loading area.

[0074] Estimating the remaining free cargo space in a trailer or other transport container using machine vision requires only a view of the remaining free cargo area. The best field of view would be from inside the trailer. But each camera can have a different lens, so we may be missing an estimate of the free space. You have to be outside the trailer in a position where you can't see the floor area. Estimating occupancy based on the roof level is nearly impossible, as you have no reference to the pallet height.

[0075] The solution to the fleet manager's problem could be a camera-based machine learning algorithm that detects available loading capacity. This algorithm can run on the truck driver's or loader's (a loader is the person who loads the truck at a logistics center) device (e.g., a smartphone), or in the cloud using an image uploaded from any device capable of capturing an image. This approach eliminates the need to install an additional sensor in the trailer or at the loading dock. Considering the driver and their smartphone as part of the system is entirely new, meaning no additional sensor technology is needed to assess loading capacity. This information can be relayed to the fleet manager to assess whether or not to accept additional loads.After loading the trailer, the truck driver takes a photo to prove compliance with load securing regulations. A photo of the trailer from the rear is submitted (taken to prove compliance with load securing guidelines).

[0076] For trailers that are loaded from the side, the image could be captured from the side. Compared to the previously proposed solution, the algorithm is not limited to detecting free loading space or cargo space between a detected object (e.g., a pallet) and the beginning of the trailer, but can directly segment the image and decide for each pixel whether it is classified as free floor space.

[0077] This means the solution is capable of detecting free load meters on trailers with any type of load. From this image, the trailer's free capacity is calculated, as described below.

[0078] The algorithm:

[0079] Input: o Image of the CargoBox (cargo space) o Configuration:

[0080] Focal length f of the camera

[0081] Camera crop factor

[0082] Width of the cargo box [m]

[0083] The main component of the algorithm is a segmentation model which can be configured as follows, for example: o RGB image as input o Transforms the visible floor (free loading area) of the cargo box into a first pixel value, e.g. (0,0,0) o Transforms the side walls of the cargo box into a second pixel value, e.g. (63, 63, 63) o Transforms the cargo box ceiling into a third pixel value, e.g. (127, 127, 127) o Transforms the cargo box rear wall into a fourth pixel value, e.g. (191, 191, 191) o Converts all other fourth pixel values, e.g. (255, 255, 255)

[0084] The largest contour of the segmentation (corresponding to the entrance opening into the cargo compartment) is extracted and the minimum rotated rectangle around the contour is calculated.

[0085] -> Input image is rotated (-rotation angle of the rectangle)

[0086] -> Rectangle is cut out of the input image (width and height of the rotated rectangle)

[0087] -> Cargo Box is the still viewed image section

[0088] The vanishing point is detected in the image of the Cargo Box: o Line detector detects all lines with corresponding angle and length in the image o Corresponding lines are enlarged to the image size of the Cargo Box o The intersection points of all lines are determined o Each intersection point in the image is placed in a triangle using the following formula: 1 / focal length f = 1 / image distance + 1 / object distance, the distance of each pixel within the triangle can be determined

[0089] By using the loading width / number of horizontal pixels, the actual width of each pixel within the triangle can be determined. Using the distance and depth, the area of ​​each pixel within the triangle can be determined. The segmented image is binarized using a threshold (e.g., < 63).

[0090] This returns the floor of the cargo box. For each remaining / segmented pixel, its pixel area is added. This results in the remaining free space, i.e. the visible free loading area. The free space is preferably divided into several lanes (either 3 lanes or 2) to determine how many pallets can be placed in the remaining space. General advantages are: The missing information about the trailer's load condition can be obtained from images taken to demonstrate compliance with load securing regulations. No additional procedural steps are required. This simplifies workflows for truck drivers and saves time. No additional hardware needs to be purchased, installed, delivered, or maintained. Therefore, the proposed solution is significantly more cost-effective than the state of the art.Reducing empty truck kilometers and improving capacity utilization lead to fewer unnecessary journeys and less CO2 per transported item. In times of growing awareness of climate change, this is a significant advantage that should not be underestimated.

[0091] Further technical advantages include: Using the segmentation model significantly reduces training effort, while the computational results are significantly more robust. The model does not need to be trained for all types of cargo that could be in the trailer; instead, it directly classifies pixel by pixel whether a pixel qualifies as free trailer floor space.

[0092] Overall, the example shows how a camera-based determination of a loading status (available free loading space) in a cargo hold can be provided using segmentation.

[0093] List of reference symbols

[0094] 10 Logistics system

[0095] 11 trucks

[0096] 12 loading area

[0097] 13 Cargo space

[0098] 14 ellipsis

[0099] 15 Processor circuit

[0100] 16 Camera

[0101] 17 Image data

[0102] 18 Photography

[0103] 19 Internet

[0104] 20 mobile network

[0105] 21 Internet connections

[0106] 22 smartphones

[0107] 23 leading edge

[0108] 24 freight pieces

[0109] 25 total loading area

[0110] 26 Side edge

[0111] 27 interior side walls

[0112] 28 Ceiling

[0113] 29 Rear wall

[0114] 30 door frames

[0115] 32 loading area

[0116] 33 pallets

[0117] 34 payload value

[0118] 35 procedures

[0119] 40 Segmentation algorithm

[0120] 41 Model

[0121] 42 Segmentation data

[0122] 43 Segmentation results

[0123] 50 Binary segmentation

[0124] 51 Segmentation value Segmentation mask Section calculation Intersections Vanishing point Region Histogram display Triangle Ends Area Gradient edges Overlay result Pixel quantity Line Light rays Lens system Sensor plane Image sensor Reproduction ratio Distance value Width value Pixel row Pixel Pixel width value Pixel leading edge Pixel trailing edge Pixel depth value Pixel area value Row Vanishing line Loading meter Position Lower edge Upper edge

Claims

Patent claims 1. Method (35) for estimating an absolute area value of a free loading area (12) and / or an absolute length value of free loading meters in a cargo space (13), wherein the free loading area (12) is an uncovered part of a total loading area (25) of the cargo space (13), characterized in that image data (17) from a camera (16) representing a photograph (18) of the free loading area (12) are received by a processor circuit (15), wherein the free loading area (12) depicted in the photograph (18) is determined in the image data (17) by means of a segmentation algorithm (40), and absolute pixel area values ​​(88) of the pixels (82) assigned to those pixels (82) representing the segmented free loading area (12) are summed to obtain the absolute area value, and / or of those pixels (82),which in the photograph (18) form a respective upper edge (105) and a lower edge (104) of the segmented free loading area (12), the assigned absolute pixel depth values ​​(87) are summed to the absolute length value of the free loading meters (102).

2. Method (35) according to claim 1, wherein it is assumed that the overall loading area (25) is rectangular overall and that in the photograph (18) a front edge (23) of the rectangular overall loading area (25) is arranged parallel to a sensor plane (73) of an image sensor (74) of the camera (16) and opposite side edges (26) of the overall loading area (25) extend perpendicularly from the front edge (23) to the rear in the cargo space (13), and an absolute width value (80) of a width of the overall loading area (25) and thus a length of the front edge (23) is received for the overall loading area (25) and a respective line of descent (70) of the side edges is determined in the image data (17) using a line of descent detection algorithm and Pixel rows (81), each consisting of those pixels (82) extending from one of the gradient lines (70) to the other of the gradient lines (70), are determined, and for each pixel row (81), an absolute pixel width value is determined from the absolute width value (80) and a number of pixels (82) of the pixel row (81), and an image ratio (75) is determined, which indicates the size ratio in which a line (70) arranged parallel to the sensor plane (73) is imaged on the sensor plane (73) depending on its absolute distance (76) to the camera (16) and / or depending on a focal length (f) of the camera (16), and for each pixel row (81), an absolute distance value (76) of the pixel row (81) is calculated based on the absolute width value (80) and the image ratio and the number of pixels (82) of the pixel row (81).and from an absolute difference value of the distance value (76) of the pixel row (81) and the distance value (76) of an adjacent pixel row (81), the absolute pixel depth value (87) is calculated, and for each pixel (82) of the pixel rows (81), the absolute pixel area value (88) corresponding to the respective pixel (82) is calculated from the pixel width value (84) (80) and the pixel depth value (87) and assigned to the pixel (82).

3. Method (35) according to claim 2, wherein the vanishing line detection algorithm comprises performing edge detection in the photograph and extending detected edges so that intersection points (55) of the extended edges are obtained, and defining a region (57) with the highest intersection point density as the vanishing point (56) of the photograph and defining the course lines (70) as connecting lines (70) from the vanishing point (56) to each end of the leading edge (23).

4. Method (35) according to any of the preceding claims, wherein the segmentation algorithm (40) comprises feeding the image data (17) to a machine learning model (41) as input data, wherein the model (41) is trained to perform pixel-wise classification of the image data (17) assign each pixel (82) to one of the following (61) classes: the total loading area (25), an inner side wall and / or a ceiling (28) of the cargo space (13); and the model (41) generates corresponding segmentation data which assigns individual pixels (82) of the photograph to one of the classes, wherein each pixel (82) of an unknown object depicted in the photograph leads to a segmentation result different from the classes.

5. Method (35) according to claim 4 in reference to claim 3, wherein a triangular area from the gradient lines (70) and the front edge (23) is masked with the segmentation data (42) and the free loading area (12) is defined as the intersection of the triangular area and the pixels (82) of the class ‘Total loading area (25)’.

6. Method (35) according to any one of claims 2 to 5, wherein the imaging ratio (75) is the ratio Number of pixels (82) of the pixel row (81) / distance sensor plane (73) to a lens (72) of the camera (16) absolute width value (80) / distance (76) of the line (70) to the lens or Width (70') of the object on the sensor / Focal length (f) absolute width value (70) of the object / Distance (76) to the lens, or 1 / focal length (f) 1 / Distance sensor plane to lens + 1 / Distance (76) of the line to the lens describes.

7. Method (35) according to one of claims 2 to 6, wherein the image ratio (75) is determined based on a focal length value (f) of the photography and / or based on a characteristic map of the camera (16).

8. Method (35) according to one of claims 2 to 7, wherein the aspect ratio (75) is determined from predetermined meta-information contained in the image data (17), in particular from EXIF ​​data.

9. Method (35) according to one of claims 2 to 8, wherein the absolute width value (80) is determined from type data of a container type (41) of the cargo space (13).

10. Method (35) according to one of the preceding claims, wherein edges of a rectangular entrance opening of the cargo space (13) are detected as a rotated rectangle in the image data (17) and the image data (17) are straightened by means of an image rotation and / or cropped to the rectangular entrance opening by means of a section calculation (54).

11. Method (35) according to one of the preceding claims, wherein the cargo space (13) of a truck (11) or a cargo container or a transport vehicle or a freight wagon or a ship or a transport aircraft is depicted in the photograph.

12. Processor circuit (15) configured to perform a method (35) according to any of the preceding (61) claims.

13. Logistics system (10) with a processor circuit (15) according to claim 12 and with a receiving device for receiving image data (17) of photographs of different cargo space (13), wherein the logistics system (10) is configured to determine a respective free loading area (12) of the cargo space (13) by means of the processor circuit (15) and to control a cargo distribution of cargo items (24) to be transported (61) depending on this.