Item position tracking for display racks using digital image processing
The system generates composite images from partial rack views, uses bounding boxes and machine learning for item identification, addressing inefficiencies in tracking items across multiple images, and ensuring accurate placement.
Patent Information
- Application Number
- JP2024515410
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-09
- Filing Date
- 2022-09-08
- Publication Date
- 2024-10-02
AI Technical Summary
Existing systems struggle to accurately track and identify items in display racks when a complete image cannot be captured, leading to inefficiencies and resource waste due to the need for multiple images, small item identification, and inaccurate results.
A system that generates a composite image from multiple partial images of a display rack, uses bounding boxes to identify items, and compares their positions with a master template to determine correct placement, utilizing machine learning models for item identification.
Enhances item tracking efficiency by reducing analysis time, improving hardware utilization, and increasing throughput without additional resources, while ensuring accurate item positioning and identification.
Smart Images

Figure 2024535777000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE This disclosure relates generally to digital image processing, and more specifically to item location tracking for display racks using digital image processing. [Background technology]
[0002] Identifying and tracking objects in space poses several technical challenges. Tracking and determining the locations of items on a display rack when the user is unable to capture a complete image of the rack poses one technical challenge. For example, the rack may be in a position that does not allow the user to capture the entire rack in a single image. In this example, the user may be forced to capture multiple images of the rack from different positions. Existing systems are unable to associate the item being identified with items in other images in this situation. This problem makes it impossible for existing systems to analyze the entire rack when the rack cannot be captured in a single image. In another example, a user may be able to capture an image of the entire rack by standing some distance away from the rack. However, in this case, the distance between the user and the rack may make the items in the image too small to be identified using existing image processing techniques. Attempting to identify items using a small number of pixels requires a significant amount of time, which means that the process is not compatible with real-time applications. Additionally, this process can lead to inaccurate results and wasted processing resources. Summary of the Invention
[0003] The system disclosed in this application provides a technical solution to the technical problems described above by identifying and tracking the location of items located on a display rack using a combination of image processing techniques. The disclosed system provides several practical applications and technical advantages, including a process of generating a composite image of a rack from multiple images of the rack, and then analyzing the composite image to determine whether the items are in the correct location on the rack. As previously described, it is often not possible to obtain a complete image of a rack. This process provides practical applications by allowing a computing device to analyze items on a rack using multiple images of the rack. This process allows the system to analyze items from different portions of the rack to perform a complete analysis of all of the items on the rack. These practical applications not only improve the system's ability to identify items, but also improve the underlying network and devices in the network. For example, the disclosed process allows the system to serve more users by decreasing the time it takes the system to identify items on a rack. In other words, this process improves hardware utilization without requiring additional hardware resources, increasing the number of hardware resources available for other processes and increasing the throughput of the system. Additionally, these technical improvements allow for scaling of the item tracking functionality described herein.
[0004] In one embodiment, an item tracking system includes a device configured to receive a rack identifier for a rack configured to hold items. The device is further configured to identify a master template associated with the rack. The master template includes information regarding designated positions of items disposed on the rack. The device is further configured to receive images of items on the rack and combine the images to generate a composite image of the rack. The device is further configured to identify shelves on the rack in the composite image and generate bounding boxes corresponding to an item on the rack. The device is further configured to associate each bounding box with an item identifier and an item location. The device is further configured to generate a rack analysis message based on a comparison of the item locations for each bounding box and the rack positions from the master template, and output the rack analysis message.
[0005] Certain embodiments of the present disclosure may include some, all, or none of these advantages. These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims. [Brief description of the drawings]
[0006] For a more complete understanding of this disclosure, reference is now made to the following brief description, taken in conjunction with the accompanying drawings and detailed description, in which like reference numerals represent like parts.
[0007] [Figure 1] FIG. 1 is a schematic diagram of one embodiment of an item tracking system configured to use digital image processing. [Diagram 2] 1 is a flowchart of one embodiment of an item location tracking process for an item tracking system. [Figure 3A] Here is an example of a composite image of items on one rack. [Figure 3B] An example of an item within a bounding box from a synthetic image of a rack. [Figure 3C] Here is an example with overlapping bounding boxes for multiple items in the rack. [Figure 4] 1 is an example of a composite image of a rack with reference markers that identify the shelves of the rack. [Diagram 5] Here is an example of a cluster of pixel locations for items on a rack. [Figure 6] Here is an example of comparing the rack position with the item position in the master template for a rack. [Figure 7] 1 is one embodiment of an image processing device configured to use an item location tracking process for an item tracking system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] 1 is a schematic diagram of one embodiment of an item tracking system 100 configured to use digital image processing to track multiple objects in a space 128. The space 128 is an area that includes one or more racks 302 (e.g., item display racks, etc.). Each rack 302 includes one or more shelves 310 configured to hold and display multiple items 308. An example of the racks 302 and shelves 310 is shown in FIG. 3A. 3A , the item tracking system 100 is generally configured to generate a composite image 306 of the rack 302 from multiple images 304 of the rack 302, and then analyze the composite image 306 to determine whether the items 308 are in their correct locations on the rack 302. This process provides practical application by allowing the image processing device 102 to analyze the items 308 on the rack 302 using the multiple images 304 of the rack 302. This process allows the item tracking system 100 to analyze the items 308 from multiple different portions of the rack 302 to perform a complete analysis of all of the items 308 on the rack 302.
[0009] Returning to FIG. 1 , in one embodiment, the space 128 is a store that includes a number of items 308 available for purchase. In this example, the store may be a convenience store or grocery store. In other examples, the store may not be a physical building, but may be a physical space or environment in which a shopper may shop. For example, the store may be a take-out food counter at an airport, a kiosk in an office building, an outdoor market at a park, etc. Although a store example is used in this disclosure, this disclosure contemplates that the item tracking system 100 may be installed and used in any type of physical space (e.g., a room, an office, an outdoor stand, a mall, a supermarket, a convenience store, a pop-up store, a warehouse, a storage center, an amusement park, an airport, an office building, etc.). In general, the item tracking system 100 (or components thereof) may be used to track the positions of objects within these spaces 128 for any suitable purpose.
[0010] In one embodiment, the item tracking system 100 includes an image processing device 102 and one or more user devices 104 that communicate with each other via signals over a network 106. The network 106 may be any suitable type of wireless and / or wired network, including, but not limited to, all or a portion of the Internet, an intranet, a private network, a public network, a peer-to-peer network, a public switched telephone network, a cellular network, a local area network (LAN), a metropolitan area network (MAN), a personal area network (PAN), a wide area network (WAN), and a satellite network. The network 106 may be configured to support any suitable type of communication protocol as would be understood by one of ordinary skill in the art.
[0011] User Device
[0012] Examples of user devices 104 include, but are not limited to, a smartphone, a tablet, a laptop, a computer, or any other suitable type of device. Each user device 104 is configured to send an image processing request 116 to an image processing device 102 to request an analysis of items 308 located on a rack 302 illustrated in FIG. 3A. The image processing request 116 includes a rack identifier 118 for the rack 302 and a plurality of images 304 of at least a portion of the rack 302. The rack identifier 118 may be a name, an address, an alphanumerical value, or any other suitable type of identifier that uniquely identifies the rack 302. The user devices 104 may be configured to send the image processing request 116 to the image processing device 102 using any suitable type of messaging technology or protocol. For example, the user devices 104 may be configured to send the image processing request 116 to the image processing device 102 using an application or a web browser. The user device 104 is further configured to output or display a rack analysis message 120 from the image processing device 102. The rack analysis message 120 indicates whether there is a mismatch between the location of the items 308 in the provided image 304 and the location of the items 308 in a master template 114 associated with the rack 302. The user device 104 may include a graphical user interface (e.g., a display or touch screen) configured to display results from the rack analysis message 120 to a user.
[0013] Image Processing Device
[0014] Examples of image processing device 102 include, but are not limited to, a server, a computer, or any other suitable type of network device. In one embodiment, image processing device 102 includes an image processing engine 108 and a memory 110. Additional details regarding the hardware configuration of image processing device 102 are described in FIG. 7. Memory 110 is configured to store item information 112, master templates 114, machine learning models 122, and / or any other suitable type of data.
[0015] In one embodiment, the image processing engine 108 is generally configured to process images 304 of a rack 302 to determine the locations of items 308 located on the rack 302. The image processing engine 108 is further configured to compare the locations of items 308 on the rack 302 to a master template 114 associated with the rack 302. Each master template 114 is associated with one or more racks 302 and includes information regarding the positions of items 308 located on the racks 302. The master template 114 identifies rack positions that correspond to shelves 310 of the racks 302 and the positions on the shelves 310 where the items 308 are located. Each rack position is associated with an item identifier that identifies the item 308 at a given rack position or with a particular item 308. The image processing engine 108 is further configured to determine whether the location of the items 308 in the image 304 matches the location of the items 308 in the master template 114. The image processing engine 108 is further configured to output a rack analysis message 120 based on the comparison. The rack analysis message 120 indicates whether there is a mismatch between the location of the items 308 in the image 304 and the location of the items 308 in the master template 114. A mismatch between the location of the items 308 in the image 304 and the location of the items 308 in the master template 114 indicates that one or more items 308 are in the wrong location on the rack 302.A match between the locations of the items 308 in the image 304 and the locations of the items 308 in the master template 114 indicates that all of the items 308 are in their correct location on the rack 302. One example of the image processing engine 108 in operation is described in more detail below in FIG.
[0016] Examples of the machine learning model 122 include, but are not limited to, a multi-layer perceptron, a recurrent neural network (RNN), an RNN long short-term memory (LSTM), a convolution neural network (CNN), a transformer, or any other suitable type of neural network model. In one embodiment, the machine learning model 122 is generally configured to receive as input at least a portion of an image (e.g., a composite image 306) and output an item identifier based on the provided image 304. The machine learning model 122 is trained using supervised learning training data that includes a plurality of different images of a plurality of items 308 with corresponding labels (e.g., item identifiers) for those plurality of items 308. During the training process, the machine learning model 122 determines weights and bias values that enable the machine learning model 122 to map images of items 308 to different item identifiers. Through this process, the machine learning model 122 is able to identify the items 308 in the images. The image processing engine 108 may be configured to train the machine learning model 122 using any suitable technique as would be understood by one of ordinary skill in the art. In some of the embodiments, the machine learning model 122 may be stored and / or trained by a device external to the image processing device 102.
[0017] Item information 112 generally includes information related to one or more of the plurality of items 308. Examples of item information 112 include, but are not limited to, price, weight, barcode, item identifiers, item numbers, features of items 308, images of items 308, or any other suitable information associated with items 308. Examples of features of items 308 include, but are not limited to, text, logos, branding, color, barcode, pattern, shape, or any other suitable type of attribute of items 308.
[0018] Item Location Tracking Process
[0019] 2 is a flow chart of one embodiment of an item location tracking process 200 for item tracking system 100. The item tracking system 100 may use process 200 to detect whether any items 308 are mispositioned in a rack 302. Process 200 uses various digital image processing techniques to reduce the time required to inspect items 308 in rack 302. This process generally includes the steps of: (1) generating an image of the rack 302 (i.e., a composite image 306) using multiple images 304 of different portions of the rack 302, (2) identifying items 308 located in the image of the rack 302, (3) determining multiple positions of the items 308 relative to the rack 302 in the image, (4) comparing the positions of the items 308 in the image with positions for the items 308 defined by a master template 114 associated with the rack 302, and (5) outputting a rack analysis message 120 indicating whether the items 308 are in the correct positions in the image based on the comparison. This process allows the item tracking system 100 to decrease the amount of time it takes to analyze a rack 302, thereby increasing the amount of data that can be processed to analyze other racks 302.
[0020] Generate synthetic images
[0021] In step 202, the image processing device 102 receives an image processing request 116 from a user device 104, the image processing request 116 including a rack identifier 118 for a rack 302 and an image 304 of the rack 302. As one non-limiting example, a user may use the user device 104 to capture and send multiple images 304 of the rack 302 to the image processing device 102 for processing to determine whether items 308 on the rack 302 are in the correct location. Each image 304 includes at least a portion of the rack 302. As one example, referring to FIG. 3A, the user device 104 may capture a first image 304A of an upper portion of the rack 302 and a second image 304B of a lower portion of the rack 302. In this example, the first image 304A and the second image 304B at least partially overlap. In this case, the common portion of the rack 302 is present in both the first image 304A and the second image 304B. In other examples, the first image 304A and the second image 304B may not overlap. In other examples, the user device 104 may capture three, four, or any other suitable number of images 304 of the rack 302.
[0022] After capturing the image 304 of the rack 302, the user device 104 generates an image processing request 116, which includes a rack identifier 118 and the image 304 of the rack 302. The rack identifier 118 may be a name, address, numeric, alphanumeric, or any other suitable type of identifier that uniquely identifies the rack 302. The user device 104 sends the image processing request 116 to the image processing device 102. The user device 104 may send the image processing request 116 to the image processing device 102 using any suitable type of messaging technology or protocol. For example, the user device 104 may send the image processing request 116 to the image processing device 102 using an application or a web browser.
[0023] After receiving the image processing request 116, the image processing device 102 obtains the rack identifier 118 and the images 304 from the image processing request 116. In one embodiment, the images 304 are arranged in sequence. For example, the images 304 may be arranged to capture the rack 302 from top to bottom, bottom to top, or side to side. In some of the examples, the images 304 may have file names that indicate the order in which the images 304 are arranged. In step 204, the image processing device 102 generates a composite image 306 of the rack 302 based on the set of images 304. The image processing device 102 generates the composite image 306 by merging or stitching together multiple images 304 of the received set of images 304. The multiple images 304 from the user device 104 may capture only a portion of the rack 302 and a subset of the items 308 located on the rack 302. The composite image 306 combines information from all of the images 304 to form a single image capturing all of the items 308 located on the rack 302. Referring again to the example in FIG. 3A, the user device 104 may capture a first image 304A of an upper portion of the rack 302 and a second image 304B of a lower portion of the rack 302. In this example, the image processing device 104 combines the first image 304A and the second image 304B to form the composite image 306. In other examples, the image 304 may capture multiple different portions of the rack 302. For example, the image 304 may capture the rack 302 from top to bottom, bottom to top, in multiple quadrants, or side to side. In this case, the image processing device 102 would sort the images 304 based on the portions of the rack 302 that they capture, and then combine the images 304 to form a composite image 306.
[0024] The image processing device 102 may stitch together the images 304 using any suitable technique or algorithm. For example, the image processing device 102 may first identify a set of common features present in the images 304. Examples of common features include, but are not limited to, text, corners, edges, patterns, or any other suitable type of features. After identifying the common features between the two images 304, the image processing device 102 then registers the two images 304 by converting the two images 304 into a common image plane. For example, the image processing device 104 may register the images 304 by aligning and overlapping the images 304 based on the identified common features. After registering the two images 304, the image processing device 102 merges the two images 304 to form a composite image 306 or a portion of the composite image 306. The image processing device 102 repeats this process of registering and merging the images 304 until it forms the complete composite image 306. While generating the composite image 306, the image processing device 102 may apply any suitable warping or rotating image processing techniques to account for perspective distortion and / or rotational differences between the images 304.
[0025] Identifying multiple objects in a composite image
[0026] After generating the composite image 306, the image processing device 102 processes the composite image 306 to identify a number of items 308 located on the rack 302 in the composite image 306. This process generally involves identifying portions of the composite image 306 that contain the items 308 using bounding boxes 312, and then identifying the items 308 that reside within each of the bounding boxes 312. Returning to FIG. 2 at step 206, the image processing device 102 generates a bounding box 312 for each item 308 in the composite image 306. As one example, the image processing device 102 may use object detection and / or optical character recognition (OCR) to identify text, logos, branding, colors, bar codes, or any other features of the items 308 that may be used to identify the items 308 in the composite image 306. FIG. 3B illustrates one example of a portion of the composite image 306. In this example, the image processing device 102 processes the portion of the composite image 306 to determine whether the item 308 is present. The image processing device 102 may process the pixels in the portion of the composite image 306 to identify text 316, color, barcode 314, pattern, or any other characteristic of the item 308. The image processing device 102 may then compare the identified characteristics of the item 308 to a set of features corresponding to the multiple different items 308. For example, the image processing device 102 may extract the text 316 (such as a product name) from the composite image 306 and compare the text 316 to a set of text associated with the multiple different items 308. As another example, the image processing device 102 may determine a dominant color in the composite image 306 and compare the dominant color to a set of colors associated with the multiple different items 308. As another example, the image processing device 102 may be capable of identifying a barcode 314 in the composite image 306 and comparing the barcode 314 to a set of barcodes associated with a number of different items 308 .As another example, image processing device 102 may identify logos or patterns in composite image 306 and compare those identified logos or patterns to a set of logos or patterns associated with multiple different items 308. In other examples, image processing device 102 may identify any other suitable type of feature or combination of those features from composite image 306 and compare those identified features to features associated with multiple different items 308.
[0027] Returning to FIG. 2, after comparing the set of features associated with the multiple different items 308 with the identified features from the composite image 306, the image processing device 102 then determines whether it has found a match. The image processing device 102 may determine that it has found a match when at least a meaningful portion of the identified features match features corresponding to an item 308. In response to determining that a meaningful portion of the features in the composite image 306 match those features of an item 308, the image processing device 102 may generate a bounding box 312 that includes pixels in the composite image 306 that correspond to the identified item 308. The image processing device 102 may repeat this process to detect all of the multiple items 308 in the rack 302 in the composite image 306. In other examples, the image processing device 102 may use any other suitable technique to generate the bounding box 312.
[0028] In some of the embodiments, the composite image 306 may have a perspective view of the items 308 in the rack 302, which may cause some items 308 that are placed in front of each other to appear side by side. As an example, referring to FIG. 3C, a first item 308C is placed in front of a second item 308D in the rack 302. In this example, the image processing device 102 may incorrectly identify the second item 308D as being placed next to the first item 308C on the shelf 310. This issue may later cause problems when the image processing device 102 compares the order of the items 308 in the master template 114 with the order of the items 308 on each shelf 310 of the rack 302. To correct this problem, the image processing device 102 may remove a bounding box 312 when the bounding box 312 overlaps with another adjacent bounding box 312. The image processing device 102 may first identify an overlap region 320 between the first bounding box 312A and the second bounding box 312B. The image processing device 102 then determines an overlap percentage corresponding to the overlap region 320. The image processing device 102 then compares the overlap percentage to a predetermined threshold. The predetermined threshold may be set to 25%, 30%, 50%, or any other suitable percentage value. When the overlap percentage is less than the predetermined threshold, the image processing device 102 may retain both the first bounding box 312 and the second bounding box 312.When the overlap rate is equal to or greater than a predetermined threshold, the image processing device 102 may remove either the first bounding box 312 or the second bounding box 312. This process reduces the likelihood that the image processing device 102 will misidentify the order of the items 308 on the rack 302.
[0029] Returning to FIG. 2 at step 208, the image processing device 102 associates an item identifier for an item 308 with each bounding box 312. Here, the image processing device 102 identifies the items 308 within each bounding box 312 based on characteristics of the items 308 within the bounding box 312. The image processing device 102 begins this process by extracting a portion of the composite image 306 within the bounding box 312. For example, the image processing device 102 may crop a portion of the composite image 306 that is outside the bounding box 312. FIG. 3B illustrates an example of a cropped portion of the composite image 306 that includes the items 308. This process allows the image processing device 102 to generate a new image 318 of the items 308 that are within the bounding box 312. The image processing device 102 then processes the new image 318 to identify the items 308 within the bounding box 312.
[0030] As one example, the machine learning model 122 may be a CNN. In this example, the machine learning model 122 includes an input layer, an output layer, and one or more hidden layers. The hidden layers include at least one convolution layer. For example, the machine learning model 122 may include a series of layers: an input layer, a convolution layer, a pooling layer, a convolution layer, a pooling layer, one or more fully connected layers, and an output layer. Each convolution layer of the machine learning model 122 uses a set of convolution kernels to extract features from the pixels forming the image. In certain embodiments, the convolution layers of the machine learning model 122 are implemented in the frequency domain, and the convolution process is accomplished using a discrete Fourier transform. This may be desirable to reduce computation time associated with training and using the machine learning model 122 for image classification purposes. For example, by transforming into the frequency domain, a Fast Fourier Transform algorithm (FFT) may be implemented to perform the discrete Fourier transform associated with the convolution. Not only does the use of the FFT algorithm alone significantly reduce computation time when implemented by a single CPU (compared to applying a convolution kernel in the spatial domain), but the FFT algorithm can be parallelized using one or more graphics processing units (GPUs), thereby further reducing computation time.Transforming to the frequency domain may also be desirable to ensure that the machine learning model 122 is translation and rotation invariant (e.g., the assignment of an image to an item identifier by the machine learning model 122 based on the presence of the item 308 in the image should not depend on the position and / or orientation of the item 308 within the image).
[0031] As another example, the machine learning model 122 may be a supervised learning algorithm. Thus, in certain embodiments, the image processing device 102 is configured to train the machine learning model 122 to assign an input image to one of a set of predetermined item identifiers. The image processing device 102 may train the machine learning model 122 in any suitable manner. For example, in certain embodiments, the image processing device 102 trains the machine learning model 122 by providing the machine learning model 122 with training data (e.g., images) including a set of labels (e.g., item identifiers) that are attached to the input images. As another example, the machine learning model 122 may be an unsupervised learning algorithm. In such an embodiment, the image processing device 102 is configured to train the machine learning model 122 by providing a collection of images to the machine learning model 122 and instructing the machine learning model 122 to classify the images by item identifiers that the image processing device 102 identifies based on common features that have been extracted from the images. The image processing device 102 may train the machine learning model 122 at any time before inputting the image of the item 308 within the bounding box 312 to the machine learning model 122 .
[0032] After training the machine learning model 122, the image processing device 102 may input the image 318 of the item 308 within the bounding box 312 to the machine learning model 122. For example, the image processing device 102 may extract a portion of the composite image 306 (e.g., image 318) that corresponds to the item 308 within the bounding box 312. The image processing device 102 may then use the extracted portion of the composite image 306 as an input image for the machine learning model 122. In response to inputting the image to the machine learning model 122, the image processing device 102 receives an item identifier for the item 308 from the machine learning model 122. The item identifier corresponds to the item 308 identified in the image. Examples of the item identifier include, but are not limited to, an item name, a barcode, an item number, a serial number, or any other suitable type of identifier that uniquely identifies the item 308.
[0033] In some of the embodiments, the image processing device 102 may use one or more image processing techniques to identify the item 308 within the bounding box 312 without using the machine learning model 122. Returning to the example shown in FIG. 3A , the image processing device 102 may use object detection and / or OCR to identify the text 316, logo, branding, color, barcode 314, or any other feature of the item 308 that may be used to identify the item 308. In this case, the image processing device 102 may process pixels in the composite image 306 to identify the text 316, color, barcode 314, pattern, or any other characteristic of the item 308. The image processing device 102 may then compare a set of images of features corresponding to multiple different items 308 to the identified features of the item 308. For example, the image processing device 102 may extract text 316 (e.g., a product name) from the image and compare the text 316 to a set of images of text associated with a plurality of different items 308. As another example, the image processing device 102 may determine a dominant color in the image and compare the dominant color to a set of images of colors associated with a plurality of different items 308. As another example, the image processing device 102 may identify a barcode 314 in the image and compare the barcode 314 to a set of images of barcodes associated with a plurality of different items 308. As another example, the image processing device 102 may identify a logo or pattern in the image and compare the identified logo or pattern to a set of images of logos or patterns associated with a plurality of different items 308. As another example, the image processing device 102 may identify any other suitable type of feature or combination of features and compare the identified features to features associated with a plurality of different items 308.
[0034] After comparing the set of features associated with the different items 308 to the identified features from the image, the image processing device 102 then determines whether it finds a match. The image processing device 102 may determine that it finds a match when at least a meaningful portion of the identified features matches a feature corresponding to an item 308. In response to determining that a meaningful portion of the feature in the composite image 306 matches a feature of the item 308, the image processing device 102 may output an item identifier corresponding to the matching item 308. In other embodiments, the image processing device 102 may use one or more image processing techniques in conjunction with the machine learning model 122 to identify the item 308 in the image using any combination of the techniques described above.
[0035] Determining the location of items in a synthetic image
[0036] After identifying the items 308 on the rack 302 in the composite image 306, the image processing device 102 then determines where the items 308 are located with respect to rack 302. This process generally involves determining which shelf 310 an item 308 is located on and the order of the items 308 that are on each shelf 310. This information is later used by the image processing device 102 when comparing the locations of the items 308 to the specified locations of the items 308 in the master template 114 to determine whether the items 308 are in the correct locations. The image processing device 102 begins this process by first identifying the shelves 310 and determining which items 308 are placed on each shelf 310. Returning to FIG. 2 at step 210, the image processing device 102 identifies multiple shelves 310 in the rack 302 in the composite image 306. In one embodiment, the image processing device 102 is configured to identify the shelves 310 of the rack 302 using reference markers 402 located on or near the shelves 310 in the composite image 306. The reference markers 402 are any suitable type of object capable of being identified in the composite image 306. Examples of reference markers 402 include, but are not limited to, an object having text (such as a tag or label), an object having a barcode, an object having a graphical code (such as a Quick Response (QR) code or an Aruco marker), or any other suitable type of object having an identifier.4 as one example, the rack 302 includes a fiducial marker 402 located on each shelf 310. The image processing device 102 may use any suitable type of object or feature detection algorithm to identify the fiducial markers 402 in the composite image 306. In this example, the image processing device 102 detects five fiducial markers 402 indicating that the rack 302 includes five shelves 310.
[0037] After determining the number of shelves 310 present in the composite image 306, the image processing device 102 may also identify a range of pixels 404 (e.g., pixel rows) in the composite image 306 that corresponds to each shelf 310. In this case, the image processing device 102 may use the reference markers 402 to demarcate the beginning or end of each shelf 310 in the composite image 306. In the example shown in FIG. 4, the reference markers 402 are used to identify the range of pixel rows 404 that correspond to each shelf 310. This process allows the image processing device 102 to reduce the search space when searching the composite image 306 to identify items 308 on a particular shelf 310. For example, this process may enable the image processing device 102 to segment the composite image 306 into sections that correspond to each shelf 310 using the identified pixel ranges 404. After associating each shelf 310 with a pixel range 404 in the composite image 306, the image processing device 102 may then compare the pixel ranges 404 with pixel values associated with the items 308 to determine which shelf 310 the item 308 is located on.
[0038] In another embodiment, the image processing device 102 may use information about the location of the items to identify and determine the location of the shelves 310. In this case, the image processing device 102 exploits the fact that items 308 arranged on the shelves 310 will have similar pixel row values in the composite image 306. This means that the image processing device 102 is able to identify the shelves 310 of the rack 302 by identifying clusters of similar pixel row values. As an example, referring to FIG. 5, the image processing device 102 is configured to identify the shelves 310 in the rack 302 based on the locations of the items 308 in the rack 302. In this example, the image processing device 102 may first determine pixel locations 502 in the composite image 306 that correspond to each item 308 in the composite image 306. Each pixel location 502 corresponds to a pixel row value and a pixel column value where an item 308 is located in the composite image 306. In one embodiment, the image processing device 102 may use the bounding boxes 312 previously generated in step 206 for this process. In this case, the image processing device 102 finds the mid-point or center for each bounding box 312. The image processing device 102 then uses the mid-point for each bounding box 312 as the pixel location 502 for the bounding box 312. The image processing device 102 then uses the pixel locations 502 to identify clusters 504 of items 308 that correspond to shelves 310 of the rack 302. As one example, the image processing device 102 may cluster the pixel locations 502 based on the pixel row values of those items 308.In this example, the image processing device 102 may first set the pixel column values of the pixel locations 502 to a common value (e.g., a value of 0) and then generate a plot of the pixel locations 502. This process groups the pixel locations 502 based on their pixel row values. An example of this process is also shown in FIG. 5. After plotting the pixel locations 502, the image processing device 102 may then identify clusters 504 of the pixel locations 502. In the example shown in FIG. 5, the image processing device 102 identifies five clusters 504. Each cluster 504 corresponds to a shelf 310 of the rack 302, so that the image processing device 102 will associate each cluster 504 with one of the shelves 310 of the rack 302. This process allows the image processing device 102 to identify the number of shelves 310 present in the rack 302 in the composite image 306 based on the location of the items 308. This process provides a robust solution for identifying the shelves 310 in the composite image 306 without relying on additional information, such as fiducial markers 402, which may not always be present or visible in the composite image 306.
[0039] After determining the number of shelves 310 present in the composite image 306, the image processing device 102 may also identify ranges of pixels 404 (e.g., pixel rows) in the composite image 306 that correspond to each shelf 310. For example, the image processing device 102 may identify a range of pixel row values 404 that are within a predetermined number of pixels from an average pixel row value for the cluster 504. In other examples, the image processing device 102 may use any other suitable technique for identifying the range of pixel row values 404 in the composite image 306 that correspond to each shelf 310. Again, this process allows the image processing device 102 to reduce the search space when searching the composite image 306 to identify items 308 on a particular shelf 310. As described above, this process allows image processing device 102 to use the identified pixel ranges 404 to segment the composite image 306 into sections that correspond with each shelf 310. After correlating the pixel ranges 404 in the composite image 306 with each shelf 310, image processing device 102 may compare the pixel ranges 404 with pixel values associated with items 308 to determine on which shelf 310 the item 308 is located.
[0040] After identifying the shelves 310 of the rack 302 in the composite image 306, the image processing device 102 then associates each of the previously identified items 308 with a location on the rack 302 based on the shelf 310 on which the item 308 is located. Returning to FIG. 2 at step 212, the image processing device 102 associates each bounding box 312 with an item location on the rack 302. The item location identifies the shelf 310 on the rack 302 and a position on the identified shelf 310. For example, the position on the shelf 310 may indicate the location of an item 308 with respect to the other items 308 on the shelf 310. Returning to the example in Figure 3A, each item 308 may be positioned at one of eight item positions 322 on a shelf 310. In this example, item 308A is located at the first item position 322A on the first shelf 310A, and item 308B is located at the eighth item position 322B on the first shelf 310A. In other examples, the shelf 310 may have any other suitable number of item positions 322.
[0041] In one embodiment, the image processing device 102 first identifies which bounding boxes 312 are associated with each shelf 310. Returning to the example shown in FIG. 5, the image processing device 102 may identify, for each shelf 310, which bounding boxes 312 have pixel values that are within the pixel range 404. This process clusters the bounding boxes 312 based on the shelf 310 with which they are associated. After clustering the bounding boxes 312 based on the shelf 310, the image processing device 102 then sorts the bounding boxes 312 based on their positions on the shelf 310. For example, the image processing device 102 may sort the bounding boxes 312 based on their pixel column values. In this example, the bounding box 312 with the lowest pixel column value is at the first item position 322A on the shelf 310. The bounding box 312 with the highest pixel column value is at the position 322B of the last item on that shelf 310. The image processing device 102 may then sort the remaining bounding boxes 312 for that shelf 310. The bounding boxes 312 with lower pixel column values are closer to the position 322A of the first item on that shelf 310, while the bounding boxes 312 with higher pixel column values are closer to the position 322B of the last item on that shelf 310. The image processing device 102 may repeat this process for each shelf 310 to sort the bounding boxes 312 for each shelf 310.After sorting the bounding boxes 312, the image processing device 102 then associates each bounding box 312 with an item location that identifies the shelf 310 it is associated with and its location on the shelf 310 with respect to the other items 308 on the same shelf 310.
[0042] Comparing item positions to the master template
[0043] After determining the locations of all of the identified items 308 in the composite image 306, the image processing device 102 then compares the determined item locations with the designated item locations defined in the master template 114 associated with the rack 302. This process allows the image processing device 102 to determine whether the items 308 in the composite image 306 are present in the correct locations. Returning to FIG. 2 at step 214, the image processing device 102 identifies the master template 114 for the rack 302. As one example, the image processing device 102 may use the rack identifier 118 previously obtained in step 202 as a search token to identify the master template 114 linked to the rack identifier 118. The master template 114 includes information regarding the predefined locations of the items 308 located in the rack 302.
[0044] In step 216, the image processing device 102 determines whether the item locations match the rack positions from the master template for the rack 302. Here, the image processing device 102 determines whether there is any inconsistency between the location of items 308 in the composite image 306 and the designated locations of items 308 defined in the master template 114 for the rack 302. In one embodiment, the master template 114 may include a list of item identifiers organized by shelf 310 and sorted in order based on their positions on the shelf 310. In this example, the image processing device 102 may also organize the determined item locations for bounding boxes 312 by shelf 310 and sorted in order based on the positions of those bounding boxes 312 on the shelf 310 in the composite image 306. The image processing device 102 then compares the rack position of the item 308 in the master template 114 with the determined location of the item in the bounding box 312 to determine whether there are any discrepancies.
[0045] In another embodiment, the image processing device 102 may simplify the comparison process by utilizing text-based word comparison techniques to compare the designated item locations defined in the master template 114 with the determined item locations. The item identifiers may vary and may have inconsistencies in spelling, naming conventions, and / or format. These differences may lead to errors when comparing the items 308 in the master template 114 with the items 308 in the composite image 306. The image processing device 102 may encode the item identifiers as alphanumeric words that can be compared to each other, rather than comparing the raw item identifiers to each other. This process also allows the image processing device 102 to determine recommendations for correcting inconsistencies between multiple items 308. This functionality is described in more detail below. In this case, the image processing device 102 first converts the item identifiers for the items 308 on each shelf 310 into alphanumeric words before making the comparison to the master template 114. Referring to FIG. 6 as one example, the image processing device 102 maps each item identifier to a unique alphanumeric character. For example, the image processing device 102 may use a lookup table that maps multiple different item identifiers to alphanumeric characters. After encoding each item identifier as an alphanumeric character, the image processing device 102 then generates a word for each shelf 310 using the determined alphanumeric characters. In the example shown in FIG. 6, the image processing device 102 converts the item identifier for the first shelf 310B into a first word 602 (i.e., "AABBC") and converts the item identifier for the second shelf 310C into a second word 604 (i.e., "CCDEE"). The image processing device 102 may repeat this process for all of the shelves 310 in the rack 302.In this example, the master template 114 may also be configured to identify the rack positions of the items 308 using multiple words. In this example, the master template 114 includes a first word 606 (i.e., "AABBC") corresponding to the first shelf 310B of the rack 302 and a second word 608 (i.e., "ACDEE") corresponding to the second shelf 310C of the rack 302. Because both of these item identifiers are encoded using words, the image processing device 102 may use a text-based string comparison to determine whether the word for each shelf 310 from the composite image 306 matches the corresponding word for the shelf 310 from the master template 114. In the example shown in FIG. 6, the image processing device 102 determines that the word associated with the first shelf 310B matches the corresponding word for the first shelf 310B in the master template 114. In contrast, in this example, the image processing device 102 also determines that the word associated with the second shelf 310C does not match the corresponding word for the second shelf 310C in the master template 114. When a mismatch exists between the word for the shelf 310 and the corresponding word in the master template 114, the image processing device 102 may identify the position of the alphanumeric character where the mismatch exists and the value of the alphanumeric character. The image processing device 102 may then convert the alphanumeric character back to the original item identifier for that shelf. For example, the image processing device 102 may convert the alphanumeric character back to the original item identifier for that shelf, again using a lookup table. This process allows the image processing device 102 to determine which items 308 are in the wrong position in the rack 302 using a text-based string comparison.
[0046] In some of the embodiments, the image processing device 102 may be further configured to provide recommendations for correcting any detected inconsistencies based on the text-based comparison. For example, the image processing device 102 may perform a Levenshtein distance calculation between the words associated with the shelf 310 and the corresponding words for the shelf 310 in the master template 114. The Levenshtein distance between two words is the minimum number of single character edits (e.g., insertions, deletions, substitutions, etc.) required to change one word into the other. This process allows the image processing device 102 to both detect inconsistencies between multiple words and to identify how the inconsistency can be resolved by adding an item 308, removing an item 308, or replacing an item 308. In other examples, the image processing device 102 may use any other suitable word comparison technique to identify the inconsistency and / or how to resolve the inconsistency.
[0047] 2, in response to determining that the positions of the items match the rack positions from the master template 114 for the rack 302, the image processing device 102 proceeds to step 218. In this case, the image processing device 102 determines that all of the items 308 are present in the rack 302 in the correct positions. In step 218, the image processing device 102 generates a rack analysis message 120 indicating that the items 308 are present in the rack 302 in the correct positions. The rack analysis message 120 may include a text-based or graphics-based confirmation message indicating that all of the items 308 are present in the rack 302 in the correct positions.
[0048] Returning to step 216, the image processing device 102 proceeds to step 220 in response to determining that one or more of the item locations do not match the rack positions from the master template 114 for the rack 302. In this case, the image processing device 102 determines that one or more items 308 are in an incorrect position in the rack 302. In step 220, the image processing device 102 generates a rack analysis message 120 indicating that one or more items 308 are in an incorrect position in the rack 302. In one embodiment, the image processing device 102 may generate the rack analysis message 120 by first identifying a discrepancy between the determined item locations from the composite image 306 and the rack positions from the master template 114. After identifying any discrepancies, the image processing device 102 then identifies the items 308 associated with the discrepancies. The image processing device 102 then generates the rack analysis message 120 including item identifiers and / or rack position information that identify the items 308 that are in the incorrect positions. As one example, the image processing device 102 may generate a text-based rack analysis message 120 that includes the item identifiers and the rack position information. As another example, the image processing device 102 may generate a graphics-based rack analysis message 120 that uses colored overlays to visually indicate the item identifiers and the rack position information in relation to the composite image 306. For example, the rack analysis message 120 may overlay correctly positioned items 308 with a green bounding box 312 and incorrectly positioned items 308 with a red bounding box 312. In other examples, the image processing device 102 may generate the rack analysis message 120 using any other suitable type of format or representation to provide the item identifiers and the rack position information. In some of the embodiments, the generated rack analysis message 120 further includes any recommendations for correcting any detected discrepancies that were previously determined.
[0049] Rack analysis message output
[0050] After determining whether the items 308 in the composite image 306 are in the correct position, the image processing device 102 will output the analysis results to the user device 104 in a rack analysis message 120. In step 22, the image processing device 102 outputs the rack analysis message 120. The image processing device 102 may send the rack analysis message 120 to the user device 104 using any suitable messaging technique or protocol. For example, the image processing device 102 may send the rack analysis message 120 to the user device 104 using an application or a web browser. After receiving the rack analysis message 120, the user device 104 may display the results from the rack analysis message 120 to the user using a graphical user interface (e.g., a display or touch screen).
[0051] Hardware configuration for image processing devices
[0052] 7 is one embodiment of an image processing device 102 for an item tracking system 100. As one example, the image processing device 102 may be a computer or a server. The image processing device 102 includes a processor 702, a memory 110, and a network interface 704. The image processing device 102 may be configured as shown or in any other suitable configuration.
[0053] Processor
[0054] The processor 702 is a hardware device including one or more processors operably coupled to the memory 110. The processor 702 is any electronic circuit including, but not limited to, a state machine, one or more central processing unit (CPU) chips, a logic unit, a core (e.g., a multi-core processor), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a digital signal processor (DSP). The processor 702 may be a programmable logic device, a microcontroller, a microprocessor, or any suitable combination of the above components. The processor 702 is communicatively coupled to the memory 110 and the network interface 704 and communicates with the memory 110 and the network interface 704 by signals. The one or more processors are configured to process data and may be implemented by hardware or software. For example, the processor 702 may be 8-bit, 16-bit, 32-bit, 64-bit, or any other suitable architecture. Processor 702 may include an arithmetic logic unit (ALU) for performing arithmetic and logical operations, processor registers that provide operands to the ALU and store results of ALU operations, and a control unit that fetches instructions from memory and executes those fetched instructions by directing the cooperative operation of the ALU, registers, and other components.
[0055] The one or more processors are configured to implement various instructions. For example, the one or more processors are configured to execute image processing instructions 706 to implement the image processing engine 108. Thus, the processor 702 may be a special-purpose computer designed to implement the functions disclosed herein. In one embodiment, the image processing engine 108 is implemented using a logic unit, an FPGA, an ASIC, a DSP, or any other suitable hardware. The image processing engine 108 is configured to operate as described in FIGS. 1-6. For example, the image processing engine 108 may be configured to perform the steps of the process 200 as described in FIG. 2.
[0056] Memory
[0057] The memory 110 is a hardware device operable to store any of the information described above with respect to Figures 1-6, along with any other data, instructions, logic, rules, or code operable to implement one or more functions described herein when executed by the processor 702. The memory 110 may include one or more disks, tape drives, or solid state drives, and may be used as an overflow data storage device to store programs when such programs are selected for execution, and to store instructions and data read during the execution of the programs. The memory 110 may be volatile or non-volatile, and may include read only memory (ROM), random access memory (RAM), ternary content addressable memory (TCAM), dynamic random access memory (DRAM), and static random access memory (SRAM).
[0058] The memory 110 is operable to store image processing instructions 706, item information 112, master template 114, machine learning model 122, and / or any other data or instructions. The image processing instructions 706 may include any suitable set of instructions, logic, rules, or code operable to execute the image processing engine 108. The item information 112, master template 114, and machine learning model 122 are configured similarly to the item information 112, master template 114, and machine learning model 122, respectively, described in Figures 1-6.
[0059] Network Interface
[0060] The network interface 704 is a hardware device configured to enable wired and / or wireless communication. The network interface 704 is configured to communicate data between the user device 104 and other devices, systems, or domains. For example, the network interface 704 may include an NFC interface, a Bluetooth interface, a Zigbee interface, a Z-wave interface, a radio frequency identification (RFID) interface, a WIFI interface, a LAN interface, a WAN interface, a PAN interface, a modem, a switch, or a router. The processor 702 is configured to transmit and receive data using the network interface 704. The network interface 704 may be configured to use any suitable type of communication protocol as would be understood by one of ordinary skill in the art.
[0061] Although several of the embodiments have been provided in this disclosure, it should be understood that the disclosed systems and methods can be embodied in many other specific forms without departing from the spirit or scope of the disclosure. These examples should be construed as illustrative and not limiting, and the intention is not to be limited to the details given herein. For example, various elements or components may be combined or integrated in other systems, or certain features may be omitted or not implemented.
[0062] Additionally, techniques, systems, subsystems, and methods described and illustrated as separate or distinct in various embodiments may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items shown or described as being coupled or directly coupled to each other or in communication with each other may also be indirectly coupled or in communication through some interface, device, or intermediate component, whether electrical, mechanical, or otherwise. Other examples of modifications, substitutions, and alterations will be ascertained by those skilled in the art and may be made without departing from the spirit and scope disclosed herein.
[0063] In order to assist the Patent Office and any readers of any patents that may issue on this application in interpreting the claims attached hereto, patent applicants note that they do not intend to invoke 35 U.S.C. § 112(f), as it exists as of the filing date of this specification, unless the words "means for" or "step for" are expressly used in a particular claim.
Claims
1. An image processing device, comprising: a memory operable to store a master template associated with the rack, the master template identifying a plurality of rack positions, each of the plurality of rack positions identifying a shelf of the rack and a position on the shelf; Each rack position is associated with an item, Memory, A processor operatively coupled to the memory, the processor comprising: receiving a rack identifier, the rack identifier identifying a rack configured to hold a plurality of items; Identifying the master template associated with the rack based on the rack identifier; receiving a set of images of the plurality of items on the rack; combining said set of images into a composite image; generating a plurality of bounding boxes, each bounding box corresponding to an item in the rack in the composite image; Associating an item identifier with each of the plurality of bounding boxes; identifying a plurality of shelves in the rack in the composite image; associating an item location with each of the bounding boxes, each item location identifying a shelf of the plurality of shelves on the rack and a position on the shelf; comparing the rack positions from the master template with the location of the items relative to their respective bounding boxes; generating a rack analysis message based on the comparison of the rack positions from the master template to the locations of the items with respect to their respective bounding boxes, the rack analysis message indicating whether the items are present in the rack in the correct positions; outputting the rack analysis message; a processor configured to Including, device.
2. Identifying the plurality of shelves in the rack in the composite image includes: identifying fiducial markers located on the plurality of shelves in the rack; identifying a range of pixels in the composite image for each shelf of the plurality of shelves; The device of claim 1 .
3. Identifying the plurality of shelves in the rack in the composite image includes: determining a pixel location in the composite image for each item of the plurality of items in the composite image, the pixel location identifying a pixel row value and a pixel column value in the composite image; identifying a plurality of clusters based on pixel row values for the plurality of items; associating a shelf with each cluster of the plurality of clusters; The device of claim 1 .
4. Generating the plurality of bounding boxes comprises: determining an overlap rate between a first bounding box of the plurality of bounding boxes and a second bounding box of the plurality of bounding boxes; determining that the overlap rate is greater than a predetermined threshold; removing one of the first bounding box or the second bounding box in response to determining that the overlap ratio is greater than the predetermined threshold; The device of claim 1 .
5. Associating an item identifier with each bounding box of the plurality of bounding boxes includes: Extracting a portion of the composite image within a first bounding box of the plurality of bounding boxes; inputting the portion of the composite image into a machine learning model, the machine learning model configured to output an item identifier based on features of a first item present in the portion of the composite image; receiving a first item identifier for the first item in response to inputting the portion of the synthetic image into the machine learning model; and associating the first bounding box with the first item identifier for the first item.
6. Associating an item identifier with each bounding box of the plurality of bounding boxes includes: Extracting a portion of the composite image within a first bounding box of the plurality of bounding boxes; comparing a plurality of images of the item to the portion of the composite image; identifying a first image among the plurality of images of an item that at least partially matches the portion of the composite image; identifying a first item identifier corresponding to the first image; associating the first item identifier with the first bounding box for a first item; The device of claim 1 .
7. Generating the rack analysis message includes: identifying a discrepancy between a position of a first item and a first rack position from the master template; identifying a first item associated with the first rack position from the master template; generating the rack analysis message identifying the first item and the first rack position from the master template; The device of claim 1 .
8. Comparing the location of the item with respect to each bounding box with the plurality of rack positions from the master template includes: selecting a first shelf of the plurality of shelves; identifying a set of item identifiers associated with the first shelf; assigning an alphanumeric character to each item identifier in said set of item identifiers; combining the alphanumeric characters to form a first word for the first shelf; identifying a second word from the master template that corresponds to the first shelf; and comparing the second word with the first word; The device of claim 1 .
9. Generating the rack analysis message includes: identifying a discrepancy between a position of a first item and a first rack position from the master template; generating the rack analysis message including recommendations for resolving the discrepancies; and The device of claim 1 .
10. 1. A method for tracking an item location, comprising: receiving a rack identifier, the rack identifier identifying a rack configured to hold a plurality of items; identifying a master template associated with the rack based on the rack identifier; the master template identifying a plurality of rack positions, each of the plurality of rack positions identifying a shelf of the rack and a position on the shelf; Each rack position is associated with an item, Steps and receiving a set of images of the plurality of items on the rack; combining said set of images into a composite image; generating a plurality of bounding boxes, each bounding box corresponding to an item on the rack in the composite image; associating an item identifier with each bounding box of the plurality of bounding boxes; identifying a plurality of shelves in the rack in the composite image; associating an item location with each of the plurality of bounding boxes, each item location identifying a shelf of the plurality of shelves on the rack and a position on the shelf; comparing the location of the items with respect to their respective bounding boxes to the plurality of rack positions from the master template; generating a rack analysis message based on the comparison of the rack positions from the master template to the location of the items with respect to their respective bounding boxes, the rack analysis message indicating whether the items are present in the rack in the correct positions; and outputting the rack analysis message. method.
11. The step of identifying the plurality of shelves in the rack in the composite image comprises: identifying fiducial markers located on the plurality of shelves in the rack; identifying a range of pixels in the composite image for each shelf of the plurality of shelves; 11. The method of claim 10, comprising:
12. The step of identifying the plurality of shelves in the rack in the composite image comprises: determining a pixel location in the composite image for each item of the plurality of items in the composite image, the pixel location identifying a pixel row value and a pixel column value in the composite image; identifying a plurality of clusters based on pixel row values for the plurality of items; associating a shelf with each cluster of the plurality of clusters; 11. The method of claim 10, comprising:
13. The step of generating a plurality of bounding boxes comprises: determining an overlap rate between a first bounding box of the plurality of bounding boxes and a second bounding box of the plurality of bounding boxes; determining that the overlap ratio is greater than a predetermined threshold; in response to determining that the overlap ratio is greater than the predetermined threshold, removing one of the first bounding box or the second bounding box; 11. The method of claim 10, comprising:
14. The step of associating an item identifier with each of the plurality of bounding boxes comprises: extracting a portion of the composite image within a first bounding box of the plurality of bounding boxes; inputting the portion of the composite image into a machine learning model, the machine learning model configured to output an item identifier based on features of a first item present in the portion of the composite image; receiving a first item identifier for the first item in response to inputting the portion of the synthetic image into the machine learning model; and associating the first item identifier with the first bounding box for the first item.
15. The step of associating an item identifier with each of the plurality of bounding boxes comprises: extracting a portion of the composite image within a first bounding box of the plurality of bounding boxes; comparing a plurality of images of the item to the portion of the composite image; identifying a first image among the plurality of images of an item that at least partially matches the portion of the composite image; identifying a first item identifier corresponding to the first image; associating the first item identifier with the first bounding box for a first item; 11. The method of claim 10, comprising:
16. The step of generating the rack analysis message includes: identifying a discrepancy between a position of a first item and a first rack position from the master template; identifying a first item associated with the first rack position from the master template; generating the rack analysis message identifying the first item and the first rack position from the master template; 11. The method of claim 10, comprising:
17. The step of comparing the rack positions from the master template with the location of the items relative to their respective bounding boxes comprises: selecting a first shelf of the plurality of shelves; identifying a set of item identifiers associated with the first shelf; assigning an alphanumeric character to each item identifier in said set of item identifiers; combining the alphanumeric characters to form a first word for the first shelf; identifying a second word from the master template that corresponds to the first shelf; comparing the second word with the first word; 11. The method of claim 10, comprising:
18. The step of generating the rack analysis message includes: identifying a discrepancy between a position of a first item and a first rack position from the master template; generating the rack analysis message including recommendations for resolving the discrepancies; 11. The method of claim 10, comprising:
19. 1. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to: receiving a rack identifier, the rack identifier identifying a rack configured to hold a plurality of items; Identifying a master template associated with the rack based on the rack identifier; the master template identifying a plurality of rack positions, each of the plurality of rack positions identifying a shelf of the rack and a position on the shelf; Each rack position is associated with an item, receiving a set of images of the plurality of items on the rack; combining said set of images into a composite image; generating a plurality of bounding boxes, each bounding box corresponding to an item in the rack in the composite image; Associating an item identifier with each of the plurality of bounding boxes; identifying a plurality of shelves in the rack in the composite image; associating an item location with each of the bounding boxes, each item location identifying a shelf of the plurality of shelves on the rack and a position on the shelf; comparing the rack positions from the master template with the location of the items relative to their respective bounding boxes; generating a rack analysis message based on the comparison of the rack positions from the master template to the location of the items relative to their respective bounding boxes, the rack analysis message indicating whether the items are in the correct positions on the rack; and outputting the rack analysis message; To make it so, A non-transitory computer-readable storage medium.
20. Identifying the plurality of shelves in the rack in the composite image includes: identifying fiducial markers located on the plurality of shelves in the rack; identifying a range of pixels in the composite image for each shelf of the plurality of shelves; 20. The non-transitory computer-readable storage medium of claim 19, comprising:
21. Identifying the plurality of shelves in the rack in the composite image includes: determining a pixel location in the composite image for each item of the plurality of items in the composite image, the pixel location identifying a pixel row value and a pixel column value in the composite image; identifying a plurality of clusters based on pixel row values for the plurality of items; associating a shelf with each cluster of the plurality of clusters; 20. The non-transitory computer-readable storage medium of claim 19, comprising:
22. Generating the plurality of bounding boxes comprises: determining an overlap rate between a first bounding box of the plurality of bounding boxes and a second bounding box of the plurality of bounding boxes; determining that the overlap rate is greater than a predetermined threshold; removing one of the first bounding box or the second bounding box in response to determining that the overlap ratio is greater than the predetermined threshold; 20. The non-transitory computer-readable storage medium of claim 19, comprising:
23. Associating an item identifier with each bounding box of the plurality of bounding boxes includes: Extracting a portion of the composite image within a first bounding box of the plurality of bounding boxes; inputting the portion of the composite image into a machine learning model, the machine learning model configured to output an item identifier based on features of a first item present in the portion of the composite image; receiving a first item identifier for the first item in response to inputting the portion of the synthetic image into the machine learning model; and associating the first bounding box with the first item identifier for the first item.
24. Associating an item identifier with each bounding box of the plurality of bounding boxes includes: Extracting a portion of the composite image within a first bounding box of the plurality of bounding boxes; comparing a plurality of images of the item to the portion of the composite image; identifying a first image among the plurality of images of an item that at least partially matches the portion of the composite image; identifying a first item identifier corresponding to the first image; associating the first item identifier with the first bounding box for a first item; 20. The non-transitory computer-readable storage medium of claim 19, comprising:
25. Generating the rack analysis message includes: identifying a discrepancy between a position of a first item and a first rack position from the master template; identifying a first item associated with the first rack position from the master template; generating the rack analysis message identifying the first item and the first rack position from the master template; 20. The non-transitory computer-readable storage medium of claim 19, comprising:
26. Comparing the location of the item with respect to each bounding box with the plurality of rack positions from the master template includes: selecting a first shelf of the plurality of shelves; identifying a set of item identifiers associated with the first shelf; assigning an alphanumeric character to each item identifier in said set of item identifiers; combining the alphanumeric characters to form a first word for the first shelf; identifying a second word from the master template that corresponds to the first shelf; and comparing the second word with the first word; 20. The non-transitory computer-readable storage medium of claim 19, comprising:
27. Generating the rack analysis message includes: identifying a discrepancy between a position of a first item and a first rack position from the master template; generating the rack analysis message including recommendations for resolving the discrepancies; and 20. The non-transitory computer-readable storage medium of claim 19, comprising:
Citation Information
Patent Citations
On-shelf image based out-of-stock detection
US20200005225A1
