# US 2023/0274226 A1 · Retail shelf image processing and inventory tracking system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0274226 A1
- Document ID: US20230274226A1
- Status: Published application
- Kind: A1
- Application number: 17/681,470
- Filed: 2022-02-25
- Published: 2023-08-31
- Earliest claimed: 2022-02-25
- Assignees: Target Brands, Inc.
- Applicants: Target Brands, Inc.
- Inventors: Arun Patil; Prakash Mall; Snigdha Samal
- Web page: https://patentgrep.com/patent/US20230274226A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06Q 10/087: Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q 10/0874: {Inventory fulfillment (shipping G06Q10/083)}
- G06Q 10/0877: {by inventory control or reporting using inventory tracking or counting}
- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- G06T 3/608: by skew deformation, e.g. two-pass or three-pass rotation
- G06T 7/0008: {checking presence/absence}
- G06T 7/194: involving foreground-background segmentation
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06V 10/243: {by compensating for image skew or non-uniform image deformations}
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06V 10/28: Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G06V 30/224: of printed characters having additional code marks or containing code marks
- G06T 2207/20081: Training; Learning
- G06T 2207/30232: Surveillance
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The disclosed system and method relate to automatically detecting empty spaces on retail store shelves, identifying the missing product(s) and causing the space to be replenished or restocked. For example, stores may use shelf-mounted imaging devices to capture images of shelves across the aisle from the imaging devices. The images captured by the imaging devices may be pre-processed to de-warp, de-skew images and stitch together multiple images in order to retrieve an image that captures a full width of a shelf. The pre-processed images can then be used to detect products on the shelf, identify the detected products. For example, the captured image may be compared against a reference background image using a background modeling algorithm to identify empty spaces and mis-shelved items within the shelf.

## Claims

### Claim 1

A method for identifying anomalies within a shelf, the method comprising:
receiving one or more images of the shelf from one or more imaging devices;
generating an item-identifier tagged image from the one or more images, wherein the item-identifier tagged image includes a plurality of shelf products;
retrieving a reference background image from a data store;
comparing the item-identifier tagged image to the reference background image;
based on the comparison, identifying foreground objects within the item-identifier tagged image;
determining that the identified foreground objects correspond to anomalies associated with the shelf; and
sending an item-identifier tag associated with each of the identified foreground objects to a user electronic computing device as a notification of anomalies within the shelf.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating one or more pre-processed reference images of the shelf, wherein each of the one or more pre-processed images includes a plurality of products;
generating a item-identifier tagged reference image corresponding to each of the one or more pre-processed reference images;
generating the reference background image from the one or more pre-processed reference images; and
storing the reference background image in the data store.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the one or more pre-processed reference images includes:
for each pre-processed reference image of the one or more pre-processed reference images:
receiving one or more reference images of the shelf from one or more imaging devices;
pre-processing the one or reference images, wherein pre-processing the one or more reference images includes:
stitching together the one or more reference image to create a single reference image;
detecting the plurality of products within the single reference image; and
adding a bounding box that surrounds each of the plurality of products on the single reference image to create the pre-processed reference image.

### Claim 4 (depends on 2)

The method of claim 2, wherein generating an item-identifier tagged reference image corresponding to each of the one or more pre-processed reference images includes:
for each pre-processed reference image of the one or more pre-processed reference images:
identifying each of the plurality of products within the pre-processed reference image;
associating an item-identifier tag with each of the plurality of products within the pre-processed reference image;
assigning a common pixel value to all pixels within each bounding box associated with each of the plurality of products to create the item-identifier tagged reference image, wherein the common pixel value for each bounding box corresponds to the item-identifier tag associated with the product enclosed within the bounding box.

### Claim 5 (depends on 4)

The method of claim 4, wherein identifying each of the plurality of products within the pre-processed reference image and associating an item-identifier tag with each of the plurality of products within the pre-processed reference image is performed using user annotation.

### Claim 6 (depends on 4)

The method of claim 4, wherein the item-identifier tag is a numeric or alphanumeric code used to identify each of the one or more products.

### Claim 7 (depends on 2)

The method of claim 2, wherein generating the reference background image includes:
using a learning model, evaluating the item-identifier tagged reference image corresponding to each of the one or more pre-processed reference images to identify background objects within the item-identifier tagged reference images, wherein the background objects are objects that remain static among the item-identifier tagged reference images; and
generating a common item-identifier tagged reference image that only includes the identified background objects.

### Claim 8 (depends on 1)

The method of claim 1, wherein generating the item-identifier tagged image includes:
stitching together the one or more images to create a single shelf image;
detecting the plurality of shelf products within the single shelf image;
adding a bounding box that surrounds each of the plurality of shelf products on the single shelf image;
identifying each of the plurality of shelf products within the single shelf image;
associating an item-identifier tag with each of the plurality of shelf products within the single shelf image; and
assigning a common pixel value to all pixels within each bounding box associated with each of the plurality of shelf products to create the item-identifier tagged image, wherein the common pixel value for each bounding box corresponds to the item-identifier tag associated with the shelf product enclosed within the bounding box.

### Claim 9 (depends on 1)

The method of claim 1, wherein comparing the item-identifier tagged image to the reference background image includes: for each shelf product included within the item-identifier tagged image, determining whether an item-identifier tag corresponding with the shelf product matches an item identifier tag associated with a product from a corresponding location within the reference background image.

### Claim 10 (depends on 9)

