Rectangular prism express package warehouse real-time volume monitoring method, device and equipment and storage medium

CN118637238BActive Publication Date: 2026-11-03ANHUI UNIVERSITY OF TECHNOLOGY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410694884.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2026-11-03
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

Existing technology cannot monitor changes in warehouse volume in real time, resulting in the inability to fully utilize the volume space of parcel warehouses.

Method used

By obtaining the length, width, and height of a cuboid-like express parcel, calculating its volume, and comparing it with the remaining volume in the warehouse, storage locations are allocated or alarms are issued. At the same time, the entry and exit of parcels are monitored in real time, and warehouse space is managed through a three-dimensional array.

Benefits of technology

It achieves efficient utilization of warehouse space, reduces labor demand, lowers the computational complexity of computing equipment, and improves warehouse management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118637238B_ABST
    Figure CN118637238B_ABST
Patent Text Reader

Abstract

The application discloses a cuboid-like express package warehouse real-time volume monitoring method, device and equipment and a storage medium, belongs to the technical field of logistics warehouse volume management, and the monitoring method comprises the following steps: S1, using a package volume acquisition module to acquire the length, width and height of a package, and obtaining the volume of the package after data integration; S2, comparing the volume of the package obtained in S1 with the remaining volume of the warehouse, if the remaining volume of the warehouse is greater than the volume of the package, then the storage position of the package is allocated, and the package is coded; if the remaining volume of the warehouse is less than the volume of the package, then an alarm is sent; S3, real-time detection of whether the express package is out of the warehouse, if yes, then the volume of the corresponding express package is obtained through the corresponding code, the remaining volume of the warehouse is recalculated through the volume of the express package, and the step S2 is repeated. The application can realize the purpose of warehouse real-time volume monitoring, has the characteristics of high efficiency and less labor required.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of logistics warehouse volume management technology, and more specifically, to a method, device, equipment, and storage medium for real-time volume monitoring of rectangular parcel warehouses. Background Technology

[0002] With the rise of e-commerce platforms in China, online shopping has become increasingly important in people's lives, serving as a crucial channel for consumer spending. Goods purchased online are typically delivered via express courier. Warehousing is essential for the storage and transshipment of these packages. Warehousing is a comprehensive facility that reflects the activity of materials in a factory, acting as a transit point connecting production, supply, and sales, and playing a vital supporting role in improving production efficiency.

[0003] Traditional warehousing refers to the activities of receiving, storing, and issuing various materials and related facilities and equipment in warehouses. Modern warehousing adds processing, sorting, and packaging to traditional warehousing. Therefore, warehouses play a crucial role in warehousing. Since most express parcels are rectangular or shaped, how to rationally manage warehouse space for these parcels is a problem worthy of study.

[0004] For example, Chinese patent document CN207690139U discloses an intelligent warehousing device and system, including: an inbound monitoring device, auxiliary shelves, and a main shelf with a first identification code. The inbound monitoring device includes an ultra-high frequency radio frequency (UHF) reader, a weight detector, and a volume detector. The weight detector and volume detector, used to measure the weight and volume information of the inbound items respectively, are both located at the front end of the inbound conveyor belt. An UHF reader for reading multiple tag information at once is located above the inbound conveyor belt. The inbound conveyor belt transports the items to the auxiliary shelf based on the weight, volume, and tag information. The auxiliary shelf is connected to the main shelf, and the stopping position of the items is determined according to the first identification code on the main shelf. This intelligent warehousing device identifies the stopping position of goods by measuring the volume information of the goods and assigning a tag. Although this intelligent warehousing can make the transfer of goods faster and more accurate through the main and auxiliary shelves, it cannot monitor the warehouse volume in real time and cannot determine the changes in warehouse volume after goods enter and leave, which is not conducive to making full use of the volume space of the parcel warehouse. Summary of the Invention

[0005] The purpose of this invention is to provide a method, device, equipment and storage medium for real-time volume monitoring of rectangular parcel warehouses, which solves the problem that existing intelligent warehousing cannot monitor warehouse volume in real time, cannot determine changes in warehouse volume after goods enter and leave, and is not conducive to making full use of the volume space of parcel warehouses.

