System and method for monitoring goods

Through the combination of video sensors and processing units, automatic monitoring of warehouse portals is realized, solving the problem of personnel and cargo monitoring in high-traffic environments, and improving the accuracy of cargo detection and the efficiency of inventory management.

CN118613816APending Publication Date: 2024-09-06EVERSEEN LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380019988.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-02
Filing Date
2023-01-31
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In environments such as warehouses, it is difficult to automate the monitoring of the entry and exit of people and goods, resulting in cumbersome and inconsistent manual monitoring. Especially in high-traffic situations, it is difficult to accurately detect the entry and exit of goods and people, affecting the safety and accuracy of goods.

Method used

Employ multiple video sensors to capture video footage of the receiving/shipping portal and perform event analysis through the processing unit to detect entities, identify third-party vendor delivery persons, verify delivered products match data, use database to store faces and products Image data to achieve automatic monitoring and recording.

Benefits of technology

It realizes automatic monitoring of the receipt/shipment portal, improves the accuracy of cargo flow and inventory management processes, and reduces the tediousness and error rate of manual monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613816A
    Figure CN118613816A
Patent Text Reader

Abstract

The order inspection system includes a video sensor configured to capture video clips of a monitored area located near a shipping / receiving portal. The processing unit performs event analysis on the captured video clips, detects entities, and detects delivery of goods from a third-party supplier from door opening events, identifies the third-party supplier and implements a sign-in process for a deliveryman associated with the third-party supplier, detects entry and exit of goods through a delivery / delivery portal, and sends the goods to the third-party supplier. And verifying whether the detected delivered product is matched with the data of the product to be delivered by the third-party supplier. A database stores at least a face image / identification dataset for detecting a face / brand and a product image dataset for identifying a product. And the database records the result of the order inspection process and the sign-out of the deliveryman at the end of delivery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to systems and methods for monitoring. More specifically, the present disclosure relates to a system and method for monitoring incoming / outgoing goods at a shipping / receiving portal. Background Art

[0002] Environments with warehouses and the like (e.g., retail environments) may facilitate the entry and exit of people and goods in addition to the storage / retrieval of goods. In many cases, the large flow of people and goods in these environments may pose a challenge to tracking the individual movement of people and goods in and out of these environments, such as to prevent unauthorized entry, theft of goods, proper receipt / delivery of goods, etc. Traditionally, these tasks may be completed manually by deploying security personnel. However, when the flow of these people and goods is large, the manual work of the security personnel may become cumbersome and inconsistent. Therefore, a more robust system and method is needed to monitor the entry and exit of people and goods in these environments without manual intervention. Summary of the invention

[0003] In one aspect of the present disclosure, an order checking system is provided. The order checking system includes a plurality of video sensors capable of capturing video clips of a surveillance area located within an order receiving area or an order shipping area of ​​a shipping / receiving portal. The order checking system also includes a processing unit configured to perform event analysis on the captured video clips, detect entities in the video clips captured by the video sensors, detect incoming delivery from a third-party supplier from a door opening event in the captured video clips, identify the third-party supplier and implement a check-in process for a delivery person from the third-party supplier, detect the entry and exit of goods through the shipping / receiving portal, and verify whether the detected delivery product matches the data of the product that the third-party supplier should deliver. The order checking system also includes a database that is communicatively coupled to the processing unit. The database is configured to store at least a facial image / identification dataset for detecting a face / brand and a product image dataset for identifying a product. The database is also configured to record the results of the order checking process and the check-out of the delivery person at the end of the delivery for subsequent retrieval when a request is made to the processing unit.

[0004] In another aspect of the present disclosure, a method for performing video surveillance is provided. The method includes capturing video clips of a surveillance area located within an order receiving area or an order shipping area of ​​a shipping / collection portal using a plurality of video sensors. The method also includes performing event analysis on the captured video clips using a processing unit. The method also includes detecting entities in the video clips captured by the video sensors using the processing unit. The method also includes detecting a shipping delivery from a third-party supplier from a door opening event in the captured video clips using the processing unit. The method also includes identifying the third-party supplier and implementing a check-in process for a delivery person from the third-party supplier using the processing unit. The method also includes detecting the entry and exit of merchandise through the shipping / collection portal using the processing unit and verifying whether the detected delivered product matches the data of the product that the third-party supplier should deliver. The method also includes storing at least a facial image / identification dataset for detecting a face / brand and a product image dataset for identifying a product using a database. The method also includes recording the results of the order checking process and the check-out of the delivery person at the end of the delivery using the database. The method also includes retrieving the record from the database by the processing unit upon a request to the processing unit.

[0005] In another aspect of the present disclosure, an embodiment of the present disclosure also relates to a non-transitory computer-readable medium having computer-executable instructions stored thereon. When the computer-executable instructions are executed by a processing unit, the computer-executable instructions enable the processing unit to perform the method of the present disclosure.

[0006] The present disclosure proposes a system and method for monitoring incoming / outgoing goods at a receiving / shipping portal. The present disclosure is described with reference to a retail environment. However, those skilled in the art will appreciate that the present disclosure is not limited to use in a retail environment. Rather, the present disclosure is applicable to any environment in which goods pass through a shipping portal when leaving a first order fulfillment facility and then pass through a receiving portal when entering a second order receiving facility that is the desired destination for the goods. Therefore, the goal of the disclosed system is to detect inconsistencies between the planned inventory records for incoming / outgoing orders and the actual contents of the corresponding receiving / pre-shipping orders.

[0007] In addition, the system solves the problem of detecting inaccurate or incomplete receiving orders and similarly inaccurate or incomplete assembly orders before shipment. In this way, the flow of goods at both ends (i.e., the shipping portal and the receiving portal of the delivery system) can be characterized and controlled to improve the accuracy of the delivery system and inventory management processes at both the order fulfillment facility and the order receiving facility.

[0008] Incoming orders for goods typically pass through an entry door of an order receiving facility before being received and accepted by personnel at the order receiving facility. Similarly, goods shipped from an order fulfillment facility typically pass through an exit door of an order fulfillment facility before being delivered to a desired destination. For simplicity, the entry door of an order receiving facility will be referred to as a receiving portal hereinafter. Likewise, the exit door of an order fulfillment facility will be referred to as a shipping portal hereinafter. The present disclosure addresses the problem of loss prevention at a receiving / shipping portal. In particular, the present disclosure enables automatic inspection of incoming / outgoing orders at a receiving / shipping portal.

[0009] In practice, an order receiving facility typically includes multiple receiving portals. Similarly, an order fulfillment facility typically includes multiple shipping portals. In fact, a given facility may host both order receiving and order fulfillment, in which case the facility may include a first plurality of receiving portals and a second plurality of shipping portals. The amount of time required to manually review a single order and the large volume of inbound and / or outbound order traffic typically experienced in an order receiving facility / order fulfillment facility makes manual monitoring of incoming and outbound orders very challenging. The challenge is exacerbated if multiple deliveries are occurring simultaneously within the confined space of the order receiving area or order shipping area of ​​the receiving / shipping portal.

[0010] Therefore, the present disclosure discloses a system and method for automatically monitoring the inbound and outbound traffic of either or both of the receiving portal and the shipping portal of the order receiving facility and the order fulfillment facility, respectively. For the sake of brevity, the system and method of the present disclosure will be referred to as the order checking system and the order checking method, respectively, hereinafter.

[0011] It will be appreciated that features of the present disclosure are susceptible to being combined in various combinations without departing from the scope of the present disclosure as defined by the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] When read in conjunction with the accompanying drawings, the above overview and the following detailed description of illustrative embodiments will be better understood. In order to illustrate the present disclosure, exemplary configurations of the present disclosure are shown in the accompanying drawings. However, the present disclosure is not limited to the specific methods and means disclosed herein. In addition, it will be appreciated by those skilled in the art that the accompanying drawings are not drawn to scale. Where possible, similar elements are represented by the same numerals.

[0013] Figure 1 is a perspective view of an exemplary environment for implementing an order checking system according to an embodiment of the present disclosure.

[0014] Figure 2 yes Figure 1 A top-down diagram of the monitoring area in the environment shown, where the monitoring area is located near the receiving / shipping portal and consists of Figure 1 The order checking system is monitored by video sensors.

[0015] Figure 3 is a schematic overview of an order checking system according to an embodiment of the present disclosure.

[0016] Figure 4 is a block diagram illustrating a software architecture of an order checking system according to an embodiment of the present disclosure.

[0017] Figure 5 is a schematic diagram of an exemplary camera setup for generating training data and subsequently detecting people and doors (including door status) according to an embodiment of the present disclosure.

[0018] Figure 6 Detection of a receiving / shipping portal having different degrees of closing / opening corresponding to a closed state, an intermediate state, and a fully opened state according to an embodiment of the present disclosure is shown.

[0019] Figure 7 An exemplary threshold value for the height of a bounding box surrounding a shipping / receiving portal is shown, which may be used to determine whether the shipping / receiving portal is in an open state or a closed state, according to an embodiment of the present disclosure.

[0020] Figure 8 Exemplary consecutive video frame pairs from a video clip are shown according to an embodiment of the present disclosure.

[0021] Fig. 9 An exemplary Yolo v5 architecture that can be used to implement a pallet detector according to an embodiment of the present disclosure is shown.

[0022] Fig.10 A flowchart of key point detection according to an embodiment of the present disclosure is shown.

[0023] Fig.11a is a virtual representation of a physical grid pattern of markers on a ground area according to an embodiment of the present disclosure.

