Warehouse goods intelligent recognition and positioning management system based on image segmentation algorithm

The warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm solves the problem of insufficient accuracy in cargo identification and positioning in complex environments, realizes high-precision intelligent management and improves efficiency throughout the entire process, and is suitable for modern smart warehouses.

CN123180887APending Publication Date: 2026-11-27JIANGSU JICUI ZHONGKE ADVANCED PHOTOELECTRIC TECH RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611176410.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing warehouse management systems struggle to achieve high-precision cargo identification and positioning in complex environments, especially when cargo is obscured, lighting is uneven, and viewing angles vary, resulting in insufficient identification and positioning accuracy and failing to meet the requirements for highly reliable automated warehouse operations.

Method used

The warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm includes modules for image acquisition, preprocessing, image segmentation algorithm establishment, training and recognition, and cargo positioning. Through deep learning object detection algorithm and multi-scale feature fusion, combined with rotating bounding box regression mechanism, it achieves high-precision identification and three-dimensional positioning of cargo.

Benefits of technology

It achieves high-precision cargo identification and positioning in complex warehouse environments, improves the intelligence and efficiency of the entire warehousing process management, reduces the probability of misidentification and mispositioning, and builds an unmanned and intelligent smart warehouse solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180887A_ABST
    Figure CN123180887A_ABST
Patent Text Reader

Abstract

The present application relates to warehouse management technical field, specifically to a kind of warehouse goods intelligent identification positioning management system based on image segmentation algorithm.The present application includes image acquisition module, pre-processing module, image segmentation algorithm establishment module, training identification module, goods warehousing management module, goods delivery management module, return management module and goods positioning module.High-quality goods image is obtained by image acquisition and pre-processing, and the goods in complex warehouse environment are accurately identified and segmented using specially established improved deep learning target detection algorithm.The system further combines the improved label template matching algorithm to accurately identify the goods, and based on the visual geometric principle and physical constraint verification, the goods are positioned in three-dimensional space with high precision.Each management module applies artificial intelligence technology to realize the full-process intelligent and digital management of goods warehousing, in-warehouse, delivery and return.The present application significantly improves the automation level, management accuracy and operation efficiency of warehousing operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of warehouse management technology, specifically to a warehouse cargo intelligent identification and positioning management system based on image segmentation algorithms. Background Technology

[0002] With the rapid development of e-commerce and intelligent manufacturing, the modern warehousing and logistics industry faces severe challenges such as a surge in cargo throughput, increasingly complex product categories, and ever-increasing demands for order response timeliness. Traditional warehouse management systems mainly rely on manual counting, paper records, or barcode / RFID scanning technologies for cargo management. These methods have significant limitations: manual operation is inefficient, labor-intensive, and prone to data entry errors, inaccurate inventory counts, and misdelivery due to fatigue or negligence; while barcode technology has partially automated operations, it requires close-range, item-by-item scanning, is sensitive to the orientation of goods, and is difficult to read when pallets are stacked, goods are obscured, or barcodes are damaged, failing to meet the demands of large-scale, high-efficiency inbound and outbound operations. In recent years, computer vision and deep learning technologies have offered new possibilities for warehouse automation. Deep learning-based image recognition technology can automatically extract features and classify objects from images, while image segmentation technology can further distinguish different target regions in an image at the pixel level. Existing technologies have attempted to apply general object detection or image segmentation models to warehouse scenarios, aiming to achieve automatic cargo identification. However, the actual operating environment of warehouses is extremely complex. Goods are often densely stacked, mutually obstructing each other, with uneven lighting conditions (e.g., dim lighting deep inside shelves and overexposure at entrances), varied shooting angles, and high similarity in appearance. General-purpose visual algorithms often perform unsatisfactorily in such complex environments, exhibiting problems such as inaccurate segmentation of obstructed and overlapping goods, missed or false detections of small or low-contrast goods, misalignment of positioning frames for goods placed in arbitrary directions, and insufficient ability to distinguish subtle differences between individual goods. This makes it difficult to meet the requirements of high-reliability automated warehouse operations in terms of recognition and positioning accuracy and robustness. Therefore, how to design a management system that can adapt to complex real-world warehouse environments, achieve high-precision intelligent recognition and positioning of goods, and be deeply integrated with warehouse business processes has become a pressing technical problem to be solved in this field.

[0003] Therefore, the existing technology still needs further development. Summary of the Invention

[0004] The purpose of this invention is to overcome the above-mentioned technical deficiencies and provide a warehouse goods intelligent identification and positioning management system based on image segmentation algorithm to solve the problems existing in the prior art.

[0005] To achieve the above technical objectives, this invention provides a warehouse goods intelligent identification and positioning management system based on image segmentation algorithms, comprising: Image acquisition module, preprocessing module, image segmentation algorithm establishment module, training and recognition module, and cargo positioning module; The image acquisition module is used to acquire images of goods in the warehouse; The preprocessing module processes the acquired images; The image segmentation algorithm establishment module is used to establish a deep learning object detection algorithm; The training and recognition module is used to train and apply the target detection algorithm to identify goods; The cargo positioning module is used to locate the identified cargo.

[0006] Specifically, the image acquisition module includes an image optical acquisition unit, a photoelectric conversion unit, a judgment unit, and an image processing unit. The image optical acquisition unit is used to acquire optical signals from the surface of the cargo. The photoelectric conversion unit is connected to the image optical acquisition unit and is used to convert the optical signals into corresponding electrical signals. The judgment unit is connected to the photoelectric conversion unit and is used to determine whether the converted electrical signals meet the requirements for sharpness and contrast based on a preset image quality evaluation threshold, and decide whether to output them. The image processing unit is connected to the judgment unit and is used to receive the electrical signals that are allowed to be output after judgment, and to perform preliminary digital signal processing on them to form the original cargo image data to be processed.

[0007] Specifically, the preprocessing module includes an image correction unit and an image noise reduction unit. The image correction unit performs geometric distortion correction and perspective transformation on the input original cargo image to eliminate image distortion caused by camera lens distortion or non-direct shooting angle, ensuring the accuracy of cargo shape features. The image noise reduction unit is connected to the image correction unit and is used to filter the corrected image to suppress random noise. It further includes an image deblurring unit and a contrast enhancement unit. The image deblurring unit uses a blind deconvolution algorithm to process motion blur and defocus blur caused by cargo movement or inaccurate focusing. The contrast enhancement unit uses an adaptive histogram equalization algorithm to improve the image visibility in low-light or unevenly lit areas of the warehouse.

[0008] Specifically, the deep learning object detection algorithm established by the image segmentation algorithm building module uses standard convolutional layers in its backbone network to extract multi-scale shape feature maps of warehouse items, and introduces a depthwise separable convolutional module in parallel to extract deep spatial feature maps of warehouse items; the module further fuses the extracted shape feature maps and spatial feature maps in the channel dimension to generate a fused feature map; the deep learning object detection algorithm sets a cross-scale feature aggregation path in the feature pyramid network for the warehouse environment to enhance the feature representation ability of small-sized goods and partially occluded goods, and introduces a rotating bounding box regression mechanism in the detection head to adapt to the detection scenario of goods stacked in any direction in the warehouse.

[0009] Specifically, the training and recognition module performs end-to-end training on the deep learning object detection algorithm using a dataset containing images of goods in various warehouse scenarios. During training, a hard sample mining strategy is employed to focus on overlapping or similar-looking goods that are difficult to distinguish, and a multi-scale training strategy is applied to improve the algorithm's robustness in recognizing goods at different distances. In the inference phase, the training and recognition module inputs the images processed by the preprocessing module into the trained algorithm model, outputs the category label, confidence score, and pixel-level segmentation mask for each detected goods, and calculates the preliminary spatial location information of the goods by combining the pre-calibrated camera parameters.

[0010] Specifically, it also includes a goods receiving management module, which is used to: receive goods information that have been packed and generated with unique box codes; complete the system receiving registration by scanning the box codes with a PDA; dynamically combine multiple physical pallets into virtual pallet groups according to the attributes, size and optimized storage strategies of the goods, and allocate optimal storage locations to them; finally, confirm that the goods are actually placed in the storage location by scanning the virtual pallet group code with a PDA, and update the inventory database. The logical relationship of the virtual pallet groups facilitates subsequent whole-group transfers or inventory counts.

[0011] Specifically, it also includes a goods outbound management module, which is used to: receive outbound applications submitted through smart terminals or APPs, the applications containing goods information and quantity; the system, based on a first-in-first-out or optimized path strategy, locates a specific batch of goods and its precise location from the inventory database, and generates an outbound task order containing goods information, location, and operation sequence, along with a corresponding outbound QR code; operators scan the outbound QR code with a PDA to obtain delisting instructions, and after confirming delisting, scan the goods or pallet label with a PDA to complete the verification, and the system then updates the inventory status.