[0006] To achieve the above objectives, the present invention provides a method for real-time volume monitoring of a rectangular parallelepiped-shaped express parcel warehouse, comprising the following steps:

[0007] S1. Use the package volume acquisition module to obtain the length, width, and height of the cuboid-shaped express package, and then integrate the data to obtain the volume of the cuboid-shaped express package.

[0008] S2. Compare the volume of the cuboid-shaped express parcel obtained in S1 with the remaining volume of the warehouse. If the remaining volume of the warehouse is greater than the volume of the cuboid-shaped express parcel, allocate a storage location for the cuboid-shaped express parcel and encode the cuboid-shaped express parcel. If the remaining volume of the warehouse is less than the volume of the cuboid-shaped express parcel, issue an alarm.

[0009] S3. Real-time detection of whether express parcels have left the warehouse. If they have left the warehouse, the volume of the corresponding express parcel is obtained through the corresponding code. The remaining volume of the warehouse is recalculated based on the volume of the express parcel, and step S2 is repeated.

[0010] Furthermore, the package volume acquisition module includes an image acquisition module, a package placement module, an image processing module, and an algorithm deduction module. The image acquisition module acquires the package image on the package placement module and transmits the package image to the image processing module for processing. The algorithm deduction module deduces the volume of the processed package image.

[0011] Furthermore, the image acquisition module includes several cameras, and the package placement module includes a telescopic bracket and several black screens. The height of the telescopic bracket is adjusted so that the center points of the top, front, and side of the cuboid package are aligned with the center points of the corresponding cameras to acquire images and obtain the three views of the top, front, and side of the cuboid package.

[0012] Furthermore, the image processing module is used to preprocess the obtained three-view image of the cuboid-like object to obtain a binarized image.

[0013] Furthermore, the binarized image obtained by traversing the algorithm deduction module is used to obtain the total number of white pixels at the traversed locations, and all the results are placed in the same list. The volume of the cuboid-like express package is calculated and deduced from the results in the list.

[0014] Furthermore, the calculation and deduction of the results in the list includes the following steps:

[0015] The maximum value in the list is obtained by applying a function, and all values ​​in the list are traversed, with the values ​​that are close to the maximum value being recorded and accumulated.

[0016] During the traversal of the list, a count is made whenever a value that is close to the maximum value is encountered. After the traversal is completed, the count is checked.

[0017] Divide the obtained cumulative value by the number of counts, and then multiply the result by the number of rows or columns.

[0018] The obtained multiple results are processed proportionally with the image size to obtain the side length corresponding to a view. At the same time, the same image is traversed column by column, and the above operation is repeated for other images to obtain the length, width, and height, and to calculate the volume of this type of cuboid express package.

[0019] Furthermore, in the real-time detection step of whether the express parcel has left the warehouse, a distance measuring device is used to obtain the distance between the warehouse ceiling and the ground. The length of this distance, the height of the express parcel, and the height of the distance measuring device are compared to determine whether the rectangular express parcel has left the warehouse.

[0020] This invention also provides a real-time volume monitoring device for rectangular parcel warehouses, comprising:

[0021] The package volume acquisition module is used to obtain the length, width, and height of a cuboid-shaped express package and integrate the data to obtain the volume of the cuboid-shaped express package.

[0022] The warehouse volume allocation module is used to read the warehouse entry record to obtain the space location of the unplaced goods, and to allocate storage locations based on the length, width, and height of the cuboid-like express parcel obtained by the parcel volume acquisition module.

[0023] The encoding module is used to match the corresponding storage location of the rectangular prism-shaped express parcel and number the corresponding rectangular prism-shaped express parcel.

[0024] The warehouse remaining volume calculation module obtains the volume of a cuboid-like express parcel by acquiring information from the parcel volume acquisition module or the information corresponding to different codes when the express parcel leaves the warehouse, and then subtracts it from the original warehouse volume to obtain the warehouse remaining volume.

[0025] The real-time package monitoring module uses a distance measuring device to obtain the distance between the warehouse ceiling and the ground. By comparing the length of this distance, the height of the package, and the height of the distance measuring device, it can determine whether the corresponding rectangular package has left the warehouse.

