# US 10,956,719 B2 · Depth image based face anti-spoofing

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

- Number: US 10,956,719 B2
- Document ID: US10956719B2
- Status: Granted
- Kind: B2
- Application number: 16/206,832
- Filed: 2018-11-30
- Published: 2020-06-04
- Granted: 2021-03-23
- Earliest claimed: 2018-11-30
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Ke-Li Cheng; Kuang-Man Huang; Michel Adib Sarkis; Yingyong Qi; Ning Bi
- Web page: https://patentgrep.com/patent/US10956719B2

## CPC

- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- G06T 7/50: Depth or shape recovery
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- 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 20/64: Three-dimensional [3D] objects
- G06V 40/161: {Detection; Localisation; Normalisation}
- G06V 40/172: {Classification, e.g. identification}
- G06V 40/40: Spoof detection, e.g. liveness detection
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods, systems, and devices for image processing are described. The method may include identifying a face in a first image based on identifying one or more biometric features of the face, determining an angular direction of one or more pixels of the identified face, identifying an anchor point on the identified face, sorting each of one or more pixels of the identified face into one of a set of pixel bins based on a combination of the determined angular direction of the pixel and a distance between the pixel and the identified anchor point, and outputting an indication of authenticity associated with the face based on a number of pixels in each bin.

## Claims

### Claim 1

A method for image processing at a device, comprising:
capturing, via a 3D depth camera, a first image;
identifying a face in the first image based at least in part on identifying one or more biometric features of the face;
determining an angular direction of one or more pixels of the identified face;
identifying an anchor point on the identified face;
augmenting a database of face image samples by making at least one copy of the first image, adjusting one or more aspects of the face in the at least one copy of the first image, and adding the adjusted copy of the first image to the database;
sorting each of one or more pixels of the identified face into one of a plurality of pixel bins based at least in part on a combination of the determined angular direction of the pixel and a distance between the pixel and the identified anchor point; and
outputting an indication of authenticity associated with the face based at least in part on a number of pixels in each bin.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining an angular position of the identified face in a three dimensional space, the first image comprising three dimensional image data; and
moving the face in the three dimensional space until the anchor point is pointed in a predetermined direction in the three dimensional space.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
determining a depth of the face in the three dimensional space is not at a predetermined depth; and
adjusting the depth of the face in the three dimensional space to be at the predetermined depth.

### Claim 4 (depends on 1)

The method of claim 1, adjusting one or more aspects of the face in the at least one copy comprising:
moving the face in the at least one copy in three-dimensional space a predetermined distance away from or toward a point of view of the 3D depth camera that captured the first image.

### Claim 5 (depends on 1)

The method of claim 1, adjusting one or more aspects of the face in the at least one copy comprising:
adding a predetermined amount of Gaussian noise to at least one pixel of the face in the at least one copy.

### Claim 6 (depends on 1)

The method of claim 1, adjusting one or more aspects of the face in the at least one copy comprising:
generating one or more patches, each patch comprising at least one black pixel; and
placing at least one of the one or more patches randomly or in a predetermined location over a portion of the face in the at least one copy.

### Claim 7 (depends on 1)

The method of claim 1, adjusting one or more aspects of the face in the at least one copy comprising:
making the at least one copy of the first image and adjusting the one or more aspects of the face in the at least one copy of the first image when the face in the first image is determined to be an unauthentic face.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
training a machine learning model to determine whether the first image is an image of an unauthentic face or an image of an authentic face.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving a second image of a face in three dimensional space;
analyzing the second image by feeding the second image into the machine learning model; and
determining whether the face in the second image is an authentic face or an unauthentic face based at least in part on the training of the machine learning model.

### Claim 10 (depends on 1)

The method of claim 1, wherein the anchor point includes an identified feature of the face in the image, the feature including at least one of a nose, an eye, an eyebrow, a lip, a chin, a cheek, an ear, a forehead, or any combination thereof.

### Claim 11

A method for image processing, comprising:
capturing, via a 3D depth camera, a depth image;
selecting an anchor point on a three-dimensional image of a face in the captured depth image;
rotating the anchor point to align in a predetermined direction in three-dimensional space;
generating on a two-dimensional plane a grid of vertices with a set resolution between each vertex;
orthogonally projecting each 3D point of the three-dimensional image of the face onto the two-dimensional plane, each vertex being located within a triangle formed by the 3D points;
augmenting a database of face image samples by making at least one copy of the first image, adjusting one or more aspects of the face in the at least one copy of the first image, and adding the adjusted copy of the first image to the database; and
interpolating a depth value for each vertex of the grid based at least in part on computing one or more barycentric coordinates from each triangle enclosing a vertex from the grid of vertices.

### Claim 12

An apparatus for image processing at a device, comprising:
a processor,
memory in electronic communication with the processor; and
instructions stored in the memory and executable by the processor to cause the apparatus to:
capturing, via a 3D depth camera, a first image;
identify a face in the first image based at least in part on identifying one or more biometric features of the face;
determine an angular direction of one or more pixels of the identified face;
identify an anchor point on the identified face;
augment a database of face image samples by making at least one copy of the first image, adjusting one or more aspects of the face in the at least one copy of the first image, and adding the adjusted copy of the first image to the database;
sort each of one or more pixels of the identified face into one of a plurality of pixel bins based at least in part on a combination of the determined angular direction of the pixel and a distance between the pixel and the identified anchor point; and
output an indication of authenticity associated with the face based at least in part on a number of pixels in each bin.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
determine an angular position of the identified face in a three dimensional space, the first image comprising three dimensional image data; and
move the face in the three dimensional space until the anchor point is pointed in a predetermined direction in the three dimensional space.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the instructions are further executable by the processor to cause the apparatus to:
determine a depth of the face in the three dimensional space is not at a predetermined depth; and
adjust the depth of the face in the three dimensional space to be at the predetermined depth.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
move the face in the at least one copy in three-dimensional space a predetermined distance away from or toward a point of view of the 3D depth camera that captured the first image.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
add a predetermined amount of Gaussian noise to at least one pixel of the face in the at least one copy.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
generate one or more patches, each patch comprising at least one black pixel; and
place at least one of the one or more patches randomly or in a predetermined location over a portion of the face in the at least one copy.

### Claim 18 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
make the at least one copy of the first image and adjusting the one or more aspects of the face in the at least one copy of the first image when the face in the first image is determined to be an unauthentic face.
