# US 11,120,311 B2 · Adjusting machine settings through multi-pass training of object detection models

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

- Number: US 11,120,311 B2
- Document ID: US11120311B2
- Status: Granted
- Kind: B2
- Application number: 16/657,975
- Filed: 2019-10-18
- Published: 2021-04-22
- Granted: 2021-09-14
- Earliest claimed: 2019-10-18
- Assignees: Midea Group Co., Ltd.
- Applicants: Midea Group Co., Ltd.
- Inventors: Thanh Huy Ha; Yuxiang Gao; Zhicai Ou
- Web page: https://patentgrep.com/patent/US11120311B2

## CPC

- G05B 15/02: electric
- G05B 13/048: {using a predictor}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/2431: Multiple classes
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 5/046: Forward inferencing; Production systems
- G06N 20/00: Machine learning
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/776: Validation; Performance evaluation
- G06V 10/82: using neural networks
- G06V 20/60: Type of objects
- G05B 2219/2642: Domotique, domestic, home control, automation, smart house
- G06N 3/045: Combinations of networks
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

System and method for controlling a machine, including: receiving a first image processing model trained to classify an input image into a first class for images containing at least one object of a first type or a second class for images not containing an object of the first type; identifying a subset of inference results that are false positive results; generating a set of new training data from the first set of images, including augmenting an image in the first set of images to obtain a respective plurality of images and labeling the respective plurality of images as containing at least one object of a pseudo first class; training a second image processing model to classify an input image into the first class, the second class, and the first pseudo class; and modifying a device setting of a machine based on an inference result of the second image processing model.

## Claims

### Claim 1

A method, comprising:
at a computing device having one or more processors and memory:
receiving a first image processing model that is trained to classify a respective input image into a first class for images containing at least one object of a first type or a second class for images not containing at least one object of the first type;
identifying, from a plurality of inference results output by the first image processing model, a first subset of inference results that are false positive results classifying a first set of images not containing at least one object of the first type into the first class for images containing at least one object of the first type;
generating a first set of new training data from the first set of images, including augmenting a respective image in the first set of images to obtain a first respective plurality of images and labeling the first respective plurality of images as containing at least one object of a pseudo first class that is distinct from the first class and the second class;
training, using a training dataset including at least the first set of new training data, a second image processing model to classify a respective input image into the first class for images containing at least one object of the first type, the second class for images not containing at least one object of the first type, and the first pseudo class for images that contain objects that are prone to misclassification into the first class by the first image processing model; and
modifying a device setting of a first machine based on a first inference result of a first input image captured by the first machine, wherein the first inference result is generated by the second image processing model and corresponds to the first class.

### Claim 2 (depends on 1)

The method of claim 1, including:
capturing the first input image at the first machine before a first operation is performed by the first machine on objects captured in the first input image, wherein the device setting is a setting of the first operation performed by the first machine.

### Claim 3 (depends on 1)

The method of claim 1, including:
training a fourth image processing model for classifying a respective input image into a third class for images containing at least one object of a second type that is distinct from the first type, a fourth class for images not containing at least one object of the second type, or a pseudo third class for images containing objects that are prone to misclassification into the third class by a third image processing model that is trained to classify the respective input image only into the third class and the fourth class; and
modifying a different device setting of the first machine based on a second inference result of the first input image captured by the first machine, wherein the second inference result is generated by the fourth image processing model and corresponds to the third class.

### Claim 4 (depends on 1)

The method of claim 1, including:
identifying, from the plurality of inference results output by the first image processing model, a second subset of inference results that are false negative results classifying a second set of images containing at least one object of the first type into the second class for not containing at least one object of the first type;
generating a second set of new training data from the second set of images, including augmenting a respective image in the second set of images to obtain a second respective plurality of images and labeling the second respective plurality of images as images of the first class; and
adding the second respective plurality of images to the training dataset as training images corresponding to the first class along with images correctly classified into the first class by the first image processing model.

### Claim 5 (depends on 1)

The method of claim 1, including:
collecting user input identifying an additional inference result generated by a copy of the first image processing model used by a second machine as a false positive result; and
adding a respective image captured at the second machine that corresponds to the additional inference result to the training dataset for training the second image processing model.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first image processing model and the second image processing model are trained on a first server, wherein the first set of new training data is generated on second server, and wherein the first inference result is generated by the second image processing model on a third server, and wherein the first, second, and the third servers are connected by a network.

### Claim 7 (depends on 4)

The method of claim 4, including:
identifying, from the plurality of inference results output by the first image processing model, a third subset of inference results that are true negative results classifying a third set of images not containing at least one object of the first type into the second class; and
adding images corresponding to the third subset of inference results into the training dataset as training images corresponding to the second class.

### Claim 8