[0026] The early warning module issues an alarm when the remaining volume in the warehouse is less than the volume of a rectangular parcel.

[0027] The present invention also provides a real-time volume monitoring device for a rectangular parcel warehouse, including a memory and at least one processor, wherein the memory stores instructions; at least one processor calls the instructions in the memory to cause the rectangular parcel warehouse real-time volume monitoring device to execute the above-described real-time volume monitoring method for a rectangular parcel warehouse.

[0028] The present invention also provides a computer-readable storage medium storing instructions that, when executed by a processor, implement the above-described method for real-time volume monitoring of a cuboid-shaped express parcel warehouse.

[0029] Compared with existing known technologies, the technical solution provided by this invention has the following beneficial effects:

[0030] (1) The real-time volume monitoring method for rectangular parcel warehouses of the present invention acquires the volume of parcels through a parcel volume acquisition module, compares the parcel volume with the remaining volume of the warehouse, allocates parcel storage locations using machine coding, or issues a space shortage warning. By arraying the warehouse volume into a three-dimensional array, the space for storing parcels in the warehouse is utilized more fully. By monitoring the inbound, outbound, and rectangular parcel status within the warehouse in real time, the method achieves the goal of real-time warehouse volume monitoring, which is characterized by high efficiency and low labor requirements.

[0031] (2) The real-time volume monitoring method for cuboid-shaped express parcel warehouse disclosed in this invention only requires simple binarization of the obtained three views to obtain the side lengths contained in each view, and then the length, width and height of the corresponding cuboid-shaped express parcel can be calculated through simple calculation. Its main advantages are low cost, low requirements for computing power of computing equipment, and easy implementation.

[0032] It is obvious that the elements or features described in the above individual embodiments can be used alone or in combination in other embodiments. Attached Figure Description

[0033] The dimensions and scales in the accompanying drawings do not represent the actual dimensions and scales of the product. The drawings are for illustrative purposes only, and some non-essential elements or features have been omitted for clarity.

[0034] Figure 1 This is a flowchart illustrating the monitoring method according to an embodiment of the present invention;

[0035] Figure 2 This is a schematic diagram of the package volume acquisition module in the monitoring method of this invention.

[0036] Figure 3 This is a schematic diagram of a binarized image in the monitoring method of this invention embodiment;

[0037] Figure 4 This is a schematic diagram of the three-dimensional coordinates of the warehouse in the monitoring method of this invention embodiment;

[0038] Figure 5 This is a schematic diagram of the structure of the real-time package monitoring module in the monitoring method of this invention.

[0039] Explanation of reference numerals in the attached figures

[0040] 100. Rectangular parcel; 200. Camera; 300. Black screen; 400. Telescopic bracket; 500. Distance measuring device. Detailed Implementation

[0041] The present invention will now be described in detail with reference to the accompanying drawings. The embodiments described herein are merely preferred embodiments of the invention; those skilled in the art can conceive of other ways to implement the invention based on these preferred embodiments, and such other ways also fall within the scope of the invention.

[0042] Example

[0043] This invention provides a method, apparatus, equipment, and storage medium for real-time volume monitoring of a rectangular parcel warehouse. By arraying the warehouse volume into a three-dimensional array, the space for storing parcels in the warehouse is utilized more fully. By monitoring the inbound, outbound, and status of rectangular parcels in the warehouse in real time, the purpose of real-time volume monitoring of the warehouse is achieved. This method is characterized by high efficiency and low labor requirements.

[0044] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the real-time volume monitoring method for cuboid-shaped express parcel warehouses in this invention includes:

[0045] S1: Use the package volume acquisition module to obtain the length, width, and height of the cuboid-shaped express package 100, and obtain the volume of the cuboid-shaped express package 100 after data integration;

[0046] Specifically, the preferred embodiment of the present invention for obtaining the volume of a cuboid-like express parcel includes the following steps:

[0047] S11: Fix the three image acquisition devices directly above, in front of, and to the side of the rectangular parcel 100, as follows: Figure 2As shown, the image acquisition device is the camera 200. A black screen 300 is placed on the plane captured by the three cameras 200. The length and width of the screen are known and denoted as Length and Width, respectively. The maximum wide-angle of the camera 200 is the boundary of the black screen 300, and the three cameras 200 cannot capture each other. The three cameras 200 are all aligned with the center of the corresponding three black screens 300. A cuboid-shaped express package 100 is placed on a telescopic bracket 400. The height of the telescopic bracket 400 is changed so that the center points of the camera 200, the cuboid-shaped express package 100, and the black screen 300 are aligned. After the camera 200 samples the image, it uploads the image to the computer.

[0048] S12: Process the image using basic functions in OpenCV, specifically including the following steps:

[0049] S121: Use the cv2.resize() function in OpenCV to resize the image. In this embodiment, it is modified to 600 pixels * 600 pixels.

[0050] S122: Use the cv2·CvtColor() function to obtain a grayscale image and perform grayscale processing on the image processed in S121;

[0051] S123: Use copy() to perform a deep copy of S123 to obtain a backup and prevent image processing operations from polluting the original image;

[0052] S124: The median filtering function cv2.medianBlur() and the opening operations cv2.getStructuringElement(), cv2.erode(), and cv2.dilale() are used to process noise in the image to reduce the impact of noise on the accuracy of the measurement results.

[0053] S125: Use cv2.threshold() to binarize S124. The boundary value of binarization can be set freely.

[0054] S126: Use cv2.Canny() to perform edge detection on the image in S125;

[0055] S127: The denoised image obtained in S125 is processed as follows: maximum contour finding and maximum contour filling are performed, with white as the fill color. The resulting image after filling is the binarized image we need. Please refer to [link / reference]. Figure 3 , where the variable threshold is the image after noise removal.

[0056] S13: After further processing of the image processed in S12, the length, width, and height of the rectangular prism-like express package 100 can be calculated. This includes the following steps:

[0057] S131: Iterate through the binarized image obtained in S12 using a for loop, obtain the total number of white pixels in every five rows of the iterated area, and put all the results into the same list rate;

[0058] S132: Apply a function to the list in S131 to find the maximum value, which is the number with the most white pixels in the five adjacent rows, denoted as H_Max;

[0059] S133: Use a for loop to iterate through all the values ​​in the list described in S132, and record and accumulate the values ​​that differ from H_Max in S132 by less than 50. The sum is denoted as Sum_H.

[0060] S134: Count_H can record the number of values ​​in the traversed list rate whose difference from H_Max is less than 50. During the traversal of the list rate, Count_H is incremented by 1 every time a value with a difference from H_Max is encountered that is less than 50. After the traversal is completed, the size of Count_H is checked.

[0061] S135: Divide Sum_H by Count_H and then by 5 to obtain the number of white pixels along the horizontal side in the binarized image of the rectangular express parcel 100 after image processing, denoted as Horizontal_Pixels.

[0062] S136: Utilizing the proportional relationship between the Horizontal_Pixels obtained in S135, the set image size of 600 pixels, and the real-world black backdrop of 300 pixels, the actual side length of the rectangular parcel can be calculated. The specific formula is as follows:

[0063]

[0064] Where Ce_H is the horizontal length of the package to be measured in this view. The horizontal length of the package in one view can be calculated using the above formula. Then, the corresponding lengths and widths in the three views can be calculated using the same method. The length of the front view and the length of the top view are averaged to obtain the length of the rectangular package to be measured. The width of the front view and the width of the side view are averaged to obtain the height of the rectangular package to be measured. The width of the top view and the length of the side view are averaged to obtain the width of the rectangular package to be measured. These are denoted as L, H, and K, respectively.

[0065] S14: Using the length, width, and height obtained from S136, and the volume formula, we can calculate the volume of this type of rectangular express parcel 100.

[0066] S2: Compare the volume of the cuboid-shaped express parcel 100 obtained in S1 with the remaining volume of the warehouse. If the remaining volume of the warehouse is greater than the volume of the cuboid-shaped express parcel 100, then allocate a storage location for the cuboid-shaped express parcel 100 and encode the cuboid-shaped express parcel 100. If the remaining volume of the warehouse is less than the volume of the cuboid-shaped express parcel 100, then issue an alarm.