[0024] Fig.11b is projected by a camera according to an embodiment of the present disclosure Fig.11a A virtual representation of a point in .

[0025] Fig.12a An exemplary cuboid having opposing corner points T' and B' is shown according to an embodiment of the present disclosure.

[0026] Figure 12b According to the embodiment of the present disclosure, Fig.12a The projection T corresponding to the corner points T' and B' intercepted from the view p and a virtual representation of B.

[0027] Fig.13is a virtual representation of an object as seen by a camera disposed above the object according to an embodiment of the present disclosure.

[0028] Fig.14 It is a transverse cross-sectional view of the pallet.

[0029] Fig.15 is a cross-sectional view of a pallet with two boxes stacked on it and the bottom box being longer than the top box.

[0030] In the accompanying drawings, underlined numbers are used to represent the item in which the underlined number is located or the item to which the underlined number is adjacent. Non-underlined numbers are associated with an item, which is identified by a line connecting the non-underlined number and the item. When a number is not underlined and is accompanied by an associated arrow, the non-underlined number is used to identify the general item to which the arrow points. DETAILED DESCRIPTION

[0031] The following detailed description illustrates embodiments of the present disclosure and the manner in which they can be implemented. Although the best mode for carrying out the present disclosure has been disclosed, those skilled in the art will recognize that other embodiments for carrying out or practicing the present disclosure are also possible.

[0032] Reference Figure 1 and Figure 2 The order checking system 110 includes a plurality of video sensors 102, wherein the plurality of video sensors 102 are adapted to capture video clips of a monitoring area located near a receiving / shipping portal 101. In one embodiment, the video sensor 102 may be mounted on a frame 101a of the receiving / shipping portal 101. In another embodiment, the video sensor 102 may be disposed near the receiving / shipping portal 101, so that a field of view (FOV) of the video sensor 102 includes at least the following monitoring area, that is, the monitoring area has any one or both of the center and the side of the receiving / shipping portal 101, that is, an area adjacent to the receiving / shipping portal.

[0033] Therefore, the monitoring area is located within the order receiving area or the order shipping area. The monitoring area is formed by the common field of view (FOV) of the video sensor 102 and is bounded by the receiving / shipping portal 101 and the region of interest (ROI) 204 (also known as the pallet analysis area). The monitoring area also includes a first buffer area 202 and a second buffer area 203, which, in an embodiment of the present disclosure, are used together as a hysteresis decision function to eliminate uncertainty in determining whether the mobile entity is located outside or inside the corresponding order receiving area or order shipping area.

[0034] In the example shown, the external monitoring area 201 located on the left side of the receiving / shipping portal 101 is considered to be outside the order receiving area or the order shipping area. Similarly, the area on the right side of the receiving / shipping portal 101 is considered to be within the order receiving area or the order shipping area. Therefore, in this example, the presence of goods close to the order receiving area can be detected in the external monitoring area 201. In addition, when goods are detected in the first buffer area 202 and then continuously detected in the second buffer area 203, the goods are considered to have passed through the receiving / shipping portal 101 and entered the order receiving area or the order shipping area. Similarly, when goods are detected in the second buffer area 203 and then continuously detected in the first buffer area 202, the goods are considered to have left the order receiving area or the order shipping area.

[0035] The outer portion of the order receiving area or the order shipping area located near the receiving / shipping portal 101 is represented by the inner remaining area 205. The inner remaining area 205 is not within the field of view of the video sensor 102 of the order checking system 110. Similarly, using the naming convention of this example, the inner remaining area 205 is located within the order receiving area or the order shipping area. Therefore, the inner remaining area 205 is an unmonitored area within the order receiving area or the order shipping area. Therefore, the order checking system 110 of the present disclosure monitors the movement of entities (people, pallets) within the external monitoring area 201, the first buffer area 202, the second buffer area 203, and the region of interest (ROI) / pallet analysis area 204, and therefore, for the sake of simplicity of the present disclosure, these above-mentioned areas 201, 202, 203 and 204 can be regarded as monitoring areas together.

[0036] refer to Figure 2 In the top view of the monitoring area, the region of interest (ROI) / tray analysis area 204 and the first buffer area 202 and the second buffer area 203 are defined as a set of rectangles. It will be understood by those skilled in the art that from the perspective of the camera and Figure 1 Corresponding to the setting presented in the view of FIG. 1 , the region of interest (ROI) / tray analysis area 204 and each of the first buffer area 202 and the second buffer area 203 are in a trapezoidal shape. Figure 2In the plan view of the monitoring area shown, the vertical dimensions of the region of interest (ROI) / pallet analysis area 204 and the first buffer area 202 and the second buffer area 203 are equal to the vertical dimensions of the receiving / shipping portal 101. Similarly, the horizontal dimensions of the first buffer area 202 and the second buffer area 203 are equal to the horizontal dimensions of the receiving / shipping portal 101. In one example, the horizontal dimension of the region of interest (ROI) / pallet analysis area 204 is configured to be three times the horizontal dimension of a standard cargo pallet. However, those skilled in the art will recognize that the above relationship between the horizontal dimension of the region of interest (ROI) / pallet analysis area and the horizontal dimension of a standard cargo pallet is exemplary in nature and is for illustration purposes only. In particular, those skilled in the art will recognize that the order inspection system of the present disclosure is not limited to the above-mentioned dimensional relationship. Instead, the preferred embodiment can be used for any horizontal dimension associated with the entrance / exit channel of the order receiving / fulfillment facility.

[0037] Reference Figure 1 and Figure 2 In one example, an entity 103 (e.g., a cargo pallet hereinafter referred to as “103”) passes through the receiving / shipping portal 101 in a left-to-right direction (moving from the outer monitoring area 201 to the inner remaining area 205). The entity is deemed to have entered the first buffer area 202 when two conditions are met, namely: (a) the entity is moving through the first buffer region 202; and (b) A box virtually, for example digitally, representing the outline of the entity detected by the video sensor 102 of the order inspection system 110 intersects the second buffer area 203 .

[0038] For simplicity, the box virtually representing the outline of the detected entity will be referred to as a bounding box around the entity hereinafter.

[0039] See also Figure 3 , the architecture of the order checking system 110 of the present disclosure includes: (a) a receiving / shipping portal equipped with a plurality of video sensors 102; (b) processing unit 301; and (c) Database 302.

[0040] If the order receiving facility / order fulfillment facility has more than one shipping / receiving portal 101, a single instance of the order checking system 110 may be dedicated to each shipping / receiving portal 101. In such an embodiment, some components, including the video sensor 102, the software detector component associated with the processing unit 301, and the database 302 of the order checking system 110, may be shared between the various instances of the order checking system 110.

[0041] The processing unit 301 includes one or more CPUs, main memory, and local memory. The processing unit 301 is configured to operate algorithms for detecting entities (e.g., objects or people) in video clips captured by the video sensor 102. The processing unit 301 is also configured to operate algorithms for performing event analysis on the captured video clips. These algorithms will be described later in this document and are implemented by a set of software detector components that form part of the order inspection system 110. The database 302 stores information required to implement the functions of the algorithm implementation / detector as described below. Specifically, in various embodiments, the information stored in the database 302 includes the following: • Facial image / logo datasets required for face / brand detectors; and • A dataset of product images required for product re-identification (implemented in the per-pallet item classification module described below).

[0042] The order checking system 110 of the present disclosure facilitates automatic monitoring of an order receiving area or an order shipping area by covering various aspects, such as: -Detect delivery from third-party suppliers from door opening events; - Identify third-party vendors and implement a check-in process for delivery drivers from third-party vendors; - Correlate data on products that should have been delivered by suppliers (e.g. advance shipping notices) with data on products actually received; - upon detecting the entry or exit of merchandise through the receiving / shipping portal, verifying that the detected delivered product matches the data of the product that should be delivered by the third-party supplier; and - Ensure that the results of the order checking process (approval / rejection of received orders) and the delivery person’s check-out at the end of the delivery are recorded.

[0043] Reference Figure 4 The software architecture of the order checking system 110 includes three main software modules, namely, a delivery detection module 402 , a pallet monitoring module 404 and an event (or alarm) management module 406 .

[0044] The delivery detection module 402 is responsible for checking whether the receiving / delivery process is carried out correctly. The delivery detection module 402 includes a door state detector 402a, a person detector 402b, a person tracker 402c, and a quick response (QR) detector 402d. Based on the analysis of the video clip captured by the video sensor 102 of the order checking system 110, the door state detector 402a determines whether the receiving / shipping portal 101 is in an open state or a closed state. The person detector 402b analyzes the video clip captured by the video sensor 102 of the order checking system 110 to detect whether the delivery person has arrived at the receiving / shipping portal 101. Using the same video clip, the person tracker 402c tracks the movement of the delivery person detected by the person detector 402b. The QR detector 402d detects whether there is a quick response (QR) code in the captured video clip and reads the QR code. The QR detector 402d compares the detected QR code with the known pre-approved QR code of the third-party supplier / delivery person to find a match. If a match is found, the person presenting the QR code is classified (i.e., the QR detector 402d deems the person) as an authorized entrant to the order fulfillment facility / order receiving facility. Thus, if the movement of the detected person is tracked by the person tracker 402c and the person is deemed by the QR detector 402d to be an authorized entrant, the delivery detection module 402 grants the person access to the order fulfillment facility / order receiving facility to perform activities in accordance with the execution of the associated delivery.