[0012] Specifically, it also includes a return management module, which is used to: provide online multi-channel return application portals; generate unique return labels and electronic vouchers for goods to be returned after review; after the returned goods arrive at the warehouse, they are inspected, and the system forms an independent virtual pallet group for the returned goods according to the warehousing process, and allocates them to the return temporary storage area or resale inventory area; by scanning the return label and the virtual pallet group code with a PDA, the system puts the returned goods on the shelves and updates the inventory status, realizing closed-loop management of the return process.

[0013] Specifically, the cargo positioning module includes a cargo identification unit and a cargo positioning unit; the cargo identification unit receives the preliminary cargo identification results from the training identification module and applies an improved label template matching algorithm for fine identification. The algorithm constructs a multi-view template by extracting robust features of cargo surface texture, edges, or printed labels, and adopts a cascade matching strategy during the matching process. First, a coarse matching is performed for rapid screening, and then a fine matching based on feature descriptors is performed on the candidate regions to distinguish cargoes with highly similar appearances.

[0014] Specifically, the cargo positioning unit is connected to the cargo identification unit and is used to perform three-dimensional spatial positioning of the precisely identified cargo. Based on a monocular vision or multi-view vision system, it uses the cargo image coordinates output by the improved label template matching algorithm, prior information on the actual physical size of the cargo, and the intrinsic and extrinsic parameters of the camera to calculate the three-dimensional coordinates and orientation of the cargo in the warehouse world coordinate system using the PnP algorithm. Furthermore, the cargo positioning unit also includes a geometric verification step, which compares the calculated cargo position and size with the actual physical constraints of the warehouse shelves, filters out positioning results that obviously do not conform to spatial logic, and finally outputs the verified accurate three-dimensional coordinates, orientation, and offset from the target storage location of the cargo, and drives the automated guided vehicle or robotic arm to perform grasping or displacement operations.

[0015] Beneficial effects: Compared with existing technologies, the intelligent warehouse cargo identification and positioning management system based on image segmentation algorithm provided by this invention brings many significant benefits through modular design and in-depth optimization at the algorithm level.

[0016] First, this invention achieves a fundamental improvement in core recognition and localization capabilities. By establishing a deep learning object detection algorithm specifically improved for warehouse environments, it innovatively integrates shape features extracted by standard convolution with spatial features extracted by depthwise separable convolution. This allows the model to simultaneously perceive the global semantics and local details of goods, significantly enhancing its ability to discriminate partially occluded and visually similar goods. The cross-scale aggregation path in the feature pyramid network strengthens the feature representation capability for small-sized and occluded targets. The introduction of a rotated bounding box regression mechanism enables the detection box to closely fit goods stacked in any direction, laying the foundation for subsequent accurate spatial calculations. The preprocessing module effectively overcomes the effects of image distortion, blurring, and uneven lighting through a series of operations such as correction, deblurring, and adaptive contrast enhancement, providing high-quality input for the algorithm. The goods localization module combines the accurate recognition results with the PnP geometric algorithm and introduces a verification step based on physical constraints to achieve high-precision and robust calculation of the six-degree-of-freedom pose of goods, enabling automated equipment to perform precise operations.

[0017] Secondly, the system achieves intelligent and lean management of the entire warehousing process. The inbound, outbound, and return management modules are not simply electronic workflows, but deeply integrated with artificial intelligence and optimization algorithms. Intelligent storage location allocation and virtual pallet group management during inbound processing optimize warehouse space utilization and lay the foundation for subsequent operations; intelligent wave division and path planning during outbound processing greatly improve picking efficiency; and standardized and intelligent sorting of returns management enables efficient handling of reverse logistics. These modules seamlessly collaborate with the visual recognition and positioning core, ensuring that the status, location, and quantity information of goods at every stage from entering the warehouse to leaving are reflected and tracked in the system in real time and accurately, forming a complete business and data closed loop.

[0018] Finally, this system possesses high practicality and reliability. The image acquisition module's built-in quality judgment unit filters invalid data at the source, saving computational resources. The training and recognition module employs hard sample mining and multi-scale training strategies, ensuring the algorithm's strong generalization ability in real-world complex scenarios. Cascaded fine recognition and multi-level geometric verification mechanisms jointly construct a robust fault-tolerance and error-prevention system, significantly reducing the probability of misidentification and mislocation. The entire system deeply integrates advanced computer vision technology with specific warehousing business logic, not only solving the technical challenges of "accurate vision" and "accurate positioning," but also addressing the operational challenges of "effective management" and "high efficiency," providing a solid and reliable overall solution for building unmanned, intelligent modern smart warehouses. Attached Figure Description

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

[0020] Figure 1 This is a schematic diagram of the overall structure of a warehouse goods intelligent identification and positioning management system based on an image segmentation algorithm according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the image acquisition module in a warehouse cargo intelligent identification and positioning management system based on an image segmentation algorithm according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the preprocessing module in a warehouse cargo intelligent identification and positioning management system based on an image segmentation algorithm according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the cargo positioning module in a warehouse cargo intelligent identification and positioning management system based on an image segmentation algorithm according to an embodiment of the present invention.

[0021] In the picture: 1. Image acquisition module; 2. Preprocessing module; 3. Image segmentation algorithm establishment module; 4. Training and recognition module; 5. Goods inbound management module; 6. Goods outbound management module; 7. Returns management module; 8. Goods positioning module; 9. Image optical acquisition unit; 10. Photoelectric conversion unit; 11. Judgment unit; 12. Image processing unit; 13. Image correction unit; 14. Image noise reduction unit; 15. Goods recognition unit; 16. Goods positioning unit. Detailed Implementation

[0022] To enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Based on the embodiments in this application, other similar embodiments obtained by those skilled in the art without creative effort should all fall within the scope of protection of this application. Furthermore, directional terms mentioned in the following embodiments, such as "up," "down," "left," and "right," are only for reference to the directions in the accompanying drawings; therefore, the directional terms used are for illustrative purposes and not for limiting the invention.

[0023] The present invention will be further described below with reference to the accompanying drawings and preferred embodiments.

[0024] Please see Figures 1-2 This invention provides a warehouse goods intelligent identification and positioning management system based on image segmentation algorithm, comprising: The system comprises an image acquisition module 1, a preprocessing module 2, an image segmentation algorithm establishment module 3, a training and recognition module 4, and a cargo positioning module 8. The image acquisition module 1 is used to acquire images of warehouse cargo. The preprocessing module 2 processes the acquired images. The image segmentation algorithm establishment module 3 is used to establish a deep learning object detection algorithm. The training and recognition module 4 is used to train and apply the object detection algorithm to identify cargo. The cargo positioning module 8 is used to locate the identified cargo.

[0025] It should be further explained that the system is a comprehensive management solution applied to modern smart warehouses. Its core lies in achieving automated, high-precision identification and spatial positioning of goods within the warehouse through computer vision and deep learning technologies. The image acquisition module 1 is the system's "eyes," typically consisting of an array of industrial cameras deployed at key warehouse nodes (such as entrances, aisles, and next to shelves), responsible for continuously or trigger-based capture of raw image data containing goods. The preprocessing module 2 is the system's "preprocessing workshop," performing a series of optimization operations on the raw images to improve image quality and provide "clean" input for subsequent algorithm processing. The image segmentation algorithm establishment module 3 is the system's "algorithm brain," designing and constructing a deep learning model architecture specifically optimized for complex warehouse environments (such as goods occlusion, uneven lighting, and cluttered backgrounds). The training and recognition module 4 is the system's "training and execution center," using massive amounts of warehouse scene image data to train the model, enabling it to learn to identify different goods, and calling the trained model to perform inference analysis on newly input images during actual operation. The cargo positioning module 8 is the system's "spatial sensor." Based on the recognition results and visual geometry principles, it calculates the precise coordinates (X, Y, Z) and orientation of the cargo in the three-dimensional warehouse space, providing a basis for the movement of automated handling equipment (such as AGVs and robotic arms). This system also includes business logic modules such as the cargo inbound management module 5, cargo outbound management module 6, and return management module 7. These modules work collaboratively with the identification and positioning core to achieve intelligent management of the entire warehouse operation process. The collaborative relationship between the system modules can be described as follows: the output of the image acquisition module 1 is connected to the input of the preprocessing module 2; the output of the preprocessing module 2 is connected to the input of the training recognition module 4; the training recognition module 4 incorporates the algorithm model established by the image segmentation algorithm module 3, and its recognition result output is connected to the inputs of the cargo inbound management module 5, cargo outbound management module 6, return management module 7, and cargo positioning module 8, respectively; while the output of the cargo positioning module 8 can be used to guide automated equipment or update the cargo location information in the warehouse management system (WMS).

