# US 2023/0068798 A1 · Active speaker detection using image data

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

- Number: US 2023/0068798 A1
- Document ID: US20230068798A1
- Status: Published application
- Kind: A1
- Application number: 17/465,143
- Filed: 2021-09-02
- Published: 2023-03-02
- Earliest claimed: 2021-09-02
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Tyler Jerel Etchart; Vivek Yadav; Pradeep Natarajan
- Web page: https://patentgrep.com/patent/US20230068798A1

## CPC

- G06T 7/50: Depth or shape recovery
- G10L 15/25: using position of the lips, movement of the lips or face analysis
- G06T 7/251: {involving models}
- G06T 7/277: involving stochastic approaches, e.g. using Kalman filters
- G06T 7/73: using feature-based methods
- G06T 7/74: {involving reference images or patches}
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/46: Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features (colour feature extraction G06V10/56)
- G06V 10/82: using neural networks
- G06V 20/64: Three-dimensional [3D] objects
- G06V 40/165: {using facial parts and geometric relationships}
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06V 40/174: {Facial expression recognition}
- G06V 40/19: Sensors therefor
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 25/78: Detection of presence or absence of voice signals (switching of direction of transmission by voice frequency in two-way loud-speaking telephone systems H04M9/10)
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20016: Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/20132: Image cropping
- G06T 2207/30201: Face
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A system can operate a speech-controlled device to perform active speaker detection to detect an utterance using image data showing a user speaking the utterance. This enables the device to perform utterance detection using the image data and/or determine which user is speaking the utterance. To perform active speaker detection, the device processes the image data to determine expression parameters associated with the user's face and generates facial measurements based on the expression parameters. For example, the device can use the expression parameters to generate a 3D model including an agnostic facial representation and determine a mouth aspect ratio by measuring a mouth height and a mouth width of the agnostic facial representation. As the mouth aspect ratio changes when the user is speaking, the device can determine that the user is speaking and/or detect an utterance based on an amount of variation of the mouth aspect ratio.

## Claims

### Claim 1

A computer-implemented method, the method comprising:
receiving first image data;
determining that a first face is represented in a first portion of the first image data;
inputting the first portion of the first image data to a trained model to determine first data representing at least one first parameter corresponding to a first facial expression;
using the first data to generate second data including a first agnostic facial representation having the first facial expression, the first agnostic facial representation having uniform identity and uniform pose;
using the second data to determine third data representing a first width of a first mouth in the first agnostic facial representation;
using the second data to determine fourth data representing a first height of the first mouth;
using the third data and the fourth data to determine a portion of fifth data representing a first ratio between the first height of the first mouth and the first width of the first mouth, the fifth data representing a first series of ratio values;
determining a first standard deviation value using the first series of ratio values represented in the fifth data;
determining that the first standard deviation value exceeds a threshold value; and
in response to determining that the first standard deviation value exceeds the threshold value, determining that a user associated with the first face is speaking.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining that the user is speaking further comprises detecting a beginning of an utterance during a first time interval, the method further comprising:
generating audio data representing the utterance, a beginning of the audio data occurring within the first time interval;
causing speech processing to be performed to the audio data; and
in response to the speech processing, causing an action to be performed corresponding to the utterance.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
detecting an utterance;
determining a first time interval extending from a beginning of the utterance to an ending of the utterance;
determining that a second face is represented in a second portion of the first image data;
determining a portion of sixth data representing a second ratio between a second height of a second mouth in a second agnostic facial representation corresponding to the second face and a second width of the second mouth, the sixth data representing a second series of ratio values;
determining a second standard deviation value using the second series of ratio values represented in the sixth data;
determining a first portion of seventh data indicating that the first standard deviation value is greater than the second standard deviation value; and
using the seventh data to determine that the first face is more likely to be speaking than the second face during the first time interval.

### Claim 4

A computer-implemented method, the method comprising:
receiving first image data;
determining that a first face is represented in the first image data;
processing the first image data to determine first data representing at least one first parameter corresponding to a first facial expression;
using the first data to generate second data that includes a portion of a first agnostic facial representation representing a first mouth;
using the second data to determine a portion of third data representing a first ratio value between a first mouth height of the first mouth and a first mouth width of the first mouth, the third data including a first plurality of ratio values;
determining fourth data representing a first amount of variation in the first plurality of ratio values; and
using the fourth data to determine that the first face is speaking.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein
determining the fourth data further comprises determining a standard deviation value associated with the first plurality of ratio values, and using the fourth data to determine that the first face is speaking further comprises:
determining that the standard deviation value satisfies a threshold; and
in response to determining that the standard deviation value satisfies the threshold, determining that a user associated with the first face is speaking.

