# US 2021/0342639 A1 · Product onboarding machine

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

- Number: US 2021/0342639 A1
- Document ID: US20210342639A1
- Status: Published application
- Kind: A1
- Application number: 17/376,088
- Filed: 2021-07-14
- Published: 2021-11-04
- Earliest claimed: 2018-09-18
- Assignees: Focal Systems, Inc.
- Applicants: Focal Systems, Inc.
- Inventors: Francois Chaubard
- Web page: https://patentgrep.com/patent/US20210342639A1

## CPC

- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06V 10/34: Smoothing or thinning of the pattern; Morphological operations; Skeletonisation
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 20/653: {by matching three-dimensional models, e.g. conformal mapping of Riemann surfaces}
- G06V 2201/10: Recognition assisted with metadata
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for generating training examples for a product recognition model is disclosed. The method includes capturing images of a product using an array of cameras. A product identifier for the product is associated with each of the images. A bounding box for the product is identified in each of the images. The bounding boxes are smoothed temporally. A segmentation mask for the product is identified in each bounding box. The segmentation masks are optimized to generate an optimized set of segmentation masks. A machine learning model is trained using the optimized set of segmentation masks to recognize an outline of the product. The machine learning model is run to generate a set of further-optimized segmentation masks. The bounding box and further-optimized segmentation masks from each image are stored in a master training set with its product identifier as a training example to be used to train a product recognition model.

## Claims

### Claim 1

A method comprising:
capturing image data of a product using a plurality of cameras, the image data including a plurality of image frames and being captured while the product is moving in one or more dimensions;
associating a product identifier for the product with each of the plurality of image frames;
identifying a plurality of segmentation masks comprising a segmentation mask for the product in each of the plurality of image frames each segmentation mask corresponding to an outline of the product as derived from a respective bounding box identified in each of the plurality of image frames; and
optimizing the plurality of segmentation masks by inputting the plurality of image frames into a machine learning model, the machine learning model trained on the plurality of segmentation masks, the machine learning model outputting a set of optimized segmentation masks for the product.

### Claim 2 (depends on 1)

The method of claim 1, further comprising refining the plurality of segmentation masks using a probabilistic model, wherein the machine learning model is trained on the refined plurality of segmentation masks.

### Claim 3 (depends on 2)

The method of claim 2, wherein the probabilistic model is a conditional random fields (CRF) model.

### Claim 4 (depends on 1)

The method of claim 1, wherein the machine learning model is a convolutional neural network and, wherein the convolutional neural network is retrained for each different product using the optimized set of segmentation masks for that product.

### Claim 5 (depends on 1)

The method of claim 1, wherein the image data of the product includes volume or depth information of the product from while varying at least one of lighting, background, occlusions, camera or resolution.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating a plurality of product collages from the image data of a plurality of products in a simulated environment to generate training examples of multiple products in context for a product recognition model.

### Claim 7 (depends on 6)

The method of claim 6, wherein generating a plurality of product collages from the image data of a plurality of products comprises:
obtaining a background image for the simulated environment;
randomly selecting a set of products at random orientations from the image data of the set of products;
segmenting, for each of the randomly selecting set of products, the image data based on the a further-optimized segmentation mask for the product at the selected random orientation;
randomly adding, to the background image for the simulated environment, the segmented image data for each of the randomly selecting set of products; and
storing the background image for the simulated environment as a training examples for a product recognition model.

### Claim 8

A non-transitory computer-readable storage medium comprising memory with instructions encoded thereon, the instructions, when executed by one or more processors, causing the one or more processors to perform operations, the instructions comprising instructions to:
capture image data of a product using a plurality of cameras, the image data including a plurality of image frames and being captured while the product is moving in one or more dimensions;
associate a product identifier for the product with each of the plurality of image frames;
identify a plurality of segmentation masks comprising a segmentation mask for the product in each of the plurality of image frames each segmentation mask corresponding to an outline of the product as derived from a respective bounding box identified in each of the plurality of image frames; and
optimize the plurality of segmentation masks by inputting the plurality of image frames into a machine learning model, the machine learning model trained on the plurality of segmentation masks, the machine learning model outputting a set of optimized segmentation masks for the product.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, the instructions further comprising instructions to refine the plurality of segmentation masks using a probabilistic model, wherein the machine learning model is trained on the refined plurality of segmentation masks.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the probabilistic model is a conditional random fields (CRF) model.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the machine learning model is a convolutional neural network and, wherein the convolutional neural network is retrained for each different product using the optimized set of segmentation masks for that product.

### Claim 12 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the image data of the product includes volume or depth information of the product from while varying at least one of lighting, background, occlusions, camera or resolution.

### Claim 13 (depends on 8)

The non-transitory computer-readable medium of claim 8, the instructions further comprising instructions to:
generate a plurality of product collages from the image data of a plurality of products in a simulated environment to generate training examples of multiple products in context for a product recognition model.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the instructions to generate a plurality of product collages from the image data of a plurality of products comprise instructions to:
obtain a background image for the simulated environment;
randomly select a set of products at random orientations from the image data of the set of products;
segment, for each of the randomly selecting set of products, the image data based on the a further-optimized segmentation mask for the product at the selected random orientation;
randomly add, to the background image for the simulated environment, the segmented image data for each of the randomly selecting set of products; and
store the background image for the simulated environment as a training examples for a product recognition model.

### Claim 15

A system comprising:
memory with instructions encoded thereon; and
one or more processors that, when executing the instructions, are caused to perform operations comprising:
capturing image data of a product using a plurality of cameras, the image data including a plurality of image frames and being captured while the product is moving in one or more dimensions;
associating a product identifier for the product with each of the plurality of image frames;
identifying a plurality of segmentation masks comprising a segmentation mask for the product in each of the plurality of image frames each segmentation mask corresponding to an outline of the product as derived from a respective bounding box identified in each of the plurality of image frames; and
optimizing the plurality of segmentation masks by inputting the plurality of image frames into a machine learning model, the machine learning model trained on the plurality of segmentation masks, the machine learning model outputting a set of optimized segmentation masks for the product.

### Claim 16 (depends on 15)

The system of claim 15, the operations further comprising refining the plurality of segmentation masks using a probabilistic model, wherein the machine learning model is trained on the refined plurality of segmentation masks.

### Claim 17 (depends on 16)

The system of claim 16, wherein the probabilistic model is a conditional random fields (CRF) model.

### Claim 18 (depends on 15)

The system of claim 15, wherein the machine learning model is a convolutional neural network and, wherein the convolutional neural network is retrained for each different product using the optimized set of segmentation masks for that product.

### Claim 19 (depends on 15)

The system of claim 15, wherein the image data of the product includes volume or depth information of the product from while varying at least one of lighting, background, occlusions, camera or resolution.

### Claim 20 (depends on 15)

The system of claim 15, the operations further comprising:
generating a plurality of product collages from the image data of a plurality of products in a simulated environment to generate training examples of multiple products in context for a product recognition model.