[0026] Furthermore, this system organically combines the image acquisition module 1, preprocessing module 2, image segmentation algorithm establishment module 3, and training and recognition module 4 to construct an automated processing pipeline from raw images to semantic information (type and quantity) of goods. The improved algorithm established by the image segmentation algorithm establishment module 3 is the core of this invention. It does not directly adopt a general object detection model but is specifically optimized for the characteristics of warehouse goods, such as stacking, occlusion, and varying viewing angles. For example, in terms of algorithm structure, it not only extracts the appearance and shape features of the goods but also enhances the perception of the spatial layout and relative positional relationships of the goods through a special convolution module. This allows the algorithm to make relatively accurate inferences and segmentations based on the contextual information of the visible parts, even when the goods are partially occluded. The training and recognition module 4 trains the algorithm using a large number of labeled warehouse images (labeling information includes goods category and pixel-level segmentation masks), giving it strong generalization capabilities. Ultimately, the entire system can efficiently and accurately process visual information in the complex environment of a warehouse, providing a reliable data foundation for subsequent warehouse management operations.

[0027] Understandably, by setting up a series of closely interconnected modules—image acquisition module 1, preprocessing module 2, image segmentation algorithm establishment module 3, and training and recognition module 4—the system can automatically and non-contactly acquire the apparent visual features of goods and utilize powerful deep learning models to analyze these features, thereby achieving rapid and accurate identification of various types and forms of goods. This completely changes the inefficient operating mode of traditional warehouses that relies on manual visual inspection or barcode scanning. In particular, the improved algorithm contributed by image segmentation algorithm establishment module 3 can better handle problems such as occlusion, overlap, and different lighting conditions commonly found in warehouse environments, providing cleaner and more accurate input data for subsequent feature extraction and classification, greatly improving the robustness and accuracy of the entire recognition process. The introduction of goods positioning module 8 further transforms the recognition results in two-dimensional images into actual locations in three-dimensional space, realizing the "addressing" function of goods. Combined with management modules such as warehousing, outbound, and returns, it can accurately track and locate the flow of goods throughout the entire process, greatly facilitating the warehouse staff's search, inventory, and scheduling work, and improving the warehouse's space utilization and operational efficiency.

[0028] Specifically, the image acquisition module 1 includes an image optical acquisition unit 9, a photoelectric conversion unit 10, a judgment unit 11, and an image processing unit 12; the image optical acquisition unit 9 is used to acquire optical signals from the surface of the cargo; the photoelectric conversion unit 10 is connected to the image optical acquisition unit 9 and is used to convert the optical signals into corresponding electrical signals; the judgment unit 11 is connected to the photoelectric conversion unit 10 and is used to determine whether the converted electrical signals meet the requirements for sharpness and contrast according to a preset image quality evaluation threshold, and decide whether to output them; the image processing unit 12 is connected to the judgment unit 11 and is used to receive the electrical signals that are allowed to be output after judgment, and perform preliminary digital signal processing on them to form the original cargo image data to be processed.

[0029] It should be further explained that the image acquisition module 1, as the system's data entry point, has the following internal structure and workflow: the image optical acquisition unit 9, photoelectric conversion unit 10, judgment unit 11, and image processing unit 12 are connected sequentially. The image optical acquisition unit 9 is the physical front end, typically containing an industrial camera lens and an image sensor (such as CMOS or CCD). The photoelectric conversion unit 10 is integrated inside the image sensor. The judgment unit 11 and image processing unit 12 can be processors built into the camera, or dedicated software modules in a backend industrial control computer or server.

[0030] Furthermore, the workflow of image acquisition module 1 and the functional details of each component are as follows: 1. The image optical acquisition unit 9 is responsible for optical imaging. It consists of an industrial lens and an image sensor. The industrial lens focuses the light reflected from the goods in the warehouse scene. Preferably, a fixed-focus lens with a focal length of 8mm and an aperture of F-number of 2.0 is used. This selection ensures a large amount of light intake to accommodate the possible low lighting in the warehouse while obtaining a deep depth of field, ensuring that goods within a certain distance range are clearly imaged. The image sensor (such as a 12-megapixel global shutter CMOS sensor) is located on the focal plane of the lens and is used to receive the focused optical signal.

[0031] 2. The photoelectric conversion unit 10 is responsible for physical signal conversion. Each photosite in the image sensor converts the received light intensity (optical signal) into a weak current signal (analog electrical signal) proportionally. Then, the analog signal is quantized into a digital signal, i.e., the gray value or RGB component value of each pixel, by the analog-to-digital converter (ADC) built into the sensor. This process converts an optical image into a two-dimensional digital matrix.

[0032] 3. Judgment unit 11 is responsible for the initial screening of image quality. Its core is a lightweight image quality assessment algorithm. This algorithm analyzes the digital image frames transmitted from photoelectric conversion unit 10 in real time and calculates two key indicators: a) Sharpness, evaluated by calculating the gradient magnitude of the image (e.g., the Tenengrad gradient function), is calculated using the following formula: ,in and These are the images at the pixel level. The horizontal and vertical gradient values ​​after convolution by the Sobel operator.

[0033] b) Contrast, evaluated by calculating the standard deviation of the image's gray levels. Thresholds are set for both metrics. Preferably, the sharpness threshold... Set to 10000 (for the aforementioned 12-megapixel image). This value is chosen to filter out blurry images caused by camera shake, rapid subject movement, or severe focus misalignment. Contrast Threshold Set to 30 (grayscale range 0-255). This value is chosen to exclude images where effective information is lost due to excessively low ambient light or overexposure. Only images that simultaneously meet these conditions will be excluded. and Only frames that meet the criteria will be allowed to proceed to the next process by the judgment unit 11; otherwise, the frame will be discarded and the system will wait for the next frame. This effectively reduces the overhead of transmitting and processing invalid data.

[0034] 4. The image processing unit 12 is responsible for preliminary signal processing. For image frames that pass the judgment, the image processing unit 12 performs a series of basic ISP (Image Signal Processing) operations to form standard raw cargo image data. These operations include: a) Dead pixel correction, repairing faulty pixels on the sensor; b) Black level correction to eliminate the influence of sensor dark current; c) Automatic white balance corrects color deviations under different color temperature light sources, ensuring that white objects still appear white under different lighting conditions; d) Color interpolation (de-mosaic): Because most sensors use Bayer filters, each pixel only captures one color information, so a full-color image needs to be interpolated from the information of adjacent pixels. e) Gamma correction performs a non-linear adjustment of image brightness to conform to the characteristics of human vision or the response curve of the display device. After these processes, the output is "raw cargo image data" in a standardized format (such as RGB24) that can be directly used for subsequent advanced processing.

[0035] Understandably, by setting up a complete image acquisition chain including an image optical acquisition unit 9, a photoelectric conversion unit 10, a judgment unit 11, and an image processing unit 12, the system not only completes the signal conversion from the physical world to the digital world, but also adds an intelligent filtering step at the source. The judgment unit 11 plays a particularly important role; it acts like a "quality gatekeeper," filtering out low-quality, invalid images caused by environmental interference (such as instantaneous strong light, lens smudges, or severe shaking) or equipment malfunctions in real time, ensuring that only clear and usable image data is sent to the subsequent computationally intensive preprocessing and recognition modules. This avoids wasting system resources on processing invalid information, improves overall processing efficiency and reliability, and also reduces the probability of subsequent recognition and positioning errors due to poor input image quality. The standardized processing of the image processing unit 12 provides subsequent algorithms with inputs that have a unified data format and relatively accurate color and brightness, reducing additional interference caused by differences in acquisition equipment.

[0036] Specifically, the preprocessing module 2 includes an image correction unit 13 and an image noise reduction unit 14. The image correction unit 13 is used to perform geometric distortion correction and perspective transformation on the input original cargo image to eliminate image distortion caused by camera lens distortion or non-direct shooting angle, and ensure the accuracy of cargo shape features. The image noise reduction unit 14 is connected to the image correction unit 13 and is used to filter the corrected image to suppress random noise. It further includes an image deblurring unit and a contrast enhancement unit. The image deblurring unit uses a blind deconvolution algorithm to process motion blur and defocus blur caused by cargo movement or inaccurate focus. The contrast enhancement unit uses an adaptive histogram equalization algorithm to improve the image visibility in low-light or unevenly lit areas of the warehouse.

[0037] It should be further explained that the preprocessing module 2 receives the original cargo image data from the image acquisition module 1 and performs deep optimization on it. Its internal data flow can be described in words as follows: the original image data is first input into the image correction unit 13, and the corrected image is output to the image denoising unit 14; the image denoising unit 14 may sequentially perform deblurring and contrast enhancement operations, and finally output a high-quality processed image.