[0045] The pallet monitoring module 404 is dedicated to checking the contents of merchandise delivered from or received to a location (i.e., an order fulfillment facility / order receiving facility). To this end, the first step is to detect the pallet using the pallet detector module 404a, then track the detected pallet using the pallet tracker module 404b, and finally classify the merchandise on the detected pallet using the per-pallet merchandise classification module 404c. The pallet monitoring module 404 also includes a pallet volume estimator 404d for estimating the number of merchandise on the pallet. The last component of the pallet monitoring module 404 is an IN / OUT counter 404e for extracting information on the total number of pallets that have passed through the receiving / shipping portal.

[0046] The event (or alarm) management module 406 includes an alarm manager 406a and an event recorder 406b. The alarm manager 406a is configured to issue an alarm about the detection of an authorized entrant and information about the commodity being supplied / delivered, such as commodity category, pallet volume, number of pallets received during the supply / delivery event under consideration. The event recorder 406b is configured to fully record the supply / delivery event. The above software components will be described in more detail below.

[0047] The person detector 402b includes a model for detecting the presence of an authorized entrant in a video clip captured by the video sensor 102 of the order checking system 110, wherein the authorized entrant includes, but is not limited to, a delivery person from a third-party supplier and / or an employee of the order fulfillment facility / order receiving facility. The output of the person detector 402b is also processed by a person re-identification model (not shown) to track persons whose presence has been detected in the captured video clip. The door state detector 402a includes a model for detecting the presence of the receiving / shipping door 101 in the captured video clip; and a door state algorithm for determining whether the receiving / shipping door is in an open state or a closed state.

[0048] In one embodiment, the person detector 402b and the door state detector 402a can be combined in a software component. In this embodiment, a neural network is used for person and door (i.e., receiving / shipping portal 101) detection based on the YOLOv5 architecture. The selected architecture is the M version, which adds an additional feature pyramid level P6 to the neck component of the original version. CSPDarknet53 (as described in C.-Y. Wang, H.-YM Liao, Y.-H. Wu, P.-Y. Chen, J.-W. Hsieh, and I.-H. Yeh in "CSPNet: A New Backbone that can Enhance Learning Capability of CNN" (2020 IEEE / CVF Computer Vision and Pattern Recognition Symposium (CVPRW), 2020, pp. 1571-1580)) is the backbone network of YOLOv5 and is used as a feature extractor. The neck is represented by PANet (as described in S. Liu, L. Qi, H. Qin, J. Shi, and J. Jia, "Path Aggregation for Instance Segmentation," 2018 IEEE / CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2018, pp. 8759-8768) and is used to generate a feature pyramid to help the model generalize at different scales. The head is used for final detection by generating anchor boxes and corresponding output vectors.

[0049] However, those skilled in the art will recognize that the above-described neural networks and architectures are exemplary in nature and are for illustration purposes only. In particular, those skilled in the art will recognize that the order checking system 110 of the present disclosure is not limited to the above-described neural networks and architectures. Instead, the present disclosure may be implemented with any neural network and architecture capable of detecting people and objects (e.g., doors) in captured video footage. For example, the person detector 402b and the door state detector 402a may include a YOLOv5 architecture with an S or L architecture. Similarly, the person detector 402b and the door state detector 402a may include any single-shot detector (SSD), such as RetinaNet, or may alternatively embody other types of neural networks and architectures known to those skilled in the art.

[0050] Furthermore, in this embodiment, the person detector 402b and the door state detector 402a (or the combined person and door state detector) are trained on a dataset labeled as door, employee, and delivery person. Figure 5 An exemplary camera setup for generating training data and subsequently detecting personnel and door status is given in FIG. A person skilled in the art will appreciate that the order inspection system 110 disclosed herein is not limited to Figure 5 In particular, cameras 501, 502 and 503 can be viewed from Figure 5 The positions shown are shifted 5-10 cm in any direction. Cameras 504 and 505 must be positioned so that the bottom of the shipping / receiving portal 101 is completely contained within the camera's field of view so that the entirety of the pallet can be seen whether it passes through the shipping / receiving portal 101 from the right, left, or center.

[0051] Video clips of people in the training data are labeled based on the person's clothing. This labeling assumes that each operator at an order fulfillment facility or order receiving facility has a standard uniform that all employees must wear; where the uniform is easily distinguishable from clothing worn by non-employees. This labeling protocol also accounts for the degree of variation in uniforms, such as all employees wearing brown shirts but pants that are not a standard dark color (brown, black, etc.). Therefore, using this approach, all people wearing an operator's uniform are labeled "employee" and all others are labeled "delivery person."

[0052] Example details of the data sets used for training, validation, and testing (after being split into training, validation, and test sets) of the order checking system 110 are as follows: • Image size: minimum 1920 x 1080 pixels • Number of annotated images: 18311 • The number of different cameras (e.g. Figure 5As shown, at least 2 viewpoints) • Total number of bounding boxes around objects in the video frames of the dataset: 59276 •The number of bounding boxes around objects of a given class in the video frames of the dataset: o Receiving / shipping portal: 16610 o Deliveryman: 19461 oEmployees: 23205 During inference, the person detector 402b and the door state detector 402a (or the combined person and door state detector) receive as input an image of a video frame comprising a video clip captured from the video sensor 102 (e.g., the cameras 501-505 of the order checking system 110). In response to the received image, the person detector 402b (or the combined person and door state detector) outputs a 3D tensor comprising the following: (a) The center coordinates of the bounding box around the person or door detected in the received image; (b) a width and a height of the bounding box, wherein the width and the height are normalized by scaling relative to the width and height of the received image, respectively; (c) an objectness score, which represents the neural network’s confidence that an object center exists at a given location in the received image, with a value between 0 and 1; and (d) Two output class predictions, namely “employee” and “deliveryman”.

[0053] The non-maximum suppression algorithm is used to generate the prediction with the best confidence score from multiple overlapping bounding box proposals of the same person. The word “prediction” refers to the “employee” and “deliveryman” classifications and the corresponding locations of the classified persons in the received images.

[0054] In addition to detecting people, the delivery detection module 402 also detects the presence of a delivery / shipping portal 101 in the received video frame and determines whether the delivery / shipping portal 101 is in an open or closed state. To this end, the YOLOv5 network of the door state detector 402a (or the combined person and door state detector) produces an output classification of "door" when the presence of a delivery / shipping portal 101 is detected in the received video frame. For those received video frames in which a delivery / shipping portal 101 is detected, another output of the YOLOv5 network is a series of coordinates from which the height of the bounding box around the detected delivery / shipping portal 101 can be calculated. Figure 6 , using the height of the bounding box, such as H1, H2, and H3 shown, the state of the shipping / receiving portal 101 is determined. Specifically, the shipping / receiving portal 101 is determined to be in an open state or a closed state.

[0055] If the shipping / receiving portal 101 is closed, the height of the bounding box around it has a maximum value. In contrast, ideally, when the shipping / receiving portal 101 is open, the height of the bounding box around it is 0, because then the shipping / receiving portal 101 will no longer be visible in the received video frame.

[0056] However, the shipping / receiving door 101 may not be fully open. In this case, to avoid classifying the shipping / receiving door 101 as closed, the operator may pre-configure the threshold variable as a threshold. The threshold may be empirically determined based on the environment and arrangement in which the order checking system 110 is used. Figure 7 , if the height of the bounding box surrounding the shipping / receiving portal 101 is less than or equal to the threshold HT, the shipping / receiving portal 101 is considered to be open. Otherwise, if the height value exceeds the threshold HT, the shipping / receiving portal 101 is considered to be closed. Using this method, it is recognized that Figure 6 The height H3 of the bounding box in is less than or equal to the threshold HT.

[0057] Back to Figure 4 The person tracker 402c is used to assign a tracking path to each person detected in the video clip. T ID and a unique ID; and saves a record of the unique ID. In one embodiment, the person tracker 402c performs tracking by using a detection algorithm based on the DeepSort algorithm (as described in Wojke N., A. Bewley A., and Paulus D. in "Simple online and realtime tracking with a deep association metric" (2017 IEEE International Conference on Image Processing (ICIP), Beijing, 2017, pp. 3645-3649)). Specifically, the person tracker 402c uses the person detector 402b to establish a bounding box around each detected person in each image of the captured video clip. Associated with these bounding boxes, a unique ID will be assigned to each detected person. Tracking path T ID = {(x1, y1), (x2,y2), …} The spatial coordinate vectors representing the centers of bounding boxes corresponding to the person IDs are stored in the order in which the bounding boxes are established in consecutive video frames. The positions are expressed in pixels in the frame coordinate system, with the origin at the top corner of the video frame; the OX axis is arranged horizontally from the left to the right of the origin, and the OY axis is arranged vertically from the top of the video frame downward.

[0058] Reference Figure 8, five persons are detected in a first video frame captured at time T0; and five bounding boxes are established around the persons detected in the first video frame. Each of the five bounding boxes is assigned a unique ID, namely 180, 129, 159, 165, and 137. In a second video frame captured at time T1 shortly after the first video frame, the same five persons can be seen, with the person with ID 137 being partially obscured. In the second video frame, five bounding boxes are established around the persons. Each of these bounding boxes is assigned a unique ID corresponding to the ID of the bounding box around the same person appearing in the first video frame, even if the position of the bounding box in the second video frame is different from the position of the bounding box in the first video frame.

[0059] Those skilled in the art will understand that Figure 8 The unique ID shown in the video frame is provided for illustration purposes. In particular, the personnel tracker of the order inspection system is by no means limited to using such Figure 8 Instead, the order check system's personnel tracker may operate using any unique ID that allows identification of an individual between successive video frames of a captured video clip and differentiation between the individual appearing in the video frames and other individuals.