[0067] S21: Specifically, in this embodiment, it is feasible to assume that there is a cuboid-shaped express parcel warehouse with a storage volume of 5000 cm * 5000 cm * 1000 cm and a height of approximately 1100 cm. Assume that the cuboid-shaped express parcel 100 is 20 cm long, 30 cm wide, and 20 cm high. The computer compares the volume of the cuboid-shaped express parcel 100 with the remaining volume of the warehouse.

[0068] S22: If the remaining volume of the warehouse in S21 is greater than the volume of the rectangular parcel (e.g., 100), the computer will use a preferred preset point as the origin of the coordinate system. This preset point is generally a vertex of a warehouse. Figure 4 As shown, the rectangular parcel warehouse is viewed as a three-dimensional array, corresponding to the X-axis, Y-axis, and Z-axis respectively, specifically:

[0069] X: [1, 2, 3, 4...4998, 4999, 5000]

[0070] Y: [1, 2, 3, 4...4998, 4999, 5000]

[0071] Z: [1, 2, 3, 4...998, 999, 1000];

[0072] S23: Preferably, a suitable three-dimensional array is selected from the overall three-dimensional array as the storage location for the cuboid-shaped express parcel 100. Assuming the warehouse is empty at this time, the following locations can be selected as the storage space for the cuboid-shaped express parcel 100:

[0073] X: [1, 2, 3, 4...18, 19, 20]

[0074] Y: [1, 2, 3, 4...28, 29, 30]

[0075] Z: [1, 2, 3, 4...18, 19, 20];

[0076] When the next package arrives at the warehouse, you can choose the following spaces as storage:

[0077] X: [21, 22, 23, 24...4998, 4999, 5000]

[0078] Y: [31, 32, 33, 34...4998, 4999, 5000]

[0079] Z: [21, 22, 23, 24...998, 999, 1000],

[0080] X: [1, 2, 3, 4...4998, 4999, 5000]

[0081] Y: [1, 2, 3, 4...4998, 4999, 5000]

[0082] Z: [21, 22, 23, 24...998, 999, 1000],

[0083] X: [21, 22, 23, 24...4998, 4999, 5000]

[0084] Y: [1, 2, 3, 4...4998, 4999, 5000]

[0085] Z: [1, 2, 3, 4...998, 999, 1000],

[0086] X: [1, 2, 3, 4...4998, 4999, 5000]

[0087] Y: [31, 32, 33, 34...4998, 4999, 5000]

[0088] Z: [1, 2, 3, 4...998, 999, 1000];

[0089] S24: Preferably, the volume obtained in S1 is compared with the remaining volume of the warehouse. If the remaining volume of the warehouse is greater than the volume of the cuboid-shaped express parcel 100, then the cuboid-shaped express parcel 100 is encoded using the encoding module. Different codes correspond to different cuboid-shaped express parcels 100, and also correspond to the storage location information and basic information of the parcel. In this implementation example, the cuboid-shaped express parcel 100 is numbered 1. Through this number, we can associate the information of the cuboid-shaped express parcel 100. When the information of the parcel is needed again, the relevant information can be obtained by directly reading the number corresponding to the storage space of the parcel.

[0090] S25: The remaining volume of the warehouse is calculated using the warehouse remaining volume calculation module. Specifically, the remaining warehouse volume is calculated by subtracting the volume of incoming express parcels from the current warehouse volume and then adding the volume of outgoing express parcels.

[0091] S3: The real-time monitoring module for the rectangular parcel 100 detects in real time whether the parcel has been shipped out of the warehouse. The specific steps are as follows:

[0092] S31: Implementable, such as Figure 5 As shown, multiple distance measuring devices 500 are installed on the ceiling of the warehouse storage location of the cuboid express parcel 100. The distance measuring device 500 can detect the distance difference between it and the nearest plane in the vertical direction. Since the height of the warehouse ceiling is fixed and the distance measuring device is installed on the ceiling, the height of the distance measuring device is fixed. The height of the block placed vertically below the distance measuring device is fixed. By measuring the distance returned by the distance measuring device, it can be determined whether there is a cuboid express parcel 100 at that location.