[0038] Furthermore, the specific processing methods and preferred parameters for each unit in preprocessing module 2 are as follows: 1. The image correction unit 13 mainly addresses two types of deformation: The first step is lens distortion correction, primarily radial and tangential distortion. This is achieved by calibrating the camera beforehand to obtain its intrinsic parameter matrix. and distortion coefficient vector (usually includes) For any pixel in the image. The correction process involves mapping the image onto a normalized camera plane, applying a distortion model to perform inverse distortion calculations, and then reprojecting it onto the pixel plane. The distortion model is relatively complex; its core idea is to correct phenomena such as the curvature of straight lines caused by the lens shape.

[0039] Secondly, there's perspective transformation. When the camera isn't directly facing the plane of the goods, the goods in the image will exhibit trapezoidal distortion. By identifying known corner points of the shelves or pallets in the image (or using a calibration plate), a 3x3 perspective transformation matrix can be calculated. Using this matrix, through the formula... Remapping the image, where These are the coordinates of the original image. These are the corrected coordinates, which "straighten" the tilted image into a top view or front view, facilitating subsequent size measurement and positioning.

[0040] 2. The image noise reduction unit 14 includes multiple processing steps: The first step is basic noise reduction, using Non-Local Means (NLM) filtering. This algorithm doesn't use local region averaging; instead, it finds similar image patches across the entire image and performs a weighted average, smoothing noise while better preserving edge and texture details. The core idea of ​​its formula is to calculate the similarity weights between pixel patches. Preferably, the search window size is 21x21 pixels, the similar patch size is 7x7 pixels, and the filtering parameters... Set it to 10. These values ​​strike a good balance between noise reduction intensity and detail preservation.

[0041] The second step is the image deblurring unit. For slight motion blur or out-of-focus blur that the judgment unit 11 may not have completely filtered out, a blind deconvolution algorithm based on maximum a posteriori probability is used. This algorithm jointly estimates the sharp latent image without knowing the exact form of the point spread function (PSF). and fuzzy kernel Minimize the energy function through iterative optimization. ,in It is an observed blurry image. This represents the convolution operation. It is a prior constraint on the image gradient (such as the hyper-Laplacian prior). and This is the regularization parameter. Preferably, set to... , The iteration count is 5 times to strike a trade-off between the deblurring effect and the computation time.

[0042] The third step is the contrast enhancement unit. To address the issue of low illumination in warehouse corners or on the backlit sides of goods, Limit Contrast Adaptive Histogram Equalization (CLAHE) is employed. Unlike global histogram equalization, CLAHE divides the image into several small blocks (called tiles) and performs histogram equalization independently on each block, while limiting the amplification factor of local contrast to avoid amplifying noise and generating excessive distortion. Preferably, the tile size is set to 8x8, and the contrast limit threshold (Clip Limit) is set to 2.0. This setting effectively enhances local details while avoiding unnatural patches in uniform areas (such as solid-color packaging boxes).

[0043] Understandably, the preprocessing module 2, through the collaborative work of the image correction unit 13 and the image denoising unit 14, systematically solves various quality problems existing in the original image. Geometric correction ensures the authenticity of the cargo shape, providing an accurate foundation for subsequent shape-based recognition and geometric-based localization. Denoising, deblurring, and contrast enhancement significantly improve the visual quality and signal-to-noise ratio of the image, making key features such as cargo edges, textures, and label text clearer and more prominent. This is equivalent to providing subsequent deep learning algorithms with "high-definition, distortion-free" input material, greatly reducing the risk of feature extraction difficulties and decreased recognition rates due to poor input image quality. In particular, adaptive contrast enhancement effectively overcomes the challenges posed by the complex lighting environment of the warehouse, ensuring that important details of the cargo can be "seen" by the algorithm in both bright and dark areas, thereby guaranteeing the system's stable performance throughout the entire warehouse.

[0044] Specifically, the deep learning object detection algorithm established by the image segmentation algorithm establishment module 3 uses a standard convolutional layer in its backbone network to extract multi-scale shape feature maps of warehouse items, and introduces a depthwise separable convolutional module in parallel to extract deep spatial feature maps of warehouse items; the module further fuses the extracted shape feature maps and spatial feature maps in the channel dimension to generate a fused feature map; the deep learning object detection algorithm sets a cross-scale feature aggregation path in the feature pyramid network for the warehouse environment to enhance the feature expression ability of small-sized goods and partially occluded goods, and introduces a rotating bounding box regression mechanism in the detection head to adapt to the detection scenario of goods stacked in any direction in the warehouse.

[0045] It should be further explained that the image segmentation algorithm module 3 constructs an improved instance segmentation neural network model. This model is based on the Mask R-CNN framework and incorporates three key improvements to adapt to warehouse scenarios. The model structure can be described as follows: the input image sequentially passes through the Backbone network, Feature Pyramid Network (FPN), Region Proposal Network (RPN), detection head (including classification and regression branches), and segmentation masking head. The improvements in this module mainly focus on the Backbone, FPN, and detection head.

[0046] Furthermore, the specific architecture and operation of the improved deep learning object detection (instance segmentation) algorithm are as follows: 1. Improved Backbone Feature Extraction Network. The first four stages (stages 1-4) of ResNet-34 are preferably used as the base backbone. Two depthwise separable convolution modules are added in parallel after the outputs of stages 3 and 4. The feature map output from stage 4 of the standard convolution (denoted as...) The first stage operates on the output of stage 3, focusing on extracting the overall shape, outline, and high-level semantic features of the goods. The second stage operates on the output of stage 3, with a smaller receptive field and higher computational efficiency. It focuses on extracting local details, texture, and spatial context features of the goods, and its output feature map is denoted as […]. Subsequently, After adjusting the number of channels using a 1x1 convolution, and... Concatenation is performed along the channel dimension to obtain the fused feature map. This design enables the network to understand both "what" (shape semantics) and "where and how" (spatial details) of goods, making it particularly effective in distinguishing between goods that look similar but have different textures or are partially obscured.

[0047] 2. Improved Feature Pyramid Network (FPN). The standard FPN fuses multi-scale features through a top-down path and lateral connections. This algorithm, building upon the standard FPN, adds an additional bottom-up enhancement path at each layer of the top-down path. Specifically, after generating the P5 (top layer) feature, it is not only downsampled and fused with C4 to generate P4, but also the upsampled features of P5 are added to P4, and the result is then passed through a 3x3 convolution to generate an enhanced P4_feat. Simultaneously, this enhanced P4_feat is upsampled and further fused with the higher-resolution P3_feat. This cross-layer, cross-scale feature aggregation ensures that each layer's features contain richer high-level semantics and low-level detail information, significantly improving the feature representation ability for small-sized goods (such as small boxes in the distance) and goods partially occluded by larger goods.

[0048] 3. Rotation-Sensitive Detection Head. Warehouse goods are often stacked at arbitrary angles in images. Standard horizontal rectangular bounding box regression introduces significant background noise and is unsuitable for long, narrow items. Therefore, in the bounding box regression branch of the detection head, the standard 4-parameter (center point x, y, width w, height h) regression is changed to a 5-parameter (center point x, y, width w, height h, rotation angle θ) rotation bounding box regression. The range of values ​​for angle θ is defined as follows: When calculating the regression target, the transformation relationship between the horizontal bounding box and the rotated bounding box is incorporated into the loss function. The segmentation mask prediction is still performed within the adjusted rotated region of interest (RRoI). This allows the algorithm to frame the cargo with a tighter rotated rectangle, providing a more accurate 2D proposal for subsequent precise localization and spatial calculations.

[0049] Understandably, the image segmentation algorithm module 3, through the aforementioned three key improvements, deeply adapts to the specific needs of warehouse vision tasks. The parallel shape and spatial feature extraction and fusion mechanism enables the model to comprehensively utilize global and local information, enhancing its perception of complex scenes. The enhanced cross-scale feature aggregation path acts like giving the model "multi-scale attention," allowing it to simultaneously see the details of small distant targets and nearby occluded targets. The introduction of rotated bounding boxes ensures that the model's output detection boxes closely match the actual orientation of the goods, improving not only the accuracy of segmentation masks but also providing crucial, non-redundant 2D coordinate information for subsequent geometry-based precise 3D localization calculations. These improvements work together to significantly improve the algorithm's recognition accuracy, localization accuracy, and robustness to occlusion compared to general object detection algorithms in complex environments like warehouses, where goods are densely packed, occlusion is common, and orientation is variable.

[0050] Specifically, the training and recognition module 4 performs end-to-end training on the deep learning target detection algorithm using a dataset containing images of goods in various warehouse scenarios. During the training process, a hard sample mining strategy is adopted to focus on overlapping or similar-looking goods that are difficult to distinguish, and a multi-scale training strategy is applied to improve the algorithm's robustness in recognizing goods at different distances. In the inference phase, the training and recognition module 4 inputs the images processed by the preprocessing module 2 into the trained algorithm model, outputs the category label, confidence score, and pixel-level segmentation mask of each detected goods, and calculates the preliminary spatial location information of the goods by combining the pre-calibrated camera parameters.

