# US 2022/0279191 A1 · Face-based frame packing for video calls

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

- Number: US 2022/0279191 A1
- Document ID: US20220279191A1
- Status: Published application
- Kind: A1
- Application number: 17/632,455
- Filed: 2019-10-31
- Published: 2022-09-01
- Earliest claimed: 2019-08-16
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Dillon COWER
- Web page: https://patentgrep.com/patent/US20220279191A1

## CPC

- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 21/23418: {involving operations for analysing video streams, e.g. detecting features or characteristics (television picture signal circuitry for scene change detection H04N5/147; filtering for image enhancement G06T5/00; methods or arrangements for recognising scenes G06V20/00; arrangements characterised by components specially adapted for monitoring, identification or recognition of video in broadcast systems H04H60/59)}
- 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)}
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06V 40/16: Human faces, e.g. facial parts, sketches or expressions
- H04N 7/147: {Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals (selecting H04Q)}
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 21/234345: {the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment}
- H04N 21/234363: {by altering the spatial resolution, e.g. for clients with a lower screen resolution}
- G06V 2201/10: Recognition assisted with metadata
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Implementations described herein relate to methods, systems, and computer-readable media to encode a video. A method includes capturing a video frame that includes a face of a person. The method further includes detecting a face in the video frame. The method further includes segmenting the video frame into a plurality of rectangles, the plurality of rectangles including a face rectangle with pixels corresponding to the face in the video frame. The method further includes packing the video frame based on the plurality of rectangles, wherein a greater number of pixels are allocated to the face rectangle as compared to other rectangles in the plurality of rectangles. The method further includes encoding the video frame with metadata describing the packing.

## Claims

### Claim 1

A method to encode video, the method comprising:
capturing a video frame that includes a face of a person;
detecting the face in the video frame;
segmenting the video frame into a plurality of rectangles, the plurality of rectangles including a face rectangle with pixels corresponding to the face;
packing the video frame based on the plurality of rectangles, wherein a greater number of pixels in the packed video frame are allocated to the face rectangle as compared to other rectangles of the plurality of rectangles; and
encoding the packed video frame, wherein the encoded video frame includes metadata descriptive of the packing.

### Claim 2 (depends on 1)

The method of claim 1, wherein the metadata includes a description of a center and a scale of the face rectangle.

### Claim 3 (depends on 1)

The method of claim 1, wherein the metadata describes a face transform center and a face transform x/y scale.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
after packing for the video frame, adding padding pixels around each of the plurality of rectangles.

### Claim 5 (depends on 1)

The method of claim 1, wherein packing the video frame includes using the video frame as a source texture.

### Claim 6 (depends on 1)

The method of claim 1, wherein the plurality of rectangles further includes at least one of a left-of-face rectangle, a right-of-face rectangle, an above-face rectangle, or a below-face rectangle.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
transmitting the encoded video frame to a receiver;
wherein the metadata is readable by the receiver to perform inverse packing to display the plurality of rectangles in corresponding positions on a display screen; and
wherein corresponding positions include at least one of a left-of-face position, a right-of-face position, an above-face position, or a below-face position.

### Claim 8 (depends on 1)

The method of claim 1, wherein the video frame is a first video frame and the method further comprises:
capturing a second video frame through an n−1 video frame; and
responsive to an amount of movement within each video frame of the second video frame through the n−1 video frame meeting a threshold amount of movement, performing face detection, packing, and encoding for the each video frame of the second video frame through the n−1 video frame.

### Claim 9 (depends on 1)

The method of claim 1, wherein detecting the face comprises performing red green blue (RGB) face tracking on the video frame.

### Claim 10 (depends on 1)

The method of claim 1, wherein the video frame is a first video frame and the method further comprises:
segmenting a subsequent frame that includes the face of the person;
generating a subsequent plurality of rectangles;
packing the subsequent frame based on the subsequent plurality of rectangles; and
encoding the subsequent video frame with the metadata describing the packing.

### Claim 11

A non-transitory computer-readable medium with instructions stored thereon that, when executed by one or more computers, cause the one or more computers to perform operations, the operations comprising:
capturing a video frame that includes a face of a person;
detecting the face in the video frame;
segmenting the video frame into a plurality of rectangles, the plurality of rectangles including a face rectangle with pixels corresponding to the face;
packing the video frame based on the plurality of rectangles, wherein a greater number of pixels in the packed video frame are allocated to the face rectangle as compared to other rectangles of the plurality of rectangles; and
encoding the packed video frame, wherein the encoded video frame includes metadata descriptive of the packing.

### Claim 12 (depends on 11)

The computer-readable medium of claim 11, wherein the metadata includes a description of a center and a scale of the face rectangle.

### Claim 13 (depends on 11)

The computer-readable medium of claim 11, wherein the metadata describes a face transform center and a face transform x/y scale.

### Claim 14 (depends on 11)

The computer-readable medium of claim 11, wherein the operations further comprise:
after packing for the video frame, adding padding pixels around each of the plurality of rectangles.

### Claim 15 (depends on 11)

The computer-readable medium of claim 11, wherein the plurality of rectangles further includes at least one of a left-of-face rectangle, a right-of-face rectangle, an above-face rectangle, or a below-face rectangle.

### Claim 16

A system comprising:
one or more processors; and
a memory that stores instructions that, when executed by the one or more processors cause the one or more processors to perform operations comprising:
capturing a video frame that includes a face of a person;
detecting the face in the video frame;
segmenting the video frame into a plurality of rectangles, the plurality of rectangles including a face rectangle with pixels corresponding to the face;
packing the video frame based on the plurality of rectangles, wherein a greater number of pixels in the packed video frame are allocated to the face rectangle as compared to other rectangles of the plurality of rectangles; and
encoding the packed video frame, wherein the encoded video frame includes metadata descriptive of the packing.

### Claim 17 (depends on 16)

The system of claim 16, wherein the metadata includes a description of a center and a scale of the face rectangle.

### Claim 18 (depends on 16)

The system of claim 16, wherein metadata describes a face transform center and a face transform x/y scale.

### Claim 19 (depends on 16)

The system of claim 16, wherein the operations further comprise:
after packing for the video frame, adding padding pixels around each of the plurality of rectangles.

### Claim 20 (depends on 16)

The system of claim 16, wherein the plurality of rectangles further includes at least one of a left-of-face rectangle, a right-of-face rectangle, an above-face rectangle, or a below-face rectangle.