A computing device, comprising:
one or more processors; and
memory storing instructions, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising:
receiving a first image processing model that is trained to classify a respective input image into a first class for images containing at least one object of a first type or a second class for images not containing at least one object of the first type;
identifying, from a plurality of inference results output by the first image processing model, a first subset of inference results that are false positive results classifying a first set of images not containing at least one object of the first type into the first class for images containing at least one object of the first type;
generating a first set of new training data from the first set of images, including augmenting a respective image in the first set of images to obtain a first respective plurality of images and labeling the first respective plurality of images as containing at least one object of a pseudo first class that is distinct from the first class and the second class;
training, using a training dataset including at least the first set of new training data, a second image processing model to classify a respective input image into the first class for images containing at least one object of the first type, the second class for images not containing at least one object of the first type, and the first pseudo class for images that contain objects that are prone to misclassification into the first class by the first image processing model; and
modifying a device setting of a first machine based on a first inference result of a first input image captured by the first machine, wherein the first inference result is generated by the second image processing model and corresponds to the first class.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein the operations include:
capturing the first input image at the first machine before a first operation is performed by the first machine on objects captured in the first input image, wherein the device setting is a setting of the first operation performed by the first machine.

### Claim 10 (depends on 8)

The computing device of claim 8, wherein the operations include:
training a fourth image processing model for classifying a respective input image into a third class for images containing at least one object of a second type that is distinct from the first type, a fourth class for images not containing at least one object of the second type, or a pseudo third class for images containing objects that are prone to misclassification into the third class by a third image processing model that is trained to classify the respective input image only into the third class and the fourth class; and
modifying a different device setting of the first machine based on a second inference result of the first input image captured by the first machine, wherein the second inference result is generated by the fourth image processing model and corresponds to the third class.

### Claim 11 (depends on 8)

The computing device of claim 8, wherein the operations include:
identifying, from the plurality of inference results output by the first image processing model, a second subset of inference results that are false negative results classifying a second set of images containing at least one object of the first type into the second class for not containing at least one object of the first type;
generating a second set of new training data from the second set of images, including augmenting a respective image in the second set of images to obtain a second respective plurality of images and labeling the second respective plurality of images as images of the first class; and
adding the second respective plurality of images to the training dataset as training images corresponding to the first class along with images correctly classified into the first class by the first image processing model.

### Claim 12 (depends on 8)

The computing device of claim 8, wherein the operations include:
collecting user input identifying an additional inference result generated by a copy of the first image processing model used by a second machine as a false positive result; and
adding a respective image captured at the second machine that corresponds to the additional inference result to the training dataset for training the second image processing model.

### Claim 13 (depends on 8)

The computing device of claim 8, wherein the first image processing model and the second image processing model are trained on a first server, wherein the first set of new training data is generated on second server, and wherein the first inference result is generated by the second image processing model on a third server, and wherein the first, second, and the third servers are connected by a network.

### Claim 14 (depends on 11)

The computing device of claim 11, wherein the operations include:
identifying, from the plurality of inference results output by the first image processing model, a third subset of inference results that are true negative results classifying a third set of images not containing at least one object of the first type into the second class; and
adding images corresponding to the third subset of inference results into the training dataset as training images corresponding to the second class.

### Claim 15

A non-transitory computer-readable storage medium storing instructions, the instructions, when executed by one or more processors, cause the processors to perform operations comprising:
receiving a first image processing model that is trained to classify a respective input image into a first class for images containing at least one object of a first type or a second class for images not containing at least one object of the first type;
identifying, from a plurality of inference results output by the first image processing model, a first subset of inference results that are false positive results classifying a first set of images not containing at least one object of the first type into the first class for images containing at least one object of the first type;
generating a first set of new training data from the first set of images, including augmenting a respective image in the first set of images to obtain a first respective plurality of images and labeling the first respective plurality of images as containing at least one object of a pseudo first class that is distinct from the first class and the second class;
training, using a training dataset including at least the first set of new training data, a second image processing model to classify a respective input image into the first class for images containing at least one object of the first type, the second class for images not containing at least one object of the first type, and the first pseudo class for images that contain objects that are prone to misclassification into the first class by the first image processing model; and
modifying a device setting of a first machine based on a first inference result of a first input image captured by the first machine, wherein the first inference result is generated by the second image processing model and corresponds to the first class.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations include:
capturing the first input image at the first machine before a first operation is performed by the first machine on objects captured in the first input image, wherein the device setting is a setting of the first operation performed by the first machine.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations include:
training a fourth image processing model for classifying a respective input image into a third class for images containing at least one object of a second type that is distinct from the first type, a fourth class for images not containing at least one object of the second type, or a pseudo third class for images containing objects that are prone to misclassification into the third class by a third image processing model that is trained to classify the respective input image only into the third class and the fourth class; and
modifying a different device setting of the first machine based on a second inference result of the first input image captured by the first machine, wherein the second inference result is generated by the fourth image processing model and corresponds to the third class.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations include:
identifying, from the plurality of inference results output by the first image processing model, a second subset of inference results that are false negative results classifying a second set of images containing at least one object of the first type into the second class for not containing at least one object of the first type;
generating a second set of new training data from the second set of images, including augmenting a respective image in the second set of images to obtain a second respective plurality of images and labeling the second respective plurality of images as images of the first class; and
adding the second respective plurality of images to the training dataset as training images corresponding to the first class along with images correctly classified into the first class by the first image processing model.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations include:
collecting user input identifying an additional inference result generated by a copy of the first image processing model used by a second machine as a false positive result; and
adding a respective image captured at the second machine that corresponds to the additional inference result to the training dataset for training the second image processing model.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the first image processing model and the second image processing model are trained on a first server, wherein the first set of new training data is generated on second server, and wherein the first inference result is generated by the second image processing model on a third server, and wherein the first, second, and the third servers are connected by a network.