[0093] S32: If the returned distance is approximately the height of the ranging device, it means there is no rectangular parcel 100 at that location, indicating that the parcel has left the warehouse. A specific example is shown in S2:

[0094] It is feasible to assume that the warehouse has a storage height of 1000 cm. Assuming that the distance measuring device 500 is installed on the warehouse ceiling, that is, the height of the distance measuring device 500 is about 1100 cm, and the height of the rectangular parcel 100 is 20 cm, we can obtain the minimum distance between the distance measuring device 500 and the horizontal plane in real time through the distance measuring device 500 at the top of the rectangular ceiling. When the distance is about 1080 cm, it means that the parcel has not left the warehouse. When the distance is greater than 1080 cm, it means that the parcel has left the warehouse.

[0095] If multiple packages are stacked at this location, the relationship between the height of each rectangular parcel 100, the distance measured by the distance measuring device 500, and the fixed height of the distance measuring device 500 can be used to determine which rectangular parcels 100 have been shipped out and which have not. The specific method is as follows:

[0096] S321: Assume there is another rectangular parcel 100, with a length of 20 cm, a width of 30 cm, and a height of 10 cm. Its number is 2, and its placement space is:

[0097] X: [1, 2, 3, 4...18, 19, 20]

[0098] Y: [1, 2, 3, 4...28, 29, 30]

[0099] Z: [21, 22, 23, 24...28, 29, 30],

[0100] At this point, the distance measured by measuring device 500 is 1070 cm, indicating that both packages numbered 1 and 2 have been shipped out. The distance measured by measuring device 500 is 1090 cm, indicating that package number 1 has been shipped out. The storage space for package number 2 is now modified as follows:

[0101] X: [1, 2, 3, 4...18, 19, 20]

[0102] Y: [1, 2, 3, 4...28, 29, 30]

[0103] Z: [1, 2, 3, 4...8, 9, 10],

[0104] The distance measured by the distance measuring device 500 is 1080 cm, which indicates that package number 2 has left the warehouse. At this time, the storage space of package number 1 does not need to be modified.

[0105] S33: If the remaining volume of the warehouse is less than 100 units of the rectangular prism-shaped express parcel, the warning module will issue an alarm. Specifically, this will be achieved through a program and an LED indicator. When the remaining volume of the warehouse is less than 100 units of the rectangular prism-shaped express parcel, the computer will display the warehouse overload information through the application, and the LED lights will also flash to remind the staff.

[0106] Another aspect of this embodiment provides a real-time volume monitoring device for a cuboid-shaped express parcel warehouse, comprising the following modules:

[0107] The package volume acquisition module is used to obtain the length, width, and height of the cuboid-shaped express package 100 and integrate the data to obtain the volume of the cuboid-shaped express package 100;

[0108] The warehouse volume allocation module is used to read the warehouse entry record to obtain the space location of the unplaced goods, and to allocate storage location based on the length, width and height of the cuboid-like express parcel 100 obtained by the parcel volume acquisition module.

[0109] The encoding module is used to match the corresponding storage location allocated to the cuboid-shaped express parcel 100 and number the corresponding cuboid-shaped express parcel 100.

[0110] The warehouse remaining volume calculation module obtains the volume of a cuboid-like express package (100) by acquiring information from the package volume acquisition module or the information corresponding to different codes when the express package leaves the warehouse, and then subtracts it from the original warehouse volume to obtain the warehouse remaining volume.

[0111] The real-time package monitoring module obtains the distance between the warehouse ceiling and the ground through the distance measuring device 500. By comparing the length of this distance, the height of the express package, and the height of the distance measuring device 500, it determines whether the corresponding rectangular express package 100 has left the warehouse.

[0112] The early warning module issues an alarm when the remaining volume in the warehouse is less than 100 units of a rectangular parcel. Specifically, the alarm message will be displayed on the computer application indicating that the warehouse is overloaded, and LED lights will flash.