[0051] It should be further explained that the training and recognition module 4 comprises two working stages: model training and model inference. During the training stage, it uses a large amount of labeled data to learn and optimize the model defined by the image segmentation algorithm building module 3. During the inference stage, it deploys the trained model to the actual system to process real-time images.

[0052] Furthermore, the specific implementation details of the training and inference phases of the training and recognition module 4 are as follows: 1. Dataset Construction and Augmentation. Tens of thousands of images were collected, covering different warehouses, different lighting conditions (fluorescent lights, natural light, dim light), different viewing angles (eye-level, overhead, oblique view), and different cargo states (single item, stacked, partially occluded, densely arranged). Each image was finely annotated, including the following: a) Rotated bounding box for each item (5 parameters: cx, cy, w, h, θ); b) Goods category (e.g., "A4 carton", "tire", "motor" etc.); c) Pixel-level segmentation mask for each item. To increase data diversity, online data augmentation strategies are employed, including: random horizontal / vertical flipping (probability 0.5), random rotation ( Random brightness / contrast adjustment (ratio) ), add random Gaussian noise, and simulate occlusion using Cutout or MixUp strategies.

[0053] 2. Model Training and Optimization Strategies. Training is conducted end-to-end. Loss Function It consists of multiple parts: The values ​​represent the classification and regression losses of the Region Proposal Network (RPN), the classification and regression losses of the detection head, and the segmentation mask loss, respectively. The optimizer used is Adam W, with an initial learning rate of 0.0001, adjusted using cosine annealing, and weight decay to 0.0001. Hard sample mining (OHEM) is employed: in each training batch, the top k samples with the highest loss values ​​(i.e., hard samples) based on the classification and regression losses are selected for backpropagation, with k set to 70% of the batch size. This forces the model to focus more on learning hard-to-distinguish samples, such as severely overlapping or extremely similar-looking goods. Multi-scale training is used: during training, every certain number of iterations (e.g., 1000), a size is randomly selected from a preset scale range (e.g., the shorter side pixels are randomly between [400, 800]), and the training images are scaled to that size. This enhances the model's adaptability to input images at different resolutions (corresponding to different distances). The total number of training epochs is set to 50, and the batch size is set to 4 (limited by GPU memory).

[0054] 3. Model Inference and Initial Localization. After training, the model weights are fixed and deployed. During inference, the preprocessed image is input into the model, and the model output includes: a list of N detected targets, where each target's information is: class ID, class confidence score, and rotation bounding box parameters. , , , , And a binary segmentation mask M (of fixed size, such as 28x28). Combined with the camera intrinsic parameter matrix. The pose of the camera relative to the warehouse world coordinate system (external parameter matrix obtained through hand-eye calibration) This allows for preliminary monocular visual spatial localization of each item. First, using the segmentation mask M and the rotation box parameters, the minimum bounding rectangle or the set of main contour points of the item in the image coordinate system can be calculated. Then, since goods are typically placed on the ground or on shelves of known height, the height of their bottom contact surface can be assumed. For known values ​​(such as ground level) Image points can be calculated using the back-projection formula of the camera imaging model. This corresponds to a ray in the world coordinate system. Intersect this ray with a plane of known height. Finding the intersection will give you the world coordinates of that point. By calculating and averaging multiple contour points, the approximate planar coordinates of the cargo's bottom contour in the world coordinate system can be obtained. , ), and its main direction (from the angle of the rotating frame). (Conversion). This is the initial spatial location information of the goods. This information can be used for coarse positioning and tracking of the goods.

[0055] Understandably, the training and recognition module 4, through a carefully designed training strategy, enabled the algorithm model to learn fully from massive and diverse data, achieving strong generalization ability and robustness. The difficult sample mining strategy forced the model to directly confront and overcome the difficulties in the recognition task (such as overlapping and similar goods), avoiding overfitting on simple samples and poor performance on difficult samples. Multi-scale training allowed the model to learn to "ignore" distance changes, enabling stable recognition regardless of whether the goods are near, large, far, or small in the image. During the inference phase, the model not only outputs "what it is" (category) and "where it is" (pixel location), but also, by combining with pre-calibrated camera geometric parameters, preliminarily calculates the approximate location of the goods in the real 3D warehouse. This provides crucial initial values ​​and related information for the subsequent higher-precision positioning module, achieving an initial leap from 2D image perception to 3D spatial understanding, and is a key link connecting the entire intelligent recognition and positioning process.

[0056] Specifically, it also includes a goods receiving management module 5, which is used to: receive goods information that have been packed and have generated unique box codes; complete the system receiving registration by scanning the box codes with a PDA; dynamically combine multiple physical pallets into virtual pallet groups according to the attributes, size and optimized storage strategy of the goods, and allocate the optimal storage location to them; finally, confirm that the goods are actually placed in the storage location by scanning the virtual pallet group code with a PDA, and update the inventory database. The logical relationship of the virtual pallet groups facilitates subsequent whole-group transfer or inventory count.

[0057] It should be further explained that the goods receiving management module 5 is responsible for the digital shelving process after goods enter the warehouse, and works in conjunction with the training and recognition module 4 and the goods positioning module 8. Its logical flow can be described in the following order: Goods arrive at the warehouse unloading area -> Operators use PDAs to scan the unique box code (such as a QR code or RFID tag) on ​​each tote or pallet -> Scanned information is synchronized to the system in real time, completing the system registration of goods information (including SKU, quantity, production date, etc.) -> The intelligent scheduling algorithm in the system background calculates and allocates the optimal storage location for the goods to be received based on goods attributes (such as category, size, weight, storage requirements), current inventory distribution, and predefined optimization strategies (such as clustering of similar goods, ABC classification, FIFO channel planning) -> For goods that need to be palletized and shelved, the system can dynamically... Multiple physical pallets are logically bound together in the database as a "virtual pallet group," and a common virtual group code and corresponding physical storage location are assigned to this group. Handling personnel (or AGVs) transport goods to the target storage location according to system guidance. Before or after placement, a PDA is used to scan the target storage location label and virtual pallet group code to complete the "shelving" confirmation operation. After receiving the confirmation signal, the system creates or updates a record for the batch of goods in the inventory database, marks its status as "in stock," and accurately records its storage location coordinates (which may be the aisle-shelf-layer-position number, or the three-dimensional coordinates from the goods positioning module 8) and its relationship to the virtual pallet group.

[0058] Furthermore, the key technical details of the goods receiving management module 5 lie in the management of virtual pallet groups and the intelligent storage location allocation algorithm. A virtual pallet group is a logical container that links multiple physical pallets carrying goods for the same order, batch, or destination within an information system. For example, a batch of 20 pallets might be logically divided into four virtual groups of five pallets each, based on storage location size and optimization rules, and then allocated to four adjacent storage locations. The intelligent storage location allocation algorithm can consider various factors, and its objective function could be maximizing space utilization, minimizing future picking paths, or balancing the storage volume of each aisle. A simplified model involves assigning virtual pallet groups to each candidate storage location. Calculate a score ,in This is a space utilization score for the storage location (the less space is left after the goods are placed, the higher the score may be). This is the expected average distance from the storage location to the corresponding entrance / exit or picking station. It is a score of the synergy between the types of goods stored around the storage location (e.g., goods of the same type have a higher score when clustered together). This is a weighting coefficient, adjusted according to warehouse operation strategy. Preferred settings are... To balance space utilization and operational efficiency.

[0059] Understandably, the Goods Inbound Management Module 5 fully digitizes and automates traditional physical inbound operations. PDA scanning enables paperless, real-time information entry, eliminating manual input errors. The introduction of virtual pallet groups significantly enhances management flexibility, allowing for subsequent relocation, inventory checks, or outbound shipments in "groups" as needed, improving operational efficiency. The intelligent storage location allocation algorithm manages warehouse space from a global optimization perspective, avoiding the arbitrariness of manual placement, thereby improving warehouse space utilization and reducing walking distances for subsequent picking operations, laying the foundation for efficient warehouse operation from the outset. Integration with the image recognition and positioning system allows for verification during scanning and shelving, with a camera confirming the consistency between the placed goods and system indications, or the goods positioning module 8 verifying the final location after placement, forming a double verification process that further improves inbound accuracy.

