# US 2023/0267620 A1 · Computing platform using machine learning for foreground mask estimation

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

- Number: US 2023/0267620 A1
- Document ID: US20230267620A1
- Status: Published application
- Kind: A1
- Application number: 18/247,308
- Filed: 2021-09-26
- Published: 2023-08-24
- Earliest claimed: 2020-09-30
- Assignees: SplitmediaLabs Limited
- Applicants: SplitmediaLabs Limited
- Inventors: Hugh Ross SANDERSON; Henrik LEVRING; Julien Charles FLACK
- Web page: https://patentgrep.com/patent/US20230267620A1

## CPC

- G06T 7/11: Region-based segmentation
- G06T 7/194: involving foreground-background segmentation
- G06T 7/174: involving the use of two or more images
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V 20/49: {Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes}
- H04N 7/147: {Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals (selecting H04Q)}
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2207/10016: Video; Image sequence
- G06T 2207/10024: Color image
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Aspects of the disclosure relate to using machine learning for foreground mask estimation. A computing platform may receive a set of images and corresponding ground truth foreground masks. Using the set of images and the corresponding ground truth foreground masks, the computing platform may train the first neural network to distinguish between image foregrounds and backgrounds, which may result in a first set of foreground masks. For each image and based on a corresponding foreground mask, the computing platform may estimate a first background clean plate. Using the set of images, the first background clean plates, and a set of corresponding ground truth mask images, the computing platform may train a second neural network, which may configure the second neural network to output foreground masks based on video input information. The computing platform may deploy, to an implementation computing device, the second neural network.

## Claims

### Claim 1

A computing platform comprising:
at least one processor;
a communication interface communicatively coupled to the at least one processor; and
memory storing computer-readable instructions that, when executed by the at least one processor, cause the computing platform to:
receive a set of images and corresponding ground truth foreground masks;
train, using the set of images and corresponding ground truth foreground masks, a first neural network to distinguish between image foregrounds and backgrounds, wherein training the first neural network results in a first set of foreground masks each corresponding to an image of the set of images;
estimate, for each image of the set of images and based on the foreground mask inferred by the first neural network, and images from the sequence temporarily related to the image, a first background clean plate;
train, using the set of images, the first background clean plates, and a set of corresponding ground truth mask images, a second neural network, wherein training the second neural network configures the second neural network to output foreground masks based on video input information; and
deploy, to an implementation computing device, the second neural network.

### Claim 2 (depends on 1)

The computing platform of claim 1, wherein the set of images represents a target image set for a video recording device being used for video conferencing.

### Claim 3 (depends on 2)

The computing platform of claim 2, wherein each of the set of images comprises red, green, blue (RGB) or YUV picture elements arranged on a grid along with a predefined width and height.

### Claim 4 (depends on 3)

The computing platform of claim 3, wherein the predefined width and height are based on processing parameters of a target implementation computing device.

### Claim 5 (depends on 1)

The computing platform of claim 1, wherein training the first neural network comprises training the first neural network using a first subset of the set of images corresponding to a first resolution and a first component configuration and a second subset of the set of images corresponding to a second resolution and a second component configuration.

### Claim 6 (depends on 5)

The computing platform of claim 5, wherein the first component configuration and the second component configuration indicate image components that should be considered part of the foreground and the background for each image of the set of images.

### Claim 7 (depends on 1)

The computing platform of claim 1, wherein training the first neural network comprises associating a foreground mask with each image of the set of images, wherein the foregrounds masks have the same height and width as their corresponding image, and wherein the foreground masks comprise a plurality of pixels each indicating a probability that the corresponding pixel is associated with the foreground of the corresponding image.

### Claim 8 (depends on 7)

The computing platform of claim 7, wherein training the first neural network enables the first neural network to further treat specific components within each image of the set of images as part of the foreground or the background of the corresponding image.

### Claim 9 (depends on 8)

The computing platform of claim 8, wherein:
treating the specific components as part of the foreground of the corresponding image comprises setting the corresponding pixels to indicate a probability of being in the foreground that exceeds a predetermined foreground threshold, and
treating the specific components as part of the background of the corresponding image comprises setting the corresponding pixels to indicate a probability of being in the foreground that is less that the predetermined foreground threshold.