[0113] This application also provides a real-time volume monitoring device for a rectangular parcel warehouse, including a memory and at least one processor. The memory stores instructions. The at least one processor calls the instructions in the memory to cause the rectangular parcel warehouse real-time volume monitoring device to execute the rectangular parcel warehouse real-time volume monitoring method in the above embodiments.

[0114] This application also provides a computer-readable storage medium storing instructions that, when executed by a processor, implement the real-time volume monitoring method for cuboid-shaped express parcel warehouses described in the above embodiments.

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

[0116] The scope of protection of this invention is defined only by the claims. Thanks to the teachings of this invention, those skilled in the art will readily recognize that alternative structures to the structures disclosed herein can be used as feasible alternative implementations, and that the implementations disclosed herein can be combined to produce new implementations, which also fall within the scope of the appended claims.

Claims

1. A method for real-time volume monitoring of rectangular parcel warehouses, characterized in that, Includes the following steps: S1. The package volume acquisition module obtains the length, width, and height of a cuboid-shaped express package, and after data integration, the volume of the cuboid-shaped express package is obtained. The package volume acquisition module includes an image acquisition module, a package placement module, an image processing module, and an algorithm deduction module. The image acquisition module includes several cameras, and the package placement module includes a telescopic bracket and several black screens. The height of the telescopic bracket is adjusted so that the center points of the top, front, and side of the cuboid-shaped package are aligned with the center points of the corresponding cameras to acquire images, obtaining the three views of the top, front, and side of the cuboid-shaped package. The image processing module preprocesses the obtained three-view images of the cuboid-shaped package to obtain a binarized image. The algorithm deduction module traverses the obtained binarized image, calculates the total number of white pixels at each traversal point, and places all results in the same list. The volume of the cuboid-shaped express package is then calculated and deduced from the results in the list. S2. Compare the volume of the cuboid-shaped express parcel obtained in S1 with the remaining volume of the warehouse. If the remaining volume of the warehouse is greater than the volume of the cuboid-shaped express parcel, allocate a storage location for the cuboid-shaped express parcel and encode the cuboid-shaped express parcel. If the remaining volume of the warehouse is less than the volume of the cuboid-shaped express parcel, issue an alarm. Specifically, allocating the storage location for the cuboid-shaped express parcel is as follows: using the preset point of the warehouse as the origin of the coordinate system, divide the warehouse volume into a three-dimensional array, and select the three-dimensional array corresponding to the length, width, and height of the cuboid-shaped express parcel as the storage location. S3. Real-time detection of whether express parcels have left the warehouse. If they have, the volume of the corresponding express parcel is obtained through its code. The remaining warehouse volume is recalculated based on this volume, and step S2 is repeated. Specifically, real-time detection of whether express parcels have left the warehouse involves installing a distance measuring device on the ceiling of the warehouse storage location to obtain the distance between it and the nearest vertical plane. This distance, the height of the express parcel, and the height of the distance measuring device are compared to determine whether the rectangular express parcel has left the warehouse. The recalculation of the remaining warehouse volume is as follows: Remaining warehouse volume = Current warehouse volume - Volume of incoming express parcels + Volume of outgoing express parcels.

2. The method for real-time volume monitoring of a rectangular parcel warehouse according to claim 1, characterized in that, The calculation and deduction of the results in the list includes the following steps: The maximum value in the list is obtained by applying a function, and all values ​​in the list are traversed, with the values ​​that are close to the maximum value being recorded and accumulated. During the traversal of the list, a count is made whenever a value that is close to the maximum value is encountered. After the traversal is completed, the count is checked. Divide the obtained cumulative value by the number of counts, and then multiply the result by the number of rows or columns. The obtained multiple results are processed proportionally with the image size to obtain the side length corresponding to a view. At the same time, the same image is traversed column by column, and the above operation is repeated for other images to obtain the length, width, and height, and to calculate the volume of this type of cuboid express package.

3. The method for real-time volume monitoring of a rectangular parcel warehouse according to claim 1, characterized in that, The image processing module preprocesses the obtained three-view image wrapped in a cuboid to obtain a binarized image. Specifically, it uses basic functions in OpenCV to perform image size processing, grayscale processing, deep copying, median filtering and opening operation, binarization processing, edge detection, maximum contour finding and maximum contour filling, with the fill color being white, to obtain the binarized image.