[0060] Specifically, it also includes a goods outbound management module 6, which is specifically used for: receiving outbound applications submitted through smart terminals or APPs, the applications containing goods information and quantity; the system, based on a first-in-first-out or optimized path strategy, locking a specific batch of goods and its precise location from the inventory database, and generating an outbound task order containing goods information, location, and operation sequence, along with a corresponding outbound QR code; operators scan the outbound QR code with a PDA to obtain delisting instructions, and after confirming delisting, scan the goods or pallet label with a PDA to complete the verification, and the system then updates the inventory status.

[0061] It should be further explained that the outbound goods management module 6 is responsible for handling the destocking and outbound processes of goods, and is another core link in warehouse operations. Its workflow can be described in the following order: Warehouse managers or external customers submit outbound request forms through smart terminals (such as computer web interfaces) or mobile apps, specifying the required SKUs, quantities, priorities, and other information. -> After receiving the request, the system backend automatically calculates and locks the specific batch of goods that meets the conditions and their precise storage location (including aisle, shelf, layer, and position information, or three-dimensional coordinates from the goods positioning module 8) based on preset outbound strategies (such as FIFO, near-expiry first-out, batch-based, etc.) and real-time inventory database. -> The system combines multiple outbound task orders and uses path optimization algorithms (such as heuristic algorithms for the Traveling Salesman Problem (TSP)) to plan the optimal picking route for pickers or AGVs to minimize the total walking or movement distance. -> The system generates one or more detailed... Electronic outbound task orders are generated, and a unique outbound QR code is created for each task order or specific destocking task. This QR code encodes information such as the target goods, storage location, quantity, and operation sequence. -> Pickers receive the task via their PDAs, or the AGV scheduling system receives the instruction. -> Personnel drive forklifts or AGVs to the target storage location. The PDA displays images of the goods and a storage location navigation map for confirmation. -> After locating the goods, personnel (or AGVs using vision) scan the storage location label and the label on the goods / pallet itself using the PDA for secondary verification to ensure the correct goods are picked. -> Upon successful verification, the PDA indicates that the destocking is complete, and the system updates the inventory status of the batch of goods from "in stock" to "outbound" or "in transit" in real time, releasing the storage space resources it occupies. -> The goods are transported to the outbound verification area for final outbound processing.

[0062] Furthermore, the core of the outbound goods management module 6 lies in intelligent wave division and path optimization, as well as outbound verification. Wave division merges multiple scattered outbound orders into a batch (one wave) for processing to reduce repetitive walking. A simple optimization model is to group goods with similar locations into the same wave, with the goal of minimizing the total picking distance. Path optimization, within a wave, plans the shortest path for pickers to access each storage location. In complex multi-aisle warehouses, this can be modeled as a constrained optimization problem. The outbound verification process is crucial. When the PDA scans the goods / pallet labels, it compares the scanned code with the expected code in the task order. In addition, it can be combined with cameras installed on forklifts or picking carts to trigger a fast image recognition (calling the lightweight model trained in recognition module 4) when picking goods, and then compare the identified goods category with the system task order for a second comparison, achieving visual-assisted verification and preventing mispicking due to incorrect or misplaced labels.

[0063] Understandably, the Goods Outbound Management Module 6 automates, refines, and streamlines the outbound process. By replacing manual searching and memorization with intelligent system decision-making, it significantly reduces picking error rates and personnel training costs. Optimized wave division and path planning significantly shorten the walking distance and time for picking personnel, improving order fulfillment efficiency. Outbound QR codes and PDA scanning verification constitute a reliable error-proofing mechanism, ensuring consistency between goods and orders. Real-time inventory status updates guarantee the accuracy and timeliness of inventory data, enabling warehouse managers to monitor actual inventory at any time, providing reliable support for purchasing and sales decisions. The entire outbound process is closely linked to inbound and inventory data, forming a complete closed-loop inventory management system.

[0064] Specifically, it also includes a return management module 7, which is used to: provide online multi-channel return application portals; generate a unique return label and electronic voucher for the goods to be returned after review; after the returned goods arrive at the warehouse, after inspection, the system forms an independent virtual pallet group for the returned goods according to the warehousing process and allocates it to the return temporary storage area or resale inventory area; and complete the system put the returned goods on the shelves and update the inventory status by scanning the return label and the virtual pallet group code with a PDA, thereby realizing closed-loop management of the return process.

[0065] It should be further explained that the return management module 7 handles the reverse logistics process of goods returning from the client to the warehouse. It shares some logic with the inbound management module 5, but has its own special characteristics. The process can be described in words as follows: The customer submits a return application through the online channels provided by the merchant (such as e-commerce platforms, dedicated APPs, mini programs), and fills in the order number, reason for return, product information, etc. -> The warehouse administrator reviews the application in the background system. After the review is approved, the system automatically generates a unique return authorization number (RMA Number) and a corresponding QR code return label. The customer prints the label and affixes it to the return package. -> The returned goods are delivered to the warehouse return area. -> Quality inspectors open the boxes to inspect the goods, confirm the condition of the goods (intact, defective, damaged packaging, etc.), and enter the inspection results into the system. -> The system determines the destination of the returned goods based on the inspection results and preset rules: a) Resaleable (intact): The system treats it as a new batch of "special inbound" goods and creates an inventory record for it. Similar to the inbound process, the system assigns storage locations to these returned goods (possibly a dedicated resaleable returned goods area) and can logically group them with other returned goods from the same batch or with the same SKU into a "virtual return pallet group." b) Pending / Defective Goods: The system assigns them to the return temporary storage area or pending processing area, awaiting further decisions (repair, destruction, etc.). -> The warehouse clerk, following system instructions, transports the inspected goods to the designated storage location assigned by the system and uses a PDA to scan the return labels and storage location labels on the goods in sequence to complete the information binding and "shelving" operation. -> The system updates inventory: For resaleable goods, inventory increases; for defective goods, it is recorded in a separate "Pending Inventory" account. Simultaneously, the finance and customer service systems receive a return completion notification to facilitate subsequent refund or exchange operations.

[0066] Furthermore, the key to the returns management module 7 lies in the status management and differentiated process handling of returned goods. The system needs to define a clear state machine for returned goods, such as: "Application in Progress," "In Transit," "Pending Inspection," "Inspection Passed (Resaleable)," "Inspection Failed (Pending Processing)," "Shelved (Resaleable)," and "Transferred (To Repair)." Each status triggers different system operations and permissions. Intelligent allocation rules are one of the core logics. The system can automatically determine the shelving location of returned goods based on preset rules. The input to the rule engine can include: product SKU, reason for return, quality inspection result, current capacity of each returned goods storage area, and the regular storage area for that SKU. For example, the rule can be set as: IF Quality Inspection Result = "Intact" AND SKU belongs to FMCG THEN, allocated to "Fast Flow Return Area" (near the outbound area); IF Quality Inspection Result = "Slightly Damaged Packaging" THEN, allocated to "Pending Repackaging Area"; IF Quality Inspection Result = "Functional Failure" THEN, allocated to "Pending Repair Area." This automated rule reduces manual decision-making and improves processing efficiency. The management of virtual pallet groups for returns is similar to that for inbound goods. However, for returned goods, the concept of a group may focus more on "the same batch of returns" or "the same reason for returns", which facilitates subsequent batch processing, such as collective rework or collective price reduction promotions.

[0067] Understandably, the Returns Management Module 7 standardizes and systematizes the typically chaotic and inefficient returns processing. Online applications and electronic tags simplify customer operations and facilitate information forecasting at the warehouse level. Virtual groups and shelving processes, similar to the Inbound module, allow returned goods to be precisely managed and located by the system like regular goods, avoiding chaos in the returns area. Intelligent allocation based on quality inspection results guides returned goods in different states to different workflows, achieving refined operations. Ultimately, the entire returns process is integrated with the main inventory system and financial system, forming a complete business loop from sales to returns and re-inbound, improving customer satisfaction and optimizing inventory structure and cash flow.

[0068] Specifically, the cargo positioning module 8 includes a cargo identification unit 15 and a cargo positioning unit 16. The cargo identification unit 15 receives the preliminary cargo identification results from the training identification module 4 and applies an improved label template matching algorithm for fine identification. The algorithm constructs a multi-view template by extracting robust features of cargo surface texture, edges, or printed labels, and adopts a cascade matching strategy during the matching process. First, a coarse matching is performed for rapid screening, and then a fine matching based on feature descriptors is performed on the candidate regions to distinguish cargoes with highly similar appearances.

[0069] It should be further explained that the cargo identification unit 15 of the cargo positioning module 8 is used to perform precise identification of specific cargo (especially cargo with similar appearance or requiring extremely high identification accuracy) based on the coarse identification and segmentation provided by the training identification module 4. Its input is the cargo image region (defined by a rotating bounding box or segmentation mask) output by the training identification module 4, and its output is the precise identification ID (such as a serial number or unique code) of the cargo in that region. Its structure can be described as follows: it includes an offline template library construction stage and an online identification stage.