The method of claim 9, wherein identifying the foreground objects includes identifying any item-identifier tag from the item-identifier tagged image that does not match a corresponding item-identifier tag from the reference background image.

### Claim 11

A system for identifying anomalies within a shelf, the system comprising:
one or more imaging devices; and
a computing system comprising:
a processor;
a memory communicatively connected to the processor which stores program instructions executable by the processor, wherein, when executed the program instructions cause the system to:
receive one or more images of the shelf from one or more imaging devices;
generate an item-identifier tagged image from the one or more images, wherein the item-identifier tagged image includes a plurality of shelf products;
retrieve a reference background image from a data store;
compare the item-identifier tagged image to the reference background image;
based on the comparison, identify foreground objects within the item-identifier tagged image;
determine that the identified foreground objects correspond to anomalies associated with the shelf, wherein the anomalies include at least one of: a product that is mis-shelved and a shelf product that is out-of-stock; and
send an item-identifier tag associated with each of the identified foreground objects to a user electronic computing device as a notification of anomalies within the shelf.

### Claim 12 (depends on 11)

The system of claim 11, wherein when executed, the program instructions further cause the system to:
generate one or more pre-processed reference images of the shelf, wherein each of the one or more pre-processed images includes a plurality of products;
generate an item-identifier tagged reference image corresponding to each of the one or more pre-processed reference images;
generate the reference background image from the one or more pre-processed reference images; and
store the reference background image in the data store.

### Claim 13 (depends on 12)

The system of claim 12, wherein generate the one or more pre-processed reference images includes:
for each pre-processed reference image of the one or more pre-processed reference images:
receive one or more reference images of the shelf from one or more imaging devices;
pre-process the one or reference images, wherein pre-processing the one or more reference images includes:
stitch together the one or more reference image to create a single reference image;
detect the plurality of products within the single reference image; and
add a bounding box that surrounds each of the plurality of products on the single reference image to create the pre-processed reference image.

### Claim 14 (depends on 12)

The system of claim 12, wherein generate an item-identifier tagged reference image corresponding to each of the one or more pre-processed reference images includes:
for each pre-processed reference image of the one or more pre-processed reference images:
identify each of the plurality of products within the pre-processed reference image;
associate an item-identifier tag with each of the plurality of products within the pre-processed reference image;
assign a common pixel value to all pixels within each bounding box associated with each of the plurality of products to create the item-identifier tagged reference image, wherein the common pixel value for each bounding box corresponds to the item-identifier tag associated with the product enclosed within the bounding box.

### Claim 15 (depends on 14)

The system of claim 14, wherein identify each of the plurality of products within the pre-processed reference image is performed using user annotation.

### Claim 16 (depends on 12)

The system of claim 12, wherein generate the reference background image includes:
using a learning model, evaluate the item-identifier tagged reference image corresponding to each of the one or more pre-processed reference images to identify background objects within the item-identifier tagged reference images, wherein the background objects are objects that remain static among the item-identifier tagged reference images; and
generate a common item-identifier tagged reference image that only includes the identified background objects.

### Claim 17 (depends on 11)

The system of claim 11, wherein generate the item-identifier tagged image includes:
stitch together the one or more images to create a single shelf image;
detect the plurality of shelf products within the single shelf image;
add a bounding box that surrounds each of the plurality of shelf products on the single shelf image;
identify each of the plurality of shelf products within the single shelf image;
associate an item-identifier tag with each of the plurality of shelf products within the single shelf image; and
assign a common pixel value to all pixels within each bounding box associated with each of the plurality of shelf products to create the item-identifier tagged image, wherein the common pixel value for each bounding box corresponds to the item-identifier tag associated with the shelf product enclosed within the bounding box.

### Claim 18 (depends on 11)

The system of claim 11, wherein compare the item-identifier tagged image to the reference background image includes: for each shelf product included within the item-identifier tagged image, determine whether an item-identifier tag corresponding with the shelf product matches an item identifier tag associated with a product from a corresponding location within the reference background image.

### Claim 19 (depends on 18)

The system of claim 18, wherein identify the foreground objects includes to identify any item-identifier tag from the item-identifier tagged image that does not match a corresponding item-identifier tag from the reference background image.

### Claim 20

A method for identifying anomalies within a shelf, the method comprising:
receiving one or more images of the shelf from one or more imaging devices;
stitching together the one or more images to create a single shelf image;
detecting a plurality of shelf products within the single shelf image;
adding a bounding box that surrounds each of the plurality of shelf products on the single shelf image;
identifying each of the plurality of shelf products within the single shelf image;
associating an item-identifier tag with each of the plurality of shelf products within the single shelf image;
assigning a common pixel value to all pixels within each bounding box associated with each of the plurality of shelf products to create an item-identifier tagged image, wherein the common pixel value for each bounding box corresponds to the item-identifier tag associated with the shelf product enclosed within the bounding box;
retrieving a reference background image from a data store, wherein the reference background image includes item-identifier tags corresponding expected products associated with each product location on the shelf;
comparing the item-identifier tagged image to the reference background image, including:
for each shelf product included within the item-identifier tagged image, determining whether an item-identifier tag corresponding with the shelf product matches an item identifier tag associated with a product from a corresponding location within the reference background image;
based on the comparison, identifying foreground objects within the item-identifier tagged image;
determining that the identified foreground objects correspond to anomalies associated with the shelf; and
sending an item-identifier tag associated with each of the identified foreground objects to a user electronic computing device as a notification of anomalies within the shelf.