[0060] In one embodiment, the DeepSort algorithm is used to implement tracking. Each new person that enters the observation scene is assigned a new ID. For a person detected in a previous video frame, the person representation used by the DeepSort algorithm is sufficient to identify the same person when they leave and subsequently re-enter the observation scene. When the person is detected and identified, the DeepSort algorithm assigns the same ID to the person as was assigned when the person was detected in the previous video frame.

[0061] The DeepSort algorithm consists of a SORT tracker and a re-identification (ReID) module implemented by a View Knowledge Distillation (VKD) (Porrello A., Bergamini L., and Calderara S., “Robust Re-identification byMultiple View Knowledge Distillation, Computer Vision”, ECCV 2020, Springer International Publishing, European Conference on Computer Vision, Glasgow, August 2020) neural network.

[0062] The original SORT tracker (described in Bewley A, Ge Z., Ott L., Ramos F., and Upcroft B., "Simple Online and Realtime Tracking", 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, 2016, pp. 3464-3468)) uses only position and movement cues to track a person from one video frame to another. The original SORT tracker includes a Kalman filter module that receives the previous track detected in the current video frame. T ID The Kalman filter module is based on the corresponding previous traces of previously detected people. T ID to estimate the position of the person in the current video frame. The SORT tracker then compares the estimated position with the details of the bounding box around each person detected in the current video frame to find the closest match. The measurement vector of the Kalman filter is represented by the size and position of the center of the bounding box. In addition, the state vector of the Kalman filter contains movement information (i.e., the derivatives of the measurement vector components). Although simple and computationally efficient, the original SORT tracker often switches identities in crowded scenes. To overcome this limitation, the information output by the DeepSort algorithm is integrated into the SORT tracker appearance information extracted by a deep neural network trained offline. Neural networks support ReID, that is, re-identifying people that were previously detected but temporarily unseen. The order inspection system of the present disclosure uses a view knowledge distillation (VKD) neural network to generate better representations of person appearance for ReID.

[0063] The VKD neural network learns a digital appearance descriptor of a person. The appearance descriptor is learned so that the cosine distance between appearance descriptors obtained from different poses of the same person is small, while the cosine distance between appearance descriptors of different persons is large. The VKD architecture includes a Resnet feature extractor (such as Resnet50 or Resnet101) and a classification head. The appearance descriptor represents the flattened output of Resnet after applying global average pooling. The VKD architecture is trained by a classification loss applied on the classification head and a triplet loss applied on the appearance descriptor. VKD improves performance by learning a robust representation using a teacher network and extracting knowledge into the student network. In this embodiment, the representation takes the form of an embedding vector of length 2048. However, those skilled in the art will recognize that the order inspection system disclosed herein is not limited to embedding vectors of this length. On the contrary, the order inspection system disclosed herein can operate with an embedding vector of any length that allows the identification of persons under the settings and environmental conditions of a given order fulfillment facility / order receiving facility.

[0064] The DeepSort algorithm uses the motion and appearance information to assign unique IDs to persons detected in received video frames. For simplicity, persons that have been assigned unique IDs will be referred to as registered persons in the following text. In order to allow tracking of registered persons in subsequent received video frames by matching them with persons detected in subsequent video frames, the DeepSort algorithm retains the IDs of the registered persons, the appearance descriptors of the registered persons, and the corresponding position and motion information of the registered persons contained in the corresponding Kalman filter states for a predefined number of subsequent received video frames.

[0065] If the registered person does not match a person detected in a predefined number of subsequently received video frames, the unique ID of the registered person and the corresponding appearance and movement information are discarded. In the present embodiment, the predefined number of subsequently received video frames is 1000. However, those skilled in the art will recognize that the order checking system of the present disclosure is not limited to this number of subsequently received video frames. On the contrary, the order checking system disclosed herein can operate with any number of subsequently received video frames that allow identification of persons who may have left the field of view of the video sensor of the order checking system and subsequently re-entered the field of view to meet the requirements of the order receiving / order delivery process and any potential conditions of a given order fulfillment facility / order receiving facility.

[0066] The Jonker-Volgenant algorithm is used to convert the estimated trace T IDThe Jonker-Volgenant algorithm is an efficient variant of the Hungarian algorithm. In the first stage, the Jonker-Volgenant algorithm is used to match the previous traces using information about the appearance of the person. T ID Match with the current detection. If after the first stage, there is still an unmatched current detection, the algorithm is run again in the second stage using the above-mentioned movement information. After the second stage, the previously unmatched traces are saved in the database for use with the next received video frame; and the current unmatched detection results are used to create a new track after a certain predefined warm-up period corresponding to some newly created IDs. In the present embodiment, the warm-up period is 3 video frames. However, those skilled in the art will recognize that the order inspection system of the present disclosure is not limited to this. Instead, the number of frames used in the warm-up period can be determined empirically based on the environmental conditions and settings of the order fulfillment facility / order receiving facility.

[0067] In another embodiment, the Jonker-Volgenant algorithm matches a person detected in a currently received video frame with traces of previously detected registered persons based on a weighted combination of a movement cost metric and an appearance cost metric. The movement cost metric can be calculated, for example, as the squared Mahalanobis distance between the Kalman filter measurement vector associated with the person detected in the current video frame and the Kalman filter predicted measurement vector of each previously detected registered person. In each case where a registered person was detected in a previously received video frame, the appearance cost metric can be calculated, for example, as the cosine distance between the appearance descriptor of the person detected in the current video frame and the appearance descriptor of the registered person.

[0068] Those skilled in the art will recognize that the above-described forms of movement cost metrics and appearance cost metrics are for illustrative purposes only. In particular, those skilled in the art will recognize that the order checking system of the present disclosure is not limited to the above-described forms of movement cost metrics and appearance cost metrics. On the contrary, the order checking system disclosed herein can operate with any form of movement cost metrics and appearance cost metrics that support matching a person detected in a currently received video frame with a previously detected registered person. For example, the movement cost metric and / or the appearance cost metric can be replaced by using a form that includes a maximum likelihood statistic.

[0069] A newly registered person is defined as a person who has been assigned an ID most recently. If a newly registered person does not match a person detected in a predefined number of subsequent video frames, the unique ID and corresponding appearance and movement information of the newly registered person are discarded, as the detection result causing the newly registered person is considered a false positive detection.

[0070] SORT supports short-term matching of detected persons, while ReID supports long-term matching. SORT contains hyperparameters that need to be tuned on a validation dataset that contains sequences of video frames extracted from video clips captured by a video sensor of an order inspection system at a constant frame rate (e.g., 4-7 frames per second). In contrast, the VKD algorithm employs a neural network trained on a ReID dataset. The ReID dataset contains regions cropped from received video frames, where the cropped regions correspond to the area occupied by a bounding box containing a person. The cropped regions in the ReID dataset are also classified into tracks, each track representing a region extracted from a video frame belonging to a received video clip.

[0071] The neural network used in the VKD algorithm can be trained or pre-trained using open source datasets such as Mobile Analysis and Re-Identification (MARS). The ReID dataset used in the preferred embodiment has the following characteristics: • Image size: variable (pallet image cropped using bounding box predicted by pallet detector) • Number of individuals / staff: 48 • Minimum number of bounding boxes per person: 30 • Maximum number of bounding boxes per person: 3295 However, those skilled in the art will appreciate that the values ​​associated with the above training / pretraining data sets and the above training / pretraining data sets are for illustration purposes only. In particular, those skilled in the art will recognize that the order checking system disclosed herein is not limited to using these data sets to train / pretrain the neural network in VKD. Instead, the order checking system disclosed herein can operate with any data set suitable for training / pretraining the neural network used in the VKD algorithm (including privately collected data sets).

[0072] Back to Figure 4 , QR detector 402d implements a quick response (QR) detection algorithm. The purpose of QR detector 402d is to allow a delivery person or employee of a third party supplier / buyer, etc. to be identified based on the presence of a QR code on a tag worn on the person's uniform. In this way, access to the order fulfillment facility / order receiving facility can be controlled so that only authorized entrants, i.e., persons who present to the order fulfillment facility / order receiving facility a QR code tag that matches a known approved QR code of a supplier / delivery person, etc., are allowed access to the order fulfillment facility / order receiving facility.

[0073] In one embodiment, the QR detector 402d is implemented using a neural network based on the Yolo_v5 architecture (more specifically, Yolo_v5s). Yolo_v5 includes three main parts, namely, the backbone, the neck, and the head. The backbone adopts a cross-stage partial network (CSP) that is used to extract features from the input image / video frame. The neck is used to generate a feature pyramid. The neck includes PANet, which helps the Yolo_v5s model to generalize at different scales. The head is used in the final detection stage, specifically, the head generates anchor boxes and output vectors of the Yolo_v5s model. Those skilled in the art will recognize that the above network architecture is provided for illustrative purposes only. In particular, those skilled in the art will recognize that the order inspection system 110 of the present disclosure is not limited to the use of the above network architecture. On the contrary, the order inspection system 110 disclosed herein can be operated with any suitable network architecture that is capable of detecting and identifying QR codes present in an image. For example, the order inspection system 110 can be operated with any other single-shot detector (SSD), such as the RetinaNet disclosed earlier in this article.