[0070] Furthermore, the specific steps of the improved label template matching algorithm applied to the cargo identification unit 15 are as follows: 1. Offline template library construction. For each piece of cargo requiring precise authentication (usually high-value cargo with unique identifiers), images are acquired from multiple standard perspectives (e.g., front, two sides, top) under controlled lighting conditions. For each perspective image, robust feature points and their descriptors are extracted. Preferably, SIFT (Scale Invariant Feature Transform) or ORB (Oriented Fast and Rotated BRIEF) features are used. SIFT features are invariant to scale, rotation, and brightness changes, and the formula for calculating their descriptors involves the gradient orientation histogram of the keypoint neighborhood. ORB features are a combination of Fast corner points and BRIEF descriptors, which is faster. After feature extraction, the feature set is... The unique identification ID and viewpoint information of the goods are stored together to form a template. .in It is a key location. It is its descriptor vector (a 128-dimensional vector for SIFT). Multiple viewpoint templates are created for each cargo, forming a template set for that cargo. 2. Online cascaded matching recognition. When the training recognition module 4 detects a cargo region... Then, the cargo identification unit 15 performs the following steps for precise identification: a) Coarse matching (quick filtering): First, from online images... Features are extracted (using SIFT or ORB, again). Then, a fast filtering mechanism is employed, for example, calculating... The overall color histogram (HSV color space) or HOG (Histogram of Oriented Gradients) features are quickly compared with the corresponding features of all templates in the template library (e.g., calculating Bach distance or cosine distance). The top K templates with the smallest distances are selected as the candidate template set. Preferably, K is set to 5. This step significantly reduces the number of templates that need to be matched in detail.

[0071] b) Fine matching (feature point matching): For each candidate template ,Will Feature points and templates The feature points are matched. The nearest neighbor distance ratio (NNDR) method is used: for A descriptor In the template Find the two descriptors with the closest Euclidean distance. and If the distance ratio Less than a threshold Then accept A good match. Preferably, Set the value to 0.8. Count the number of all good matches. .

[0072] c) Geometric verification and identity determination: For successfully matched feature point pairs, the Random Sampling Consensus Algorithm (RANSAC) is used to estimate... With template homography transformation matrix between RANSAC can eliminate incorrect matches (outside points). It calculates interior points (based on the estimated transformation). The number of point pairs Set a threshold, for example, require... And the proportion of interior points From the candidate templates that have passed geometric validation, select... The template with the most occurrences will be identified as the cargo area by its unique ID. The precise identity of the goods must be verified. If no template passes verification, the goods are deemed unknown or identification fails.

[0073] Understandably, the precise identification function provided by the cargo identification unit 15 is an important supplement and verification to the general identification based on deep learning. Deep learning models excel at identifying broad categories of goods (such as "mineral water boxes of brand A"), but may fall short when dealing with different individuals within the same category (such as two boxes of the same mineral water, requiring differentiation based on their unique box codes or subtle differences). The improved template matching algorithm, utilizing the fine textures, edges, or printed labels on the cargo surface, enables individual-level identity authentication. The cascaded matching strategy (coarse screening + fine matching + geometric verification) significantly improves matching efficiency while maintaining high accuracy, meeting real-time requirements. This is crucial for applications requiring tracking individual goods, preventing cross-selling, or implementing strict first-in-first-out (FIFO) processes (requiring differentiation between different production batches of the same SKU), greatly enhancing the overall system's management sophistication.

[0074] Specifically, the cargo positioning unit 16 is connected to the cargo identification unit 15 and is used to perform three-dimensional spatial positioning of the precisely identified cargo. Based on a monocular vision or multi-view vision system, it uses the cargo image coordinates output by the improved label template matching algorithm, the prior information of the actual physical size of the cargo, and the intrinsic and extrinsic parameters of the camera to calculate the three-dimensional coordinates and orientation of the cargo in the warehouse world coordinate system through the PnP algorithm. Furthermore, the cargo positioning unit 16 also includes a geometric verification step, which compares the calculated cargo position and size with the actual physical constraints of the warehouse shelves, filters out positioning results that obviously do not conform to spatial logic, and finally outputs the verified accurate three-dimensional coordinates, orientation, and offset from the target storage location of the cargo, and drives the warehouse automated guided vehicle or robotic arm to perform grasping or displacement operations.

[0075] It should be further explained that the cargo positioning unit 16 receives the precise identification result (cargo ID) from the cargo identification unit 15, as well as the image coordinates and segmentation information of the cargo area provided by the training identification module 4. The goal is to calculate the precise three-dimensional position (X, Y, Z) and three-dimensional attitude (yaw angle, pitch angle, roll angle) of the cargo in the predefined warehouse world coordinate system. Its workflow can be described in the following order: obtain the precise two-dimensional feature point coordinates of the cargo in the image -> obtain the three-dimensional coordinates of the corresponding feature points on the cargo three-dimensional model -> use camera parameters to solve the pose of the cargo in the camera coordinate system through PnP -> obtain the pose of the cargo in the world coordinate system through coordinate transformation -> perform geometric rationality verification -> output the final positioning result.

[0076] Furthermore, the specific steps and algorithms for precise positioning by the cargo positioning unit 16 are as follows: 1. Establishment of Feature Point Correspondence. During the template matching process of the cargo recognition unit 15, successfully matched feature point pairs not only provide identity information but also the correspondence between image points (2D) and template model points (3D). Suppose we obtain the four corner points of the previous label on the cargo in the current image through template matching. Pixel coordinates in: Meanwhile, when creating the template for this cargo offline, we have already measured or defined the three-dimensional coordinates of the label in its own object coordinate system (with the cargo center or a corner point as the origin): For example, suppose a label is a square with sides of 20cm affixed to the side of a rectangular box. We can define the coordinates of its four corner points in the object's coordinate system. This establishes a set of 2D-3D point correspondences: .

[0077] 2. Solving the Perspective-n-Point (PnP) Problem. The Perspective-n-Point (PnP) problem is based on a set of known 3D points (object coordinate system), their 2D projections into an image, and the camera's intrinsic parameters. Solve for the rotation matrix of the object relative to the camera. Translation vector This is a classic computer vision problem. It can be solved using the Efficient Projection PnP (EPnP) algorithm, which employs iterative methods (such as Levenberg-Marquardt optimization). The algorithm solves the following projection equations: ,in It is an unknown scale factor. Solving for it yields... and That is, the pose of the cargo in the camera coordinate system.

[0078] 3. Coordinate system transformation. The transformation relationship from the camera coordinate system to the warehouse world coordinate system is known (obtained through the extrinsic parameter matrix obtained from system calibration). Then the pose of the cargo in the world coordinate system is: This yields the three-dimensional position coordinates of the cargo in the world coordinate system. and attitude angle (which can be obtained from the rotation matrix) (obtained by decomposition).

[0079] 4. Geometric Verification and Filtering. Due to factors such as image noise and matching errors, the pose obtained by direct calculation may contain outliers. The cargo positioning unit 16 introduces a geometric verification step: a) Size verification: Based on the solved pose, back-project the projection length of other known dimensions (such as length, width, and height) on the cargo model in the image, compare it with the pixel length measured in the actual image, and the error should be within a reasonable threshold (such as relative error <5%).

[0080] b) Spatial rationality verification: Calculated cargo location Goods must be placed within a reasonable physical space; for example, the Z-coordinate (height) should be approximately equal to the height of the shelf layer on which it is located (with some tolerance allowed); goods should not have significant spatial overlap with known shelf supports or other positioned goods.

[0081] c) Multi-view fusion verification: If the system is equipped with multiple cameras (multi-view), it can independently locate the same cargo from different perspectives. Then, by fusion of multiple observations through triangulation or least squares, a more robust and accurate pose estimate can be obtained. Only the localization result that passes all verifications will be output as the final result.

[0082] 5. Output and Application. Finally, the cargo positioning unit 16 outputs the precise pose of the cargo, including three-dimensional coordinates. And rotation angle (e.g., yaw angle). The system can compare this position with the target storage location (theoretical location) of the goods in the warehouse management system to calculate the position offset. This offset can drive the robotic arm on the automated guided vehicle (AGV) to make precise gripping adjustments, or prompt the human forklift driver to make fine adjustments, thereby achieving centimeter-level precision in picking and placing goods.

[0083] Understandably, the cargo positioning unit 16 is the final and most crucial link in achieving high-precision mapping between the physical and information worlds in this system. It is not merely a simple monocular ranging measurement, but a precise positioning process combining feature matching, geometric calculation, and physical constraint verification. By utilizing the geometric features of the cargo itself (or its tag), it can achieve more accurate and general six-degree-of-freedom pose estimation than relying solely on homography or assumed ground height. The introduced geometric verification step acts as a "common sense filter," effectively eliminating erroneous calculation results caused by mismatches, occlusion, or image noise, ensuring the reliability of the output pose. The final high-precision three-dimensional coordinates and attitude enable automated equipment (such as robotic arms) to accurately manipulate the cargo, truly realizing a closed loop from "seeing" the cargo to "receiving" it, providing core technical support for the realization of a fully automated unmanned warehouse.