### Claim 6 (depends on 4)

The computer-implemented method of claim 4, wherein using the second data to determine the portion of the third data further comprises:
using the second data to determine first coordinate values corresponding to a top lip of the first mouth;
using the second data to determine second coordinate values corresponding to a bottom lip of the first mouth;
using the first coordinate values and the second coordinate values to determine the first mouth height;
using the second data to determine third coordinate values corresponding to a first intersection between the top lip and the bottom lip in the first agnostic facial representation;
using the second data to determine fourth coordinate values corresponding to a second intersection between the top lip and the bottom lip in the first agnostic facial representation;
using the third coordinate values and the fourth coordinate values to determine the first mouth width; and
determining the portion of the third data by determining the first ratio value between the first mouth height and the first mouth width.

### Claim 7 (depends on 4)

The computer-implemented method of claim 4, wherein using the fourth data to determine that the first face is speaking further comprises using the fourth data to detect a beginning of an utterance during a first time interval, the method further comprising:
generating first audio data representing the utterance, a beginning of the first audio data corresponding to the first time interval;
causing speech processing to be performed on the first audio data; and
in response to the speech processing, causing an action to be performed corresponding to the utterance.

### Claim 8 (depends on 4)

The computer-implemented method of claim 4, further comprising:
determining that a second face is represented in the first image data;
processing the first image data to determine fifth data representing at least one second parameter corresponding to a second facial expression;
using the fifth data to generate sixth data that includes a portion of a second agnostic facial representation representing a second mouth;
using the sixth data to determine a portion of seventh data representing a second ratio value between a second mouth height of the second mouth and a second mouth width of the second mouth, the seventh data including a second plurality of ratio values; and
determining eighth data representing a second amount of variation in the second plurality of ratio values,
wherein using the fourth data to determine that the first face is speaking further comprises:
determining that the first amount of variation is greater than the second amount of variation; and
determining that the first face is speaking.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising:
generating audio data;
detecting an utterance represented in the audio data; and
determining a first time interval extending from a beginning of the utterance to an ending of the utterance,
wherein using the fourth data to determine that the first face is speaking further comprises:
using the fourth data and the eighth data to determine that the first face is more likely to be speaking than the second face during the first time interval; and
determining that the first face is speaking.

### Claim 10 (depends on 4)

The computer-implemented method of claim 4, further comprising:
receiving second image data following the first image data, the second image data corresponding to a first time interval;
determining that the first face is represented in the second image data;
processing the second image data to determine fifth data representing at least one second parameter corresponding to a second facial expression;
using the fifth data to generate sixth data that includes a portion of a second agnostic facial representation representing a second mouth;
using the sixth data to determine a portion of seventh data representing a second ratio value between a second mouth height of the second mouth and a second mouth width of the second mouth, the seventh data including a second plurality of ratio values;
determining eighth data representing a second amount of variation in the second plurality of ratio values; and
using the eighth data to determine that the first face is not speaking during the first time interval.

### Claim 11 (depends on 4)

The computer-implemented method of claim 4, further comprising:
determining that a second face is represented in the first image data;
processing the first image data to determine fifth data representing at least one second parameter corresponding to a second facial expression;
using the fifth data to generate sixth data that includes a portion of a second agnostic racial representation representing a second mouth;
using the sixth data to determine seventh data representing a second ratio value between a second mouth height of the second mouth and a second mouth width of the second mouth, the seventh data including a second plurality of ratio values;
determining eighth data representing a second amount of variation in the second plurality of ratio values; and
using the eighth data to determine that the second face is not speaking.

### Claim 12 (depends on 4)

The computer-implemented method of claim 4, further comprising:
detecting an utterance;
determining a first time interval extending from a beginning of the utterance to an ending of the utterance;
determining that a second face is represented in the first image data;
determining a portion of fifth data representing a second ratio value between a second height of a second mouth in a second agnostic facial representation corresponding to the second face and a second width of the second mouth, the fifth data representing a second series of ratio values;
determining a second standard deviation value using the second series of ratio values represented in the fifth data;
determining a first portion of sixth data indicating that the first standard deviation value is greater than the second standard deviation value; and
using the fourth data and the sixth data to determine that the first face is more likely to be speaking than the second face during the first time interval.

### Claim 13

