# US 2023/0274400 A1 · Automatically removing moving objects from video streams

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

- Number: US 2023/0274400 A1
- Document ID: US20230274400A1
- Status: Published application
- Kind: A1
- Application number: 18/298,146
- Filed: 2023-04-10
- Published: 2023-08-31
- Earliest claimed: 2020-10-30
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Sheng-Wei Huang; Wentian Zhao; Kun Wan; Zichuan Liu; Xin Lu; Jen-Chan Jeff Chien
- Web page: https://patentgrep.com/patent/US20230274400A1

## CPC

- G06T 5/77: Retouching; Inpainting; Scratch removal
- G06V 20/41: {Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items (segmenting video sequences G06V20/49)}
- G06F 18/2134: based on separation criteria, e.g. independent component analysis
- G06T 7/73: using feature-based methods
- G06V 10/273: {removing elements interfering with the pattern to be recognised}
- G06V 10/62: relating to a temporal dimension, e.g. time-based feature extraction; Pattern tracking
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20081: Training; Learning
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure describes systems, non-transitory computer-readable media, and methods for accurately and efficiently removing objects from digital images taken from a camera viewfinder stream. For example, the disclosed systems access digital images from a camera viewfinder stream in connection with an undesired moving object depicted in the digital images. The disclosed systems generate a temporal window of the digital images concatenated with binary masks indicating the undesired moving object in each digital image. The disclosed systems further utilizes a generator as part of a 3D to 2D generative adversarial neural network in connection with the temporal window to generate a target digital image with the region associated with the undesired moving object in-painted. In at least one embodiment, the disclosed systems provide the target digital image to a camera viewfinder display to show a user how a future digital photograph will look without the undesired moving object.

## Claims

### Claim 1

A method comprising:
providing, via a client device, a camera viewfinder display showing a camera stream of a scene being captured a camera of the client device;
identifying an undesired object from the camera stream shown in the camera viewfinder display;
generating, utilizing a neural network, a series of target digital images with the undesired object removed;
replacing the camera stream in the camera viewfinder display with the series of target digital images to provide a time-shifted preview of the scene being captured by the camera with the undesired object removed; and
capturing a target digital image with the undesired object removed in response to a selection of an image capture button.

### Claim 2 (depends on 1)

The method as recited in claim 1, further comprising:
generating a mask of the undesired object; and
erasing the undesired object by in-painting the mask of the undesired object.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein identifying the undesired object from the camera stream shown in the camera viewfinder display comprises detecting a user selection of the undesired object.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein identifying the undesired object from the camera stream shown in the camera viewfinder display comprises detecting that the undesired object is a moving object.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein generating, utilizing the neural network, the series of target digital images with the undesired object removed comprises:
extracting, utilizing an encoder of the neural network, feature maps from digital images in a sequence of digital images from the camera stream;
generating, utilizing the neural network, a temporally-aggregated feature map by combining the feature maps; and
generating, from the temporally-aggregated feature map, utilizing a decoder of the neural network, the target digital image with the undesired object removed.

### Claim 6 (depends on 5)

The method as recited in claim 5, wherein the neural network comprises a three-dimensional (3D) to two-dimensional (2D) generator.

### Claim 7 (depends on 6)

The method as recited in claim 6, wherein generating, utilizing the neural network, the temporally-aggregated feature map comprises utilizing a temporal fusion layer of the 3D to 2D generator to combine the features maps.

### Claim 8

A non-transitory computer-readable medium storing executable instructions, which when executed by a processing device, cause the processing device to perform operations comprising:
providing, via a client device, a camera viewfinder display showing a camera stream of a scene being captured a camera of the client device;
identifying an undesired object from the camera stream shown in the camera viewfinder display;
generating, utilizing a neural network, a series of target digital images with the undesired object removed;
replacing the camera stream in the camera viewfinder display with the series of target digital images to provide a time-shifted preview of the scene being captured by the camera with the undesired object removed; and
capturing a target digital image with the undesired object removed in response to a selection of an image capture button.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium as recited in claim 8, wherein the operations further comprise:
generating a mask of the undesired object; and
erasing the undesired object by in-painting the mask of the undesired object.

### Claim 10 (depends on 8)

The non-transitory computer-readable medium as recited in claim 8, wherein identifying the undesired object from the camera stream shown in the camera viewfinder display comprises detecting a user selection of the undesired object.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium as recited in claim 8, wherein identifying the undesired object from the camera stream shown in the camera viewfinder display comprises detecting that the undesired object is a moving object.

### Claim 12 (depends on 8)

The non-transitory computer-readable medium as recited in claim 8, wherein generating, utilizing the neural network, the series of target digital images with the undesired object removed comprises:
extracting, utilizing an encoder of the neural network, feature maps from digital images in a sequence of digital images from the camera stream;
generating, utilizing the neural network, a temporally-aggregated feature map by combining the feature maps; and
generating, from the temporally-aggregated feature map, utilizing a decoder of the neural network, the target digital image with the undesired object removed.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium as recited in claim 12, wherein the neural network comprises a three-dimensional (3D) to two-dimensional (2D) generator.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium as recited in claim 13, wherein generating, utilizing the neural network, the temporally-aggregated feature map comprises utilizing a temporal fusion layer of the 3D to 2D generator to combine the features maps.

### Claim 15

A system comprising:
one or more memory components; and
one or more processing devices coupled to the one or more memory components, the one or more processing devices to perform operations comprising:
providing, via a client device, a camera viewfinder display showing a camera stream of a scene being captured a camera of the client device;
identifying an undesired object from the camera stream shown in the camera viewfinder display;
generating, utilizing a neural network, a target digital image with the undesired object removed;
replacing the camera stream in the camera viewfinder display with target digital image; and
capturing the target digital image with the undesired object removed in response to a selection of an image capture button.

### Claim 16 (depends on 15)

The system of claim 15, wherein replacing the camera stream in the camera viewfinder display with target digital image is performed prior to capturing the target digital image to provide a preview of edited results prior to capturing the target digital image.

### Claim 17 (depends on 15)

The system as recited in claim 15, wherein identifying the undesired object from the camera stream shown in the camera viewfinder display comprises detecting a user selection of the undesired object.

### Claim 18 (depends on 15)

The system as recited in claim 15, further comprising:
generating, utilizing the neural network, a series of target digital images with the undesired object removed; and
replacing the camera stream in the camera viewfinder display with the series of target digital images to provide a time-shifted preview of the scene being captured by the camera with the undesired object removed.

### Claim 19 (depends on 18)

The system as recited in claim 18, wherein generating, utilizing the neural network, the series of target digital images with the undesired object removed comprises:
extracting, utilizing an encoder of the neural network, feature maps from digital images in a sequence of digital images from the camera stream;
generating, utilizing the neural network, a temporally-aggregated feature map by combining the feature maps; and
generating, from the temporally-aggregated feature map, utilizing a decoder of the neural network, the target digital image with the undesired object removed.

### Claim 20 (depends on 19)

The system as recited in claim 19, wherein:
the neural network comprises a three-dimensional (3D) to two-dimensional (2D) generator; and
generating, utilizing the neural network, the temporally-aggregated feature map comprises utilizing a temporal fusion layer of the 3D to 2D generator to combine the features maps.