### Claim 10 (depends on 9)

The computing platform of claim 9, wherein estimating the first background clean plate comprises:
replacing, in each image of the set of images, each unknown background pixel that borders at least one known pixel, wherein:
the unknown background pixels are pixels marked as having a probability of being in the foreground that exceeds the foreground threshold, and
the known background pixels are pixels marked as having a probability of being in the foreground that does not exceed the foreground threshold.

### Claim 11 (depends on 1)

The computing platform of claim 1, wherein there is not a required temporal relationship between subsequent images within the set of images at a time when the first neural network is trained.

### Claim 12 (depends on 1)

The computing platform of claim 1, wherein the second neural network comprises a six channel input image, wherein:
a first channel, a second channel, and a third channel correspond to three red green blue (RGB) channels for the set of images, and
a fourth channel, a fifth channel, and a sixth channel correspond to three RGB channels for the first background clean plates.

### Claim 13 (depends on 1)

The computing platform of claim 1, wherein deploying the second neural network to the implementation computing device enables the implementation computing device to output the foreground masks based on the video input information.

### Claim 14 (depends on 1)

The computing platform of claim 1, wherein the implementation computing device is configured to:
input, into the second neural network, each of a plurality of image frames corresponding to the video input information and an initial background clean plate, and wherein inputting each of the plurality of image frames corresponding to the video input information and the initial background clean plate into the second neural network results in output of the foreground masks;
update, based on the foreground masks, the initial background clean plate; and
update, using the updated background clean plate, the second neural network.

### Claim 15 (depends on 14)

The computing platform of claim 14, wherein the implementation computing device is configured to detect a background change that exceeds a predetermined background threshold and to reset the updated background plate.

### Claim 16 (depends on 14)

The computing platform of claim 14, wherein the foreground masks are used by an application, hosted by the implementation computing device, to modify a background image corresponding to the video input information.

### Claim 17 (depends on 1)

The computing platform of claim 1, wherein the implementation computing device is configured to:
select a first processing unit of the implementation computing device on which to apply the second neural network based on available processing capacity for each processing unit of the implementation computing device; and
select a second processing unit of the implementation computing device on which to apply the second neural network, wherein the second processing unit is selected after selecting the first processing unit and based on a determination that:
processing load on the first processing unit exceeds a predetermined processing threshold, and
processing load on a second processing unit does not exceed the predetermined processing threshold; and
suspend, after selecting the second processing unit, application of the second neural network on the first processing unit.

### Claim 18 (depends on 1)

The computing platform of claim 1, wherein the implementation computing device is configured to receive a user input selecting a particular video resolution, and wherein the implementation computing device is configured to select a new version of the second neural network based on the selected video resolution.

### Claim 19

A method, comprising:
at a computing platform comprising at least one processor, a communication interface, and memory:
receiving a set of images and corresponding ground truth foreground masks;
training, using the set of images and corresponding ground truth foreground masks, a first neural network to distinguish between image foregrounds and backgrounds, wherein training the first neural network results in a first set of foreground masks each corresponding to an image of the set of images;
estimating, for each image of the set of images and based on a corresponding foreground mask, a first background clean plate;
training, using the set of images, the first background clean plates, and a set of corresponding ground truth mask images, a second neural network, wherein training the second neural network configures the second neural network to output foreground masks based on video input information; and
deploying, to an implementation computing device, the second neural network.

### Claim 20

One or more non-transitory computer-readable media storing instructions that, when executed by a computing platform comprising at least one processor, a communication interface, and memory, cause the computing platform to:
receive a set of images and corresponding ground truth foreground masks;
train, using the set of images and corresponding ground truth foreground masks, a first neural network to distinguish between image foregrounds and backgrounds, wherein training the first neural network results in a first set of foreground masks each corresponding to an image of the set of images;
estimate, for each image of the set of images and based on a corresponding foreground mask, a first background clean plate;
train, using the set of images, the first background clean plates, and a set of corresponding ground truth mask images, a second neural network, wherein training the second neural network configures the second neural network to output foreground masks based on video input information; and
deploy, to an implementation computing device, the second neural network.