[0074] Exemplary details of the dataset used to train the Yolo_v5 network are as follows: • Number of images: 1681 • Image size: 2560 x 1440 pixels •Number of comments: 1681 During the training process, a reference frame is created, where the reference frame is a video frame obtained from a video clip captured from the surveillance area without a QR code. Next, a short video is cut from the original video clip of the training data set. The short video contains a series of video frames in which a QR code is displayed to the camera. In order to ensure the diversity of feature distribution, the video frames are extracted from the short video using an average hashing algorithm. In one embodiment, the average hashing algorithm is implemented using the open source Python library ImageHash. However, it can be noted that the above-mentioned software tool for the average hashing algorithm is for illustrative purposes only. In particular, those skilled in the art will understand that the order checking system 110 of the present disclosure is not limited to the use of the ImageHash software tool. On the contrary, the order checking system 110 disclosed herein can operate with any software implementation of the average hashing algorithm.

[0075] In the average hash algorithm, a hash is calculated for each video frame in a short video. For the sake of brevity, a given one of the second or subsequent video frames in a short video will be referred to as a candidate QR image hereinafter, and the video frame before the candidate QR image in the short video will be referred to as the previous candidate QR image hereinafter. In an iterative process starting from the second video frame in the short video and gradually passing through each remaining video frame in the short video, the hash of the candidate QR image is compared with the hash of the previous candidate QR image and the hash of the reference frame. If the hash of the candidate QR image differs from the hash of the previous candidate QR image by more than 5, the candidate QR image is selected, and the hash of the previous candidate QR image is updated to the hash of the candidate QR image. Similarly, if the hash of the candidate QR image differs from the hash of the reference frame by more than 7, the candidate QR image is selected, and the hash of the reference frame is updated with the hash of the candidate QR image.

[0076] Once trained, the Yolo_v5 network of the above embodiment receives as input a video frame of a video clip captured by the video sensor 102 of the order inspection system 110. In response, the Yolo_v5 network outputs three vectors as follows: (a) Coordinates of the center of a bounding box enclosing a QR code detected in a received image and the width and height of the bounding box, where the width and height are normalized by scaling relative to the width and height of the received video frame, respectively; (b) an objectness score, which represents the neural network’s confidence that an object center exists at a given location in a received video frame, with a value between 0 and 1; and (c) Class probabilities of detected objects.

[0077] When a QR code in a received video frame is detected, a corresponding area is cropped from the video frame. The cropped area corresponds to the area occupied by the bounding box surrounding the QR code in the video frame, and an additional 20 pixels are added on each side of the bounding box to ensure that the entire QR code is contained in the cropped area. The QR code visible in the cropped area is then decoded using a barcode reading software component. In one embodiment, the QR code reading software component is the Python library Pyzbar, which is based on the Zbar open source software suite. Those skilled in the art will understand that the above-mentioned barcode reading software component is provided for illustrative purposes only. In particular, those skilled in the art will understand that the order checking system 110 disclosed herein is not limited to the use of the above-mentioned barcode reading software component. On the contrary, the order checking system 110 disclosed herein can operate with any software component capable of reading a QR code, such as but not limited to PyQRCode, qrcode, qrtools.

[0078] Combination Figure 1 refer to Figure 4, the output of the barcode reading software component includes a string decoded from a QR code detected in a received video frame. The delivery detection module 402 associates the string with a person detected closest to the QR code in the received video frame. Thus, the ability of the person tracker 402b to re-identify a person from one frame to another (based on appearance and movement attributes) is enhanced by coupling the person tracker 402b with an identity assigned to the person based on the QR code presented by the person to the video sensor 102 of the order checking system 110.

[0079] The pallet detector module 404a implements a model capable of detecting, determining and identifying the location of a pallet. In one embodiment, the pallet detector module 404a is implemented using a neural network based on the Yolo_v5 architecture, wherein the Yolo_v5 architecture is more specifically as follows Fig. 9 In addition, as shown in Fig. 9 As shown, Yolo_v5 consists of three main parts, namely the backbone, neck, and head. The backbone uses a cross-stage part (CSP) network to extract features from the input image. The neck of the Yolo_v5 neural network is used to generate feature pyramids. The neck contains PANet, which helps the Yolo_v5 neural network generalize at different scales. The head is used in the final detection stage, which generates anchor boxes and the output vector of the Yolo_v5 neural network.

[0080] Those skilled in the art will recognize that the above network architecture is provided for illustration purposes only. In particular, those skilled in the art will recognize that the order checking system disclosed herein is not limited to use with the above network architecture. Instead, the order checking system disclosed herein may operate with any suitable network architecture that is capable of detecting and identifying QR codes present in an image. For example, the order checking system disclosed herein may operate with any other single-shot detector (such as RetinaNet).

[0081] Exemplary details of the dataset used to train the Yolo_v5 network are as follows: • Image size: 1920 x 1080 pixels • Number of images (including pallets or pallet parts taken from different angles): 1591 • Number of bounding boxes surrounding the tray or its parts in the video frames of the dataset: 27873 • Number of bounding boxes for each class (the dataset should be balanced, meaning each class should have the same number of bounding boxes):

[0082] refer to Figure 1 , 49, once trained, the Yolo_v5 network of the pallet detector module 404a receives as input a video frame of a video clip captured by the video sensor 102 of the order inspection system 110. In response, the Yolo_v5 network outputs three vectors as follows: (a) coordinates of the center of a bounding box enclosing a pallet detected in the received image and the width and height of the bounding box, where the width and height are normalized by scaling relative to the width and height of the received video frame, respectively; (b) an objectness score, which represents the neural network’s confidence that the center of the pallet exists at a given location in the received video frame, with a value between 0 and 1; and (c) Class probabilities of detected pallets.