4. The method for real-time volume monitoring of a rectangular parcel warehouse according to claim 1, characterized in that, In the real-time detection of whether express parcels have left the warehouse, if multiple parcels are stacked at a certain location, the relationship between the distances obtained from the height and distance measuring devices of each type of rectangular express parcel and the fixed height of the distance measuring device is used to determine which type of rectangular express parcels have left the warehouse and which have not.

5. The method for real-time volume monitoring of a rectangular parcel warehouse according to claim 1, characterized in that, The alarm is issued via a program and LED indicator lights. When the remaining volume in the warehouse is less than the volume of a rectangular parcel, the computer terminal displays the warehouse overload information through the application, and the LED lights flash to remind the staff.

6. A real-time volume monitoring device for a rectangular parcel warehouse, characterized in that, include: A package volume acquisition module is used to acquire the length, width, and height of a cuboid-shaped express package and integrate the data to obtain the volume of the package. The package volume acquisition module includes an image acquisition module, a package placement module, an image processing module, and an algorithm deduction module. The image acquisition module includes several cameras, and the package placement module includes a telescopic support and several black screens. The height of the telescopic support is adjusted so that the center points of the top, front, and side views of the cuboid-shaped package are aligned with the center points of the corresponding cameras to acquire images, obtaining three views of the top, front, and side views of the cuboid-shaped package. The image processing module preprocesses the three views to obtain a binarized image. The algorithm deduction module traverses the binarized image, obtains the total number of white pixels at the traversed locations, places all the results in the same list, and calculates and deduces the volume from the results in the list; The warehouse volume allocation module is used to read the warehouse entry record to obtain the space location of the unplaced goods, and to allocate storage locations based on the length, width, and height of the cuboid-like express parcel obtained by the parcel volume acquisition module. Specifically, the allocation of storage locations is as follows: the warehouse volume is divided into a three-dimensional array with the warehouse preset point as the origin of the coordinate system, and the three-dimensional array corresponding to the length, width, and height of the cuboid-like express parcel is selected as the storage location. The encoding module is used to match the corresponding storage location of the rectangular prism-shaped express parcel and number the corresponding rectangular prism-shaped express parcel. The warehouse remaining volume calculation module obtains the volume of a cuboid-shaped express parcel by acquiring information from the parcel volume acquisition module or the information corresponding to different codes when the express parcel leaves the warehouse, and then subtracts it from the original warehouse volume to obtain the warehouse remaining volume; where warehouse remaining volume = warehouse current volume - volume of incoming express parcels + volume of outgoing express parcels; The real-time package monitoring module obtains the distance between the warehouse ceiling and the ground through a distance measuring device. By comparing the length of this distance, the height of the package, and the height of the distance measuring device, it determines whether the corresponding rectangular package has left the warehouse. The distance measuring device is installed on the ceiling of the warehouse storage location to obtain its distance to the nearest plane in the vertical direction. The early warning module issues an alarm when the remaining volume in the warehouse is less than the volume of a rectangular parcel.

7. A real-time volume monitoring device for a rectangular parcel warehouse, characterized in that, The device includes a memory and at least one processor, wherein the memory stores instructions; at least one of the processors invokes the instructions in the memory to cause the cuboid-shaped express parcel warehouse real-time volume monitoring device to perform the cuboid-shaped express parcel warehouse real-time volume monitoring method as described in any one of claims 1-5.

8. A computer-readable storage medium storing instructions thereon, characterized in that, When the instruction is executed by the processor, it implements the method for real-time volume monitoring of a cuboid-shaped express parcel warehouse as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Smart storage device and system

    CN207690139U

  • Out-of-stock detection device and method and shelf

    CN108445493A

  • Seedling diameter measuring system and method based on machine vision

    CN113390355A

  • Warehouse checking method, warehouse management system and computer readable storage medium

    CN116187905A

  • Warehouse management system and warehouse management program

    JP2011051721A