[0084] In a preferred embodiment, this application also provides an electronic device, the electronic device comprising: The computer device includes a memory and a processor, wherein the memory stores computer-readable instructions that, when executed by the processor, implement the image segmentation algorithm-based intelligent warehouse goods identification and positioning management system. The computer device can be broadly categorized as a server, terminal, or any other electronic device with the necessary computing and / or processing capabilities. In one embodiment, the computer device may include a processor, memory, network interface, communication interface, etc., connected via a system bus. The processor of the computer device can be used to provide the necessary computing, processing, and / or control capabilities. The memory of the computer device may include a non-volatile storage medium and internal memory. The non-volatile storage medium may store an operating system, computer programs, etc. The internal memory can provide an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface and communication interface of the computer device can be used to connect and communicate with external devices via a network. When the computer program is executed by the processor, it performs the steps of the method of the present invention.

[0085] This invention can be implemented as a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the steps of the methods of embodiments of the invention to be performed. In one embodiment, the computer program is distributed across multiple network-coupled computer devices or processors, such that the computer program is stored, accessed, and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, may be executed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations may be executed by one or more computer devices or processors, and one or more other method steps / operations may be executed by one or more other computer devices or processors. One or more computer devices or processors may execute a single method step / operation, or execute two or more method steps / operations.

[0086] Those skilled in the art will understand that the method steps of this invention can be performed by a computer program instructing related hardware, such as a computer device or processor, to perform the steps of this invention when executed. Depending on the context, any references herein to memory, storage, databases, or other media may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0087] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification, provided that such combination does not contain contradictions.

[0088] The specific embodiments of the present invention described above do not constitute a limitation on the scope of protection of the present invention. Any other corresponding changes and modifications made in accordance with the technical concept of the present invention should be included within the scope of protection of the claims of the present invention.

Claims

1. A warehouse goods intelligent identification and positioning management system based on image segmentation algorithm, characterized in that, include: Image acquisition module (1), preprocessing module (2), image segmentation algorithm establishment module (3), training and recognition module (4), and cargo positioning module (8); The image acquisition module (1) is used to acquire images of goods in the warehouse; The preprocessing module (2) processes the acquired images; The image segmentation algorithm establishment module (3) is used to establish a deep learning object detection algorithm; The training and recognition module (4) is used to train and apply the target detection algorithm to identify goods; The cargo positioning module (8) is used to locate the identified cargo.

2. The warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 1, characterized in that, The image acquisition module (1) includes an image optical acquisition unit (9), a photoelectric conversion unit (10), a judgment unit (11), and an image processing unit (12); the image optical acquisition unit (9) is used to acquire optical signals from the surface of the goods; the photoelectric conversion unit (10) is connected to the image optical acquisition unit (9) and is used to convert the optical signals into corresponding electrical signals; the judgment unit (11) is connected to the photoelectric conversion unit (10) and is used to determine whether the converted electrical signals meet the requirements for sharpness and contrast according to a preset image quality evaluation threshold, and decide whether to output them; The image processing unit (12) is connected to the judgment unit (11) and is used to receive the electrical signal that is judged to be allowed to be output, and to perform preliminary digital signal processing on it to form the original cargo image data to be processed.

3. The warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 1, characterized in that, The preprocessing module (2) includes an image correction unit (13) and an image noise reduction unit (14). The image correction unit (13) is used to perform geometric distortion correction and perspective transformation on the input original cargo image to eliminate image distortion caused by camera lens distortion or non-direct shooting angle, and ensure the accuracy of cargo shape features. The image noise reduction unit (14) is connected to the image correction unit (13) and is used to filter the corrected image to suppress random noise. It further includes an image deblurring unit and a contrast enhancement unit. The image deblurring unit uses a blind deconvolution algorithm to process motion blur and defocus blur caused by cargo movement or inaccurate focus. The contrast enhancement unit uses an adaptive histogram equalization algorithm to improve the image visibility of low-light or unevenly lit areas in the warehouse.

4. A warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 1, characterized in that, The deep learning target detection algorithm established by the image segmentation algorithm establishment module (3) uses a standard convolutional layer in its backbone network to extract multi-scale shape feature maps of warehouse items, and introduces a depth-separable convolutional module in parallel to extract deep spatial feature maps of warehouse items; the module further fuses the extracted shape feature maps and spatial feature maps in the channel dimension to generate a fused feature map; the deep learning target detection algorithm sets a cross-scale feature aggregation path in the feature pyramid network for the warehouse environment to enhance the feature expression ability of small-sized goods and partially occluded goods, and introduces a rotating bounding box regression mechanism in the detection head to adapt to the detection scenario of goods stacked in any direction in the warehouse.

5. A warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 4, characterized in that, The training and recognition module (4) trains the deep learning target detection algorithm end-to-end using a dataset containing images of goods in various warehouse scenarios. During the training process, a hard sample mining strategy is adopted to focus on overlapping or similar-looking goods that are difficult to distinguish, and a multi-scale training strategy is applied to improve the robustness of the algorithm in recognizing goods at different distances. In the inference stage, the training and recognition module (4) inputs the image processed by the preprocessing module (2) into the trained algorithm model, outputs the category label, confidence score and pixel-level segmentation mask of each detected goods, and calculates the preliminary spatial location information of the goods by combining the pre-calibrated camera parameters.

6. A warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 1, characterized in that, It also includes a goods receiving management module (5), which is specifically used for: receiving goods information that have been packed and generated with a unique box code; completing the system receiving registration by scanning the box code with a PDA; dynamically combining multiple physical pallets into a virtual pallet group according to the attributes, size and optimized storage strategy of the goods, and allocating the optimal storage location to it; finally, confirming that the goods are actually placed in the storage location by scanning the virtual pallet group code with a PDA, and updating the inventory database. The logical relationship of the virtual pallet group facilitates subsequent whole-group transfer or inventory.

7. A warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 1, characterized in that, It also includes a goods outbound management module (6), which is specifically used for: receiving outbound applications submitted through smart terminals or APPs, the applications containing goods information and quantity; the system locks a specific batch of goods and their precise location from the inventory database according to the first-in-first-out or optimized path strategy, and generates an outbound task order containing goods information, location and operation sequence and a corresponding outbound QR code; the operator scans the outbound QR code with a PDA to obtain the delisting guidance, and after confirming the delisting, scans the goods or pallet label with a PDA to complete the verification, and the system then updates the inventory status.

8. A warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 6 or 7, characterized in that, It also includes a return management module (7), which is specifically used to: provide online multi-channel return application entry, generate a unique return label and electronic voucher for the goods to be returned after review; after the returned goods arrive at the warehouse, after inspection, the system sets up an independent virtual pallet group for the returned goods according to the warehousing process and allocates it to the return temporary storage area or resale inventory area; and complete the system shelf and inventory status update of the returned goods by scanning the return label and the virtual pallet group code with a PDA, so as to realize the closed-loop management of the return process.

9. A warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 1, characterized in that, The cargo positioning module (8) includes a cargo identification unit (15) and a cargo positioning unit (16). The cargo identification unit (15) receives the preliminary cargo identification results from the training identification module (4) and applies an improved label template matching algorithm for fine identification. The algorithm constructs a multi-view template by extracting robust features of cargo surface texture, edges, or printed labels, and adopts a cascade matching strategy in the matching process. First, a coarse matching is performed for fast screening, and then a fine matching based on feature descriptors is performed on the candidate regions to distinguish cargoes with highly similar appearances.

10. A warehouse cargo intelligent identification and positioning management system based on image segmentation algorithm according to claim 9, characterized in that, The cargo positioning unit (16) is connected to the cargo identification unit (15) and is used to perform three-dimensional spatial positioning of the cargo after precise identification. Based on a monocular vision or multi-view vision system, it uses the cargo image coordinates output by the improved label template matching algorithm, the prior information of the actual physical size of the cargo, and the intrinsic and extrinsic parameters of the camera to calculate the three-dimensional coordinates and orientation of the cargo in the warehouse world coordinate system through the PnP algorithm. Furthermore, the cargo positioning unit (16) also includes a geometric verification step, which compares the calculated cargo position and size with the actual physical constraints of the warehouse shelves, filters out positioning results that obviously do not conform to spatial logic, and finally outputs the verified accurate three-dimensional coordinates, orientation, and offset from the target storage location of the cargo, and drives the warehouse automated guided vehicle or robotic arm to perform grasping or displacement operations.