[0083] Set time The first video frame of a given video segment is captured by the camera (e.g. Figure 5 The time interval between the capture of consecutive video frames of the video clip is This will be referred to as the sampling interval below. Using this notation, a video segment can be described as . Represents a single video frame of a video clip, the video frame being at time is captured, which will be referred to as the sampling time of the video frame in the following.

[0084] For clarity, in the following disclosure, the current sampling time t k Depend on Given, where . Previous sampling time t p is the current sampling time t k The previous sampling time is given by Given, where The current video frame Fr ( ) is the current sampling time The captured video frame. The previous video frame Fr ( ) is the previous sampling time Captured video frame. Figure 1 and Figure 4 , the currently detected pallet is the pallet detector module 404a in the current video frame Fr ( ). The previously detected pallet is the pallet detected in the previous video frame Fr ( ). In other words, the previous detection of the pallet is the pallet detector module 404a detected in the previous video frame Fr ( ) in the detection of the tray. The current detection of the tray is the detection of the tray detector module 404a in the current video frame Fr ( ). In addition, the most recent previous detection of a pallet is the previous sampling time of the pallet detector module 404a that is closest to the current sampling time, or in other words, at a given current time t k One of one or more previous detections of a given pallet. The most recent previous detection of a pallet is the last previous detection of the pallet in a previous video frame.

[0085] The pallet tracker module 404b is communicatively coupled to the pallet detector module 404a to receive a list of pallets detected in the current video frame from the pallet detector module 404a. The pallet tracker module 404b uses the output of the pallet detector module 404a to track the movement of the pallets after the pallets are detected. To do this, the pallet tracker module 404b tracks the center of each bounding box output from the pallet detector module 404a. Specifically, the pallet tracker module 404b processes the video clips from all the video sensors 102 of the order inspection system 110 to track only the pallets that pass through the receiving / shipping portal 101.

[0086] Reference Figure 2 and Figure 4 It should be noted that the area where the pallets are tracked includes several areas, namely the external monitoring area 201, the first buffer area 202, the second buffer area 203 and the region of interest (ROI) / pallet analysis area 204. In order to describe the path taken by each pallet as it moves within the area, each pallet tracked by the pallet tracker module 404b is assigned to a "track". The track has six associated attributes, namely: (1) Unique trace identifier (Tr_ID); (2) the age of the trace, i.e., the variable used to calculate the time since the trace was last assigned to a pallet detected by the pallet detector module; (3) a state variable representing the state of the trace, i.e., the state variable indicates whether the trace has been assigned to the pallet detected by the pallet detector module 404a; the state variable can have one of two possible values, i.e., "assigned" and "unassigned". The default value of the state variable is "unassigned"; (4) coordinates of the center of a bounding box surrounding the pallet detected in the received video frame and the width and height of the bounding box, where the width and height are normalized by scaling relative to the width and height of the received video frame, respectively; (5) Figure 2 The code of the region shown in (hereinafter referred to as the region code), namely: •201 – External surveillance area •202 – First buffer area •203 – Second buffer area • 204 – Region of Interest (ROI) / Tray Analysis Area • 205 – internal remaining area; and (6) Path vector P , which includes K waypoint vectors corresponding to each of the most recent K previous observations of the same pallet Each such waypoint vector in turn includes four attributes derived from the observations of the pallet. Specifically, the attributes of a given waypoint include the following: oUnique trace identifier (Tr_ID) of the trace associated with the path vector; o the time of the corresponding previous observation of the pallet; and oThe coordinates of the center of the bounding box that encloses the pallet in the corresponding previous observation.

[0087] Therefore, for a given pallet at time The path point vector corresponding to the previous observation can be expressed as: .

[0088] The input to the pallet tracker module 404b is a list of currently detected pallets, where each element in the list has the following properties: • The coordinates of the center of the bounding box that encloses the currently detected pallet; • The coordinates of the corners of the bounding box that encloses the currently detected pallet; • Area code indicating the area ( Figure 2 201, 202, 203 or 204 in the above embodiment), in the region, the pallet detector module 404b determines that the currently detected pallet (as described by the center of the bounding box surrounding the currently detected pallet) is located in the region; • A pallet flag that indicates whether the currently detected pallet has been assigned to a track. The default value of the pallet flag is FALSE. However, upon identifying a track to which the currently detected pallet's location may belong, the pallet tracker module 404b may update the pallet flag to TRUE.

[0089] Using the above nomenclature, for the current video frame Fr ( ), the pallet tracker module 404b uses the following method to match the currently detected pallet with the traces maintained by the pallet tracker.

[0090] The default status of each of the plurality of tracks maintained by the pallet tracker is set to "unassigned".

[0091] The Euclidean distance is calculated between the center of the bounding box surrounding the currently detected pallet and the center of the bounding box surrounding each pallet that was detected most recently and whose track state variable has the value "unassigned". The most recent previous detection of a pallet is represented by the last element of the path vector of the track corresponding to the previously detected pallet. The currently detected pallet is assigned to the track of the previously detected pallet for which there is a minimum Euclidean distance between the most recent previous detection of its pallet and the currently detected pallet.

[0092] The pallet flag of the currently detected pallet that has been assigned is then set to TRUE, and the state variable of the associated trace is set to "assigned". Likewise, the center of the bounding box surrounding the currently detected pallet that has been assigned is added to the end of the path vector of the trace. Thus, the size of the path vector of the trace is increased by a path point vector that includes the following properties: o a unique trace identifier (Tr_ID) for said trace; oThe current sampling time; and oThe coordinates of the center of the bounding box that has been assigned to the currently detected pallet.

[0093] The above processing steps are repeated for each currently detected pallet until there are no remaining traces with the state variable "unassigned" or there are no currently detected pallets with the pallet flag set to "false" (in other words, until there are no potential matching pairs). If at the end of the process the currently detected pallet is still not assigned to a trace (i.e. the pallet flag of the currently detected pallet is still set to "false"), a new trace is created for the currently detected pallet.

[0094] The product classification module by pallet 404c is configured to analyze the contents of the pallet. The product classification module by pallet 404c includes two communicatively coupled modules, namely an instance segmentation module and an image retrieval module. The instance segmentation module performs instance segmentation, and the image retrieval module uses an image retrieval algorithm to classify the cropped bounding boxes of the products detected by the instance segmentation module.

[0095] Since the appearance of products often changes with the season or year, it is more scalable to have a general model that can detect the presence of a product and another model that recognizes the product using prior knowledge in the form of a product database that can be easily updated rather than retraining the model for each new appearance of a class. To this end, we use the following classes to train a model for detecting the presence of a product and a model for recognizing the product: "Package", "Box", and "Vegetable". These classes can be further expanded to include "Small Package", "Medium Package", and "Large Package". Using this format, the details of the data set that can be used to train the model of the product classification module 404c by pallet are as follows: • Image size: 1920 x 1080 pixels • Number of images: 27050 • Number of masks (annotations of different classes): 1114548 •Number of masks per class: oStaff: 24825 oSeller: 10565 oPackage: 18400 oBox: 15501 o Vegetables: 101 oFlower: 45 oFruit: 22 Instance segmentation is used because products on a pallet may be stacked irregularly and pixel-level masks will improve the accuracy of detecting products. This is the benefit of multi-task training. Bounding box-based detection and mask-based detection work together to achieve lower errors.

[0096] In a preferred embodiment, the instance segmentation module employs a transformer-based model inspired by Swin (as described in Z. Liu, Y. Lin, Y. Cao, H. Yu, Y. Wei, Z. Zhang, S. Lin, and B. Gao in "Swin Transformer: Hierarchical Vision Transformer using Shifted Windows" (Proceedings of the IEEE / CVF International Conference on Computer Vision (ICCV), 2021, pp. 10012-10022). However, those skilled in the art will recognize that the above-mentioned Swin-based transformer model is for exemplary purposes only. In particular, those skilled in the art will recognize that the order inspection system 110 of the preferred embodiment is not limited to the use of the Swin transformer model. On the contrary, the order inspection system 110 disclosed herein can operate with any transformer-based or CNN-based backbone that can be used for instance segmentation.

[0097] The image retrieval module implements a product re-identification algorithm based on a neural network that learns an embedding for each product instance contained in a product image database. More specifically, the image retrieval module compares the visual appearance of the pallet in the received video frame with visual appearance information of products that are expected to be received / shipped by the order receiving facility / order fulfillment facility based on, for example, an advance shipping notice.

[0098] For example, seller X has product "a", product "b" and product "c". For each of these products, the above product database includes images representing the current appearance of these products. From these images, information about the appearance of the product under various conditions (e.g., from different viewing angles and rotation angles) can be represented as embedding vectors, which can be formed using embedding models such as VKD or Siamese Nets. It will be understood by those skilled in the art that these embedding models are provided for illustrative purposes only. In particular, it will be understood by those skilled in the art that the order inspection system 110 of the present disclosure is not limited to the above embedding network. On the contrary, the order inspection system 110 disclosed herein can operate with any encoder model that can form an embedding vector representation of the appearance of the product, such as a classic CNN, whose head is removed after training as a classifier. Multiple images (up to 10 images) of each product are provided for training the embedding model. In addition, VKD can be trained on images of the entire pallet instead of on images of each product. However, for this method, a large number of images must be provided, such as at least 30 images.

[0099] The embedding vector forms a representation of the product (cola, chocolate, beer) that is robust to changes in appearance and perspective. The representation is used to identify the product in various images at different scales and positions, where the different scales and positions include various rotation and tilt angles between the product and the video sensor 102. The image retrieval module of the pallet monitoring module 404 compares the product detected in the received video frame with the product expected to be received / shipped by retrieving images and / or embedding vectors of the relevant products from the product database. The embedding vector is used for retrieval and / or re-identification by a simple distance metric in the embedding space. In one embodiment, the distance metric is a cosine metric. However, those skilled in the art will recognize that the above distance metric is provided for illustrative purposes only. In particular, those skilled in the art will recognize that the order inspection system 110 of the present disclosure is not limited to using the cosine distance metric in the image retrieval module. On the contrary, the order inspection system 110 disclosed herein can operate with any suitable distance metric (such as the Euclidean distance metric).

[0100] If there are several products on a pallet, a representation of the pallet can be constructed by combining the embeddings of all products visible on the pallet. Using this technique, not only can we determine which products appear on the pallet. Instead, we can extract information that is useful for estimating the number of products in a package and the number of packages on the pallet.

[0101] "Keypoints" are defined as points of interest on a pallet. Each keypoint corresponds to a corner of the pallet. In addition, the term "pallet" refers to the entire structure of the wooden body and the products on top of the wooden body. In a preferred embodiment, sixteen such keypoints are defined, eight for the wooden body of the pallet and eight for the products stacked on the pallet. For simplicity, the wooden body of the pallet and the products stacked on the pallet will be collectively referred to as pallet sub-components in the following text. Each of the above keypoints has a different class. The name of the class includes the pallet sub-component name and a name consisting of a reference to each of the 3 axes, where the 3 axes are far and near, left and right, and up and down (for example, products_far_left_top, products_far_left_bottom).

[0102] There are two types of pallets: • Regular Pallet : A pallet in the shape of a cuboid including the products stacked thereon is treated as a single object and the key points are annotated accordingly.

[0103] • Irregular Pallet : A tray that is not a cuboid shape (for example, when the shape of the product pile is not a rectangle). In this case, the shape of the product pile is divided into multiple cuboids.

[0104] Reference Figure 4 In the case of an irregular pallet, the pallet keypoint detector (not shown) of the pallet monitoring module 404 is configured to detect multiple keypoints of the same class. In contrast, in the case of a regularly shaped pallet, the pallet keypoint detector (not shown) detects unique keypoints (i.e., keypoints of different classes).

[0105] To this end, a pallet keypoint detector (not shown) includes a convolutional neural network configured to receive a cropped region of a received video frame, wherein the cropped region contains a pallet. The pallet keypoint detector (not shown) is configured to process the received cropped region to generate 16 heatmaps, each heatmap including, for example, 128x128 pixels. Each heatmap will determine the location of a corresponding keypoint in the cropped region.

[0106] Exemplary details of the dataset used to train the convolutional neural network are as follows: • Image size: varies as the pallet image is cropped using the bounding box established by the pallet detector • Number of images: 2918 •Number of comments: 30804 • Number of annotations per class: •products_far_left_top: 2712 •products_far_right_top: 2777 •products_far_right_bottom: 791 •products_near_left_top: 2700 •products_near_left_bottom: 2583 •products_near_right_top: 2781 •products_near_right_bottom: 2658 •pallet_far_right_top: 752 •pallet_far_right_bottom: 629 •pallet_near_left_top: 2543 •pallet_near_left_bottom: 2467 •pallet_near_right_top: 2640 •pallet_near_right_bottom: 2591 •pallet_far_left_top: 800 •pallet_far_left_bottom: 596 •products_far_left_bottom: 784 Therefore, reference Fig.10 , the pallet keypoint detector (not shown) performs the following steps: A pallet is detected in a received video frame (step 1000). The detection of the pallet is performed by a pallet detector module, as disclosed above.

[0107] The area where the tray detector module detects the presence of the tray is cropped from the received video frame (step 1002). The cropped area corresponds to the area in the video frame occupied by the bounding box surrounding the tray, with an additional 20 pixels added on each side of the bounding box to ensure that the entire tray is contained in the cropped area. For simplicity, this cropped area will be referred to as the "cropped tray area" hereinafter. In practice, the cropped tray area includes, for example, 128x128 pixels, where the upper left corner of the cropped tray area is located at coordinates (x1, y1) in the received video frame.

[0108] Each of the one or more cropped tray regions from the received video frame is sequentially processed by a convolutional neural network to generate one or more heat maps (step 1004). In one embodiment, the convolutional neural network is configured to generate 16 heat maps from the cropped tray region. However, those skilled in the art will recognize that the above number of heat maps are provided for illustrative purposes only. In particular, those skilled in the art will recognize that the pallet key point detector of the preferred embodiment is not limited to generating this number of heat maps. On the contrary, those skilled in the art will recognize that the pallet key point detector can generate any number of heat maps from the cropped tray region as needed to accurately detect pallet key points visible in the cropped tray region.

[0109] The plurality of heat maps are post-processed by a function to generate a list of a corresponding number of points (step 1006 ), wherein each point corresponds to a key point of the pallet.

[0110] The point is scaled to the size of the crop tray area (step 1008). Thus, if, for example, the crop tray area is 128x128 in size and a point is defined by (x, y) = (0.46, 0.76), then the point is located at approximately (x', y') = (59, 97) in the crop tray area coordinate system, where the upper left corner of the crop tray area is represented by (0, 0).

[0111] The scaled point is translated back to the coordinate system of the received video frame (step 1010 ), wherein the result of the translation is a detected keypoint of the pallet (step 1012 ).

[0112] Back to Figure 4 The tray volume estimation algorithm of the tray volume estimator 404d calculates the volume of an object by estimating the size of the object from the 2D image. In general, it is impossible to recover the 3D position from the 2D projection because an infinite number of points from a line in 3D space are projected onto the same point on the 2D projection, i.e., the camera plane. One possible solution to resolve the ambiguity exploited in stereo vision is to recover the depth information using a pair of scene views captured from different positions using the principle of triangulation.

[0113] The preferred embodiment assumes that the floor is flat and level; and uses homography to calculate the real-world coordinates of floor points from the camera coordinates. Fig.11a A physical grid pattern of points marked on the ground is shown; Fig.11b The representation of these points on the camera projection is shown in Figure 1. For simplicity, these grid pattern points will be referred to as the reference grid in the following text. The projection correspondence of the corner points on the floor belonging to the same vertical line (for example, the upper left corner T' of the front side of the cuboid corresponds to Fig.12a Using the lower left corner B' on the same side as shown) and basic geometry, calculate the height of the parallelepiped from the ground. Based on this, the volume of the object can be calculated.

[0114] The first step of the algorithm is to estimate the parameters of the homography mapping point (x',y') from the floor to the camera pixel coordinates (x, y): (1) Since not all parameters are independent, the homography matrix is ​​estimated at a certain scale. To this end, the matrix is ​​normalized. For example, in equation (1), h 22 can be set to a value of 1 so that the remaining 8 parameters of the H matrix can be recovered from a set of 4 corresponding points with known positions taken from a known reference grid. For better accuracy, more corresponding points with known positions are used.

[0115] Returning to Figure 11, a reference grid is constructed using the markers on the floor, and the homography of several groups of four points is estimated. The solution parameters are then found using the Least Median of Squares robust estimation method. In one possible embodiment, the spacing between the points of the grid (i.e., the grid size parameter d) is set to 50 cm.

[0116] In many cases, a pallet can be represented by a cuboid object. The volume of the cuboid object can be calculated using the size of its edges in pixels. This is calculated from the key points that represent the corners of the pallet. In particular, the width and length of the pallet are the dimensions of the two adjacent edges on the floor. Therefore, by defining the base of the parallelepiped as its side that lies on the floor, the length of the base can be calculated from the corners of the pallet that correspond to the parallelepiped. To do this, refer to Fig.11a The position of the tray corner is estimated by taking the point closest to the corner observed in the ground pattern. From this, the length of the base of the corresponding parallelepiped is calculated using equation (1) above.

[0117] The height of a cuboid object can be calculated as the distance between one corner located on the floor and the opposite corner located directly above it. Fig.13,because lie in Above, so the projection and and Collinear. The camera observing the tray corresponding to the parallelepiped Set at a known height from the floor Height yes Fig.13 Length in . and It also indicates height. Therefore, and perpendicular to the floor plane and aligned parallel to it. Therefore, according to triangle T p C p C and triangle T p The similarity between BTs is established by equation (2), => (2) Sometimes the shape of a pallet may differ from a cuboid. Two common cases are: (a) when the number of items on different pallet rows differs from each other; and (b) when a pallet is configured with a heterogeneous set of packages of different items, each of which exposes a cuboid shape.

[0118] For objects of different shapes (e.g., case (a) above), additional keypoints are needed for volume calculation, since the above method can only accurately determine points corresponding to lines perpendicular to the floor (representing height) because they are parallel to the Fig.13 For example, in Fig.14 In , point D below point A is needed to estimate the position of point A. Otherwise, if yes Fig.14 Specifically, since EA is related to Fig.13 The CCps in are not parallel, and the pixel distance between points A and E is greater than the pixel distance between points A and D, so the estimated value of the height of point A will be higher than its actual value. In order to accurately estimate the area of ​​surface ABCE, it is necessary to calculate the areas of ABCD and ADE separately.

[0119] Fig.15 Different pallet shapes representing case (b) above are shown, where the pallet is configured with a set of non-homogeneous packages of different items. In this case, the pallet shape is formed by two rectangular objects stacked on top of each other. Point G can be calculated using the above method only if the point G' below point G (given as a key point) is known. Likewise, point E can be estimated since EG' is perpendicular to the floor.

[0120] Therefore, in each received video frame, a tray keypoint detector (not shown) detects keypoints representing the visible tray corners therein, as well as other useful points (e.g. Fig.15 G' shown). Return to Figure 4 , a pallet volume estimation algorithm (not shown) of the pallet volume estimator 404d is configured to calculate the volume of the pallet in each video frame using the above-described method, provided that sufficient key points (pallet corners) are seen and detected, regardless of the angle of the pallet relative to the camera viewing the pallet.

[0121] Combination Figure 4 and Figure 1 , the IN-OUT counter 404e is configured to use the path determined by the pallet tracker module 404b to detect which path intersects the receiving / shipping portal 101 and thereby determine which pallet enters / leaves the order fulfillment facility / order receiving facility. The path is defined as a sequence of the following form:

[0122] Using this information, the order checking system 110 records the incoming and outgoing pallets (identified by their ID) and their in and out times. In addition, a count of the number of incoming and outgoing pallets (determined by the direction of movement of the pallets) that enter and exit the order fulfillment facility / order receiving facility in a given time period can be maintained.

[0123] In addition, the value of a pallet state variable may be recorded for the pallet. The pallet state variable characterizes the degree of loading of the pallet. For example, the value of the pallet state variable may be "full", "empty", "partially loaded", etc. The value of the pallet state variable may be determined using the height of the goods stacked on the pallet determined by the pallet volume estimator 404d. Knowing the maximum allowable stacking height on the pallet, the pallet may be classified as: - fully loaded, if the height of the goods stacked on the pallet is close to the maximum permissible stacking height; or - Partial loading, if the height of the goods stacked on the pallet is approximately half of the maximum permissible stacking height; or - Empty, if there are no products on the pallet.

[0124] The event (or alarm) management module 406 triggers certain alarms based on events of interest specific to each application (e.g., exceeding the maximum door opening time, invalid access to the receiving / shipping portal, etc.). Events are generated using outputs from, for example, the door status detector 402a, the personnel detector 402b, and the QR detector 402d. Events of interest are also recorded as GIF files and stored on disk for later use.

[0125] The event (or alarm) management module 406 implements certain alarm logics, such as but not limited to: • The opening time of the receiving / shipping portal 101 exceeds a certain threshold; •The pallet stays in a certain area for a period exceeding a certain threshold; •The contents of a seller’s pallet did not match the advance shipping notice; • The pallet leaves the receiving / shipping portal 101 without being registered in the order checking system 100; •The pallet height exceeds a certain maximum permitted height; • The fulfillment facility / order receiving facility employee is not present when the delivery person arrives; and •The delivery person enters the order fulfillment facility / order receiving facility without signing in.

[0126] These and other types of alarms are based on outputs such as door status detector 402a, personnel detector 402b, and QR detector 402d. For example, when the receiving / shipping door 101 is opened, a timer is started, and if the timer reaches a certain threshold, an alarm is triggered and an event is recorded.

[0127] When an alarm is triggered, the event recorder 406b is configured to save a set of continuous video frames on disk (wherein the continuous video frames can also be assembled and packaged as an animated GIF file), where the continuous video frames start from a certain time period before the alarm and end at a certain time period after the alarm (for example, the time period can be extended from 10 seconds to 60 seconds depending on the type of alarm). The generated video frames / GIFs will be saved for staff to review at any time. The maximum number of video frames / GIFs stored and the duration they are retained can be configured according to the needs of the operator and will be handled by the logic of the event recorder 406b that is predefined based on the specific application requirements.

[0128] The embodiments of the present disclosure described above may be modified without departing from the scope of the present disclosure as defined by the appended claims. Phrases such as "comprises," "comprising," "combines," "consisting of," "having," "is," etc. used to describe and advocate the present disclosure are intended to be interpreted in a non-exclusive manner, i.e., allowing for the presence of items, components, or elements that are not explicitly described. References to the singular should also be interpreted as relating to the plural.

Claims

1. An order checking system, comprising: a plurality of video sensors configured to capture video footage of a surveillance area located within an order receiving area or an order shipping area of ​​a shipping / receiving portal; The processing unit is configured as follows: Conduct event analysis on captured video footage; detecting an entity in a video clip captured by the video sensor; Detecting incoming deliveries from third-party vendors from door opening events in captured video footage; identifying said third-party vendor and implementing a check-in process for delivery persons from said third-party vendor; detecting the entry and exit of merchandise through said receiving / shipping portal and verifying whether the detected delivered products match the data of the products that should be delivered by said third-party supplier; and a database, the database being communicatively coupled to the processing unit, the database being configured to: storing at least a facial image / logo dataset for detecting faces / brands; storing product image datasets for product recognition; and The results of the order checking process and the courier's sign-out at the end of delivery are recorded for subsequent retrieval upon request to the processing unit.

2. The order checking system according to claim 1, wherein the processing unit further comprises: Delivery detection module, including: a door state detector configured to analyze the video footage captured by the video sensor to determine whether the receiving / shipping door is in an open state or a closed state; a person detector configured to analyze video footage captured by the video sensor of the order checking system to detect whether a delivery person has arrived at the receiving / shipping portal, a person tracker configured to track the movement of the delivery person based on the captured video clips after the delivery person is detected by the person detector, and A quick response (QR) detector is configured to detect whether a quick response (QR) code exists in the captured video clip and read the QR code.

3. The order checking system of claim 2, wherein the QR detector compares the detected QR code with known pre-approved QR codes of third-party vendors / delivery persons to find a match, and if a match is found, the QR detector: classify the delivery person who presents the QR code as an authorized entrant into the order fulfillment facility / order receiving facility, and The delivery detection module is caused to grant the delivery person access to the order fulfillment facility / order receiving facility.

4. The order checking system according to claim 2, wherein the personnel detector and the door status detector are implemented as neural networks configured with a predetermined architecture for personnel and door detection.

5. The order checking system according to claim 2, wherein the processing unit further comprises: A pallet monitoring module configured to inspect one or more contents of merchandise delivered or received at the order fulfillment facility / order receiving facility, wherein the pallet monitoring module comprises: a pallet detector module configured to detect a pallet; a pallet tracker module configured to track a detected pallet; A module for classifying commodities by pallet is configured to classify commodities on the detected pallet; a pallet volume estimator configured to estimate the number of items on a detected pallet; and An IN-OUT counter is configured to extract information regarding a total number of pallets that pass through the receiving / shipping portal.

6. The order checking system according to claim 5, wherein the processing unit further comprises an event management module in communication with the delivery detection module and the pallet monitoring module, the event management module comprising: an alarm manager configured to issue an alarm regarding detection of an authorized entrant during a supply / delivery event and information regarding merchandise being supplied / delivered; and An event recorder is configured to record the supply / delivery event.

7. The order checking system according to claim 6, wherein the alarm manager is further configured to issue an alarm in the following circumstances: The opening time of the receiving / shipping portal exceeds a first predefined threshold; The time for which the tray stays in a certain area exceeds a second predefined threshold; The contents of a pallet from a third-party supplier do not match the corresponding details on the ASN; said pallet leaves said receiving / shipping portal without prior registration; The height of the pallet exceeds a predefined maximum allowable height; An employee of the order fulfillment facility / order receiving facility is not present when the delivery person arrives; and The delivery person enters the order fulfillment facility / order receiving facility without prior sign-in.

8. A method of performing video surveillance, the method comprising: using a plurality of video sensors to capture video footage of a surveillance area located within an order receiving area or an order shipping area of ​​a shipping / receiving portal; performing event analysis on the captured video footage using a processing unit; detecting, using the processing unit, an entity in a video segment captured by the video sensor; detecting, using the processing unit, a receipt delivery from a third-party supplier from a door opening event in the captured video footage; identifying the third-party supplier using the processing unit and implementing a check-in for a delivery person from the third-party supplier; using the processing unit to detect the entry and exit of merchandise through the receiving / shipping portal and verifying whether the detected delivered products match the data of the products that should be delivered by the third-party supplier; Using a database to store at least a facial image / logo dataset for detecting faces / brands and a product image dataset for identifying products; and using said database to record the results of the order checking process and the delivery person's sign-out at the end of the delivery; and Upon a request to the processing unit, records are retrieved from the database by the processing unit.

9. The method according to claim 8, further comprising: analyzing video footage captured by the video sensor to determine whether the receiving / shipping portal is in an open state or a closed state; analyzing video footage captured by a video sensor of the order checking system to detect whether a delivery person has arrived at the receiving / shipping portal; When the delivery person is detected, tracking the movement of the delivery person based on the captured video clips; Detecting the presence of a Quick Response (QR) code in captured video footage; Read the detected QR code as output.

10. The method of claim 9, further comprising comparing the detected QR code to known pre-approved QR codes of third party vendors / delivery persons for a match, and wherein in the event a match is found: classify the delivery person presenting the QR code as an authorized entrant into the order fulfillment facility / order receiving facility, and The delivery person is granted access to the order fulfillment facility / order receiving facility.

11. The method of claim 9, further comprising implementing a neural network configured with a predetermined architecture for person and door detection.

12. The method according to claim 9, further comprising: Inspecting one or more contents of merchandise delivered or received at the order fulfillment facility / order receiving facility, wherein the step of inspecting comprises: Detect pallets using a pallet detector module; Track detected pallets using the Pallet Tracker module, Use the Pallet Product Classification module to classify the products on the detected pallets. Use the Pallet Volume Estimator to estimate the number of items on the detected pallet, and Use the IN-OUT counter to extract information about the total number of pallets that have passed through the receiving / shipping portal.

13. The method according to claim 12, further comprising: using an alarm manager to issue an alarm regarding detection of an authorized entrant and information regarding merchandise being supplied / delivered during a supply / delivery event; and The provisioning / delivery events are recorded using an event recorder.

14. The method according to claim 13, further comprising issuing an alarm by the alarm manager in the following circumstances: The opening time of the receiving / shipping portal exceeds a first predefined threshold; The time for which the tray stays in a certain area exceeds a second predefined threshold; The contents of a pallet from a third-party supplier do not match the corresponding details on the ASN; said pallet leaves said receiving / shipping portal without prior registration; The height of the pallet exceeds a predefined maximum allowable height; An employee of the order fulfillment facility / order receiving facility is not present when the delivery person arrives; and The delivery person enters the order fulfillment facility / order receiving facility without prior sign-in.

15. A non-transitory computer-readable medium having stored thereon computer-executable instructions which, when executed by a processing unit, cause the processing unit to: using a plurality of video sensors to capture video footage of a surveillance area located within an order receiving area or an order shipping area of ​​a shipping / receiving portal; Conduct event analysis on captured video footage; detecting an entity in a video clip captured by the video sensor; detecting, using the processing unit, a receipt delivery from a third-party supplier from a door opening event in the captured video footage; identifying said third-party vendor and implementing a check-in process for delivery persons from said third-party vendor; detecting the entry and exit of merchandise through said receiving / shipping portal and verifying whether the detected delivered products match the data of the products that should be delivered by said third-party supplier; Using a database to store at least a facial image / logo dataset for detecting faces / brands and a product image dataset for identifying products; and Using said database to record the results of the order checking process and the delivery person's sign-out at the end of the delivery; and Records are retrieved from the database upon request by the processing unit.

16. The non-transitory computer readable medium of claim 15, wherein when executing the executable instructions, the processing unit is configured to: analyzing video footage captured by a video sensor of the order checking system to determine whether the receiving / shipping portal is in an open state or a closed state; analyzing the video clips captured by the video sensor to detect whether the delivery person has arrived at the receiving / shipping portal; When the delivery person is detected, tracking the movement of the delivery person based on the captured video clips; as well as Detects the presence of a Quick Response (QR) code in a captured video clip and reads the detected QR code as output.

17. The non-transitory computer-readable medium of claim 15, wherein when executing the executable instructions, the processing unit is configured to: The detected QR code is compared to known pre-approved QR codes of the third party vendor / delivery person for a match, and wherein in the event a match is found: classify the delivery person presenting the QR code as an authorized entrant into the order fulfillment facility / order receiving facility, and The delivery person is granted access to the order fulfillment facility / order receiving facility.

18. The non-transitory computer-readable medium of claim 15, wherein when executing the executable instructions, the processing unit is configured to: Inspecting one or more contents of merchandise delivered or received at the order fulfillment facility / order receiving facility, wherein the step of inspecting comprises: Detect pallets using a pallet detector module; Track detected pallets using the Pallet Tracker module, Use the Pallet Product Classification module to classify the products on the detected pallets. Use the Pallet Volume Estimator to estimate the number of items on the detected pallet, and Use the IN-OUT counter to extract information about the total number of pallets that have passed through the receiving / shipping portal.

19. The non-transitory computer readable medium of claim 18, wherein when executing the executable instructions, the processing unit is configured to: Using the alarm manager to issue an alarm regarding detection of an authorized entrant and information regarding merchandise being supplied / delivered during the supply / delivery event; and The provisioning / delivery events are recorded using an event recorder.

20. The non-transitory computer readable medium of claim 18, wherein when executing the executable instructions, the processing unit is configured to issue an alert using the alert manager when: The opening time of the receiving / shipping portal exceeds a first predefined threshold; The time for which the tray stays in a certain area exceeds a second predefined threshold; The contents of a pallet from a third-party supplier do not match the corresponding details on the ASN; said pallet leaves said receiving / shipping portal without prior registration; The height of the pallet exceeds a predefined maximum allowable height; An employee of the order fulfillment facility / order receiving facility is not present when the delivery person arrives; and The delivery person enters the order fulfillment facility / order receiving facility without prior sign-in.