A system comprising:
at least one processor; and
memory including instructions operable to be executed by the at least one processor to cause the system to:
receive first image data;
determine that a first face is represented in the first image data;
process the first image data to determine first data representing at least one first parameter corresponding to a first facial expression;
use the first data to generate second data that includes a portion of a first agnostic facial representation representing a first mouth;
use the second data to determine a portion of third data representing a first ratio value between a first mouth height of the first mouth and a first mouth width of the first mouth, the third data including a first plurality of ratio values;
determine fourth data representing a first amount of variation in the first plurality of ratio values; and
use the fourth data to determine that the first face is speaking.

### Claim 14 (depends on 13)

The system of claim 13, wherein the memory further comprises instructions that, when executed by the at least one processor, further cause the system to:
determine a standard deviation value associated with the first plurality of ratio values;
determine that the standard deviation value satisfies a threshold; and
in response to determining that the standard deviation value satisfies the threshold, determine that a user associated with the first face is speaking.

### Claim 15 (depends on 13)

The system of claim 13, wherein the memory further comprises instructions that, when executed by the at least one processor, further cause the system to:
use the second data to determine first coordinate values corresponding to a top lip of the first mouth;
use the second data to determine second coordinate values corresponding to a bottom lip of the first mouth;
use the first coordinate values and the second coordinate values to determine the first mouth height;
use the second data to determine third coordinate values corresponding to a first intersection between the top lip and the bottom lip in the first agnostic facial representation;
use the second data to determine fourth coordinate values corresponding to a second intersection between the top lip and the bottom lip in the first agnostic facial representation;
use the third coordinate values and the fourth coordinate values to determine the first mouth width; and
determine the portion of the third data by determining the first ratio value between the first mouth height and the first mouth width.

### Claim 16 (depends on 13)

The system of claim 13, wherein the memory further comprises instructions that, when executed by the at least one processor, further cause the system to:
use the fourth data to detect a beginning of an utterance during a first time interval;
generate first audio data representing the utterance, a beginning of the first audio data corresponding to the first time interval;
cause speech processing to be performed on the first audio data; and
in response to the speech processing, cause an action to be performed corresponding to the utterance.

### Claim 17 (depends on 13)

The system of claim 13, wherein the memory further comprises instructions that, when executed by the at least one processor, further cause the system to:
determine that a second face is represented in the first image data;
process the first image data to determine fifth data representing at least one second parameter corresponding to a second facial expression;
use the fifth data to generate sixth data that includes a portion of a second agnostic facial representation representing a second mouth;
use the sixth data to determine a portion of seventh data representing a second ratio value between a second mouth height of the second mouth and a second mouth width of the second mouth, the seventh data including a second plurality of ratio values;
determine eighth data representing a second amount of variation in the second plurality of ratio values;
determine that the first amount of variation is greater than the second amount of variation; and
determine that the first face is speaking.

### Claim 18 (depends on 17)

The system of claim 17, wherein the memory further comprises instructions that, when executed by the at least one processor, further cause the system to:
generate audio data;
detect an utterance represented in the audio data;
determine a first time interval extending from a beginning of the utterance to an ending of the utterance;
using the fourth data and the eighth data to determine that the first face is more likely to be speaking than the second face during the first time interval; and
determining that the first face is speaking.

### Claim 19 (depends on 13)

The system of claim 13, wherein the memory further comprises instructions that, when executed by the at least one processor, further cause the system to:
receive second image data following the first image data, the second image data corresponding to a first time interval;
determine that the first face is represented in the second image data;
process the second image data to determine fifth data representing at least one second parameter corresponding to a second facial expression;
use the fifth data to generate sixth data that includes a portion of a second agnostic facial representation representing a second mouth;
use the sixth data to determine a portion of seventh data representing a second ratio value between a second mouth height of the second mouth and a second mouth width of the second mouth, the seventh data including a second plurality of ratio values;
determine eighth data representing a second amount of variation in the second plurality of ratio values; and
use the eighth data to determine that the first face is not speaking during the first time interval.

### Claim 20 (depends on 13)

The system of claim 13, wherein the memory further comprises instructions that, when executed by the at least one processor, further cause the system to:
determine that a second face is represented in the first image data;
process the first image data to determine fifth data representing at least one second parameter corresponding to a second facial expression;
use the fifth data to generate sixth data that includes a portion of a second agnostic racial representation representing a second mouth;
use the sixth data to determine seventh data representing a second ratio value between a second mouth height of the second mouth and a second mouth width of the second mouth, the seventh data including a second plurality of ratio values;
determine eighth data representing a second amount of variation in the second plurality of ratio values; and
use the eighth data to determine that the second face is not speaking.
