# US 2022/0292291 A1 · Attention Masks in Neural Network Video Processing

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

- Number: US 2022/0292291 A1
- Document ID: US20220292291A1
- Status: Published application
- Kind: A1
- Application number: 17/197,908
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: David Berman; Toshiki Hirano
- Web page: https://patentgrep.com/patent/US20220292291A1

## CPC

- G06T 7/10: Segmentation; Edge detection (motion-based segmentation G06T7/215)
- G06V 10/82: using neural networks
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 18/285: {Selection of pattern recognition techniques, e.g. of classifiers in a multi-classifier system}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06V 10/22: by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V 10/28: Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/50: by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
- G06V 10/95: {structured as a network, e.g. client-server architectures}
- G06V 20/40: in video content (extracting overlay text G06V20/62; video retrieval G06F16/70; processing of video elementary streams in video servers H04N21/234; processing of video elementary streams in video clients H04N21/44)
- 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)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A device configured for more efficiently processing video images within a set of video image data to detect objects is described herein. The device may include a processor configured to execute a neural network such as a convolutional neural network. The device can receive video image data from a plurality of cameras, such as stationary cameras. The device can acquire a set of sample images from a stationary camera and submit them to a specialized neural network for processing to generate an attention mask. The attention mask can be generated from a variety of methods and is applied to each of the subsequently acquired images form the camera to narrow down areas where the convolutional neural network should process data. The application of attention masks to images within video image data creates masked images that can be processed to detect objects with much greater accuracy and fewer computational resources required.

## Claims

### Claim 1

A device comprising:
a processor configured to process video images for object detection by executing a convolutional neural network, the processor being further configured to:
receive video image data comprising a series of images for processing ; and
use a pre-generated attention mask configured to indicate when processing should occur within the series of images, wherein the video image data is pre-processed with the pre-generated attention mask to generate a masked image by applying the attention mask to the video image data; and
wherein the neural network is configured to:
process the series of pre-processed masked images within areas indicated by the attention mask; and
generate an output for the series of pre-processed masked images, the output corresponding to the detection of one or more pre-determined objects within the masked images.

### Claim 2 (depends on 1)

The device of claim 1, wherein the attention mask is generated based on a training set of video image data.

### Claim 3 (depends on 2)

The device of claim 2, wherein the training data set of video image data is processed by a convolutional neural network specialized to output detected object data.

### Claim 4 (depends on 3)

The device of claim 3, wherein the detected object data output is a bounding box of the detected object.

### Claim 5 (depends on 3)

The device of claim 3, wherein the detected object data output is a pixel-level segmentation of the detected object.

### Claim 6 (depends on 3)

The device of claim 3, wherein the specialized convolutional neural network further outputs semantic region segmentation data.

### Claim 7 (depends on 3)

The device of claim 3, wherein the detected object data output is utilized to update histogram data relating to the location of the detected objects.

### Claim 8 (depends on 7)

The device of claim 7, wherein the histogram data is utilized to generate an attention mask for applying to subsequent video image data.

### Claim 9 (depends on 8)

The device of claim 8, wherein the histogram data is a two-dimensional histogram corresponding to the dimensions of the images within the video image data.

### Claim 10 (depends on 9)

The device of claim 9, wherein the histogram data is utilized to generate a binary output for each pixel within the images within the video image data.

### Claim 11 (depends on 10)

The device of claim 10, wherein the binary output values are generated in relation to a pre-determined threshold value.

### Claim 12 (depends on 11)

The device of claim 11, wherein the pre-determined threshold value may be dynamically changed based on a semantic segmentation region generated from the specialized convolutional neural network output.

### Claim 13 (depends on 1)

The device of claim 1, wherein the generation of the attention mask is performed within an external training server communicatively coupled to the device.

### Claim 14 (depends on 1)

The device of claim 1, wherein the received video image data is acquired from a stationary camera, and in response to the movement of the stationary camera, a request for a new attention mask is generated.

### Claim 15 (depends on 1)

The device of claim 1, wherein in response to a pre-determined time threshold being exceeded, the device requests the generation of a new attention mask.

### Claim 16 (depends on 1)

The device of claim 1, wherein the detection of one or more pre-determined objects within the masked images within the video image data generates a notification that further analysis is required.

### Claim 17

A method of detecting pre-determined objects within video images, comprising:
configuring a neural network to receive a series of images for object detection;
receiving a sample set of images as video image data;
transferring the received sample set of images to a server configured to generate attention masks;
receiving a generated attention mask configured for use with the series of images received from the stationary camera;
applying the attention mask to the series of images within the video image data received from the stationary camera to generate a series of masked images; and
processing the masked images within the neural network to generate an output indicating the presence of one or more pre-determined objects.

### Claim 18 (depends on 17)

The method of claim 17, wherein the server is a training server, and wherein the transferring to the training server also includes the transmission of configuration data.

### Claim 19 (depends on 18)

The method of claim 18, wherein the configuration data includes threshold value derivation parameters.

### Claim 20 (depends on 17)

The method of claim 17, wherein the training server is selected based on the type of object selected for detection.

### Claim 21

A device comprising:
a processor configured to process and detect objects within video images, by executing a neural network and further comprising:
a series of video image data for processing;
a pre-generated attention mask wherein an image tensor of the video image data is pre-processed with the pre-generated attention mask to generate a masked image; and
wherein the neural network is configured to process the series of pre-processed masked images and generate an output for the series of masked images, the output corresponding to the detection of one or more objects within the image datas.
