# US 2017/0286788 A1 · Liveness detection method, liveness detection system, and computer program product

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

- Number: US 2017/0286788 A1
- Document ID: US20170286788A1
- Status: Published application
- Kind: A1
- Application number: 15/411,036
- Filed: 2017-01-20
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Beijing Kuangshi Technology Co., Ltd.; Pinhole (Beijing) Technology Co., Ltd.
- Applicants: Beijing Kuangshi Technology Co., Ltd.; Pinhole (Beijing) Technology Co., Ltd.
- Inventors: Haoqiang FAN; Qi YIN
- Web page: https://patentgrep.com/patent/US20170286788A1

## CPC

- G06V 40/166: {using acquisition arrangements}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/141: Control of illumination
- G06V 10/431: {Frequency domain transformation; Autocorrelation}
- G06V 10/60: relating to illumination properties, e.g. using a reflectance or lighting model
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06V 40/172: {Classification, e.g. identification}
- G06V 40/45: {Detection of the body part being alive}
- G06V 2201/121: using special illumination
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The application provides a liveness detection method capable of implementing liveness detection, and a liveness detection system that employs the liveness detection method. The liveness detection method comprises: irradiating an object to be detected with structured light; obtaining first facial image data of the object to be detected under irradiation of the structured light; determining, based on the first facial image data, a detection parameter that indicates a sub-surface scattering intensity of the structured light on a face of the object to be detected; and determining, based on the detection parameter and a predetermined parameter threshold, whether the object to be detected is a living body.

## Claims

### Claim 1

A liveness detection method, comprising:
irradiating an object to be detected with structured light;
obtaining first facial image data of the object to be detected under irradiation of the structured light;
determining, based on the first facial image data, a detection parameter that indicates a sub-surface scattering intensity of the structured light on a face of the object to be detected; and
determining, based on the detection parameter and a predetermined parameter threshold, whether the object to be detected is a living body.

### Claim 2 (depends on 1)

The liveness detection method according to claim 1, further comprising:
prior to irradiating an object to be detected with structured light, continuously capturing a monitoring image of the object to be detected;
detecting, by a face detecting unit that is trained in advance, the monitoring image to obtain a monitoring result;
when the monitoring result indicates that there is a facial image in the monitoring image, turning on a structured light source to emit the structured light for irradiating the object to be detected.

### Claim 3 (depends on 1)

The liveness detection method according to claim 1, wherein the detection parameter is a ratio of a sum of gradient magnitudes of the first facial image data within a predetermined region to a total brightness value of the image within the predetermined region.

### Claim 4 (depends on 3)

The liveness detection method according to claim 3, further comprising:
determining a plurality of predetermined facial key points on the first facial image data by a facial key point detecting unit that is trained in advance, and determining the predetermined region according to the plurality of predetermined facial key points.

### Claim 5 (depends on 1)

The liveness detection method according to claim 1, wherein determining, based on the first facial image data, a detection parameter that indicates a sub-surface scattering intensity of the structured light on a face of the object to be detected comprises:
dividing the first facial image data into a plurality of sub-image regions;
performing Fourier transform on sub-image data of each sub-image region to obtain a sub-image Fourier transform coefficient of each sub-image region;
as for each sub-image region, calculating a ratio of a sum of squares of the sub-image Fourier transform coefficient within a predetermined frequency range to a square of a sub-image Fourier transform lowest frequency coefficient; and
calculating an average of the ratios in the plurality of sub-image regions as the detection parameter.

### Claim 6 (depends on 1)

The liveness detection method according to claim 1, wherein determining, based on the detection parameter and a predetermined parameter threshold, whether the object to be detected is a living body comprises:
if the detection parameter is larger than a first parameter threshold and smaller than a second parameter threshold, determining that the object to be detected passes the liveness detection;
otherwise, determining that the object to be detected fails the liveness detection.

### Claim 7

A liveness detection system, comprising:
a structured light source module for emitting structured light to irradiate an object to be detected;
an image data obtaining module for obtaining first facial image data of the object to be detected under irradiation of the structured light; and
a liveness detecting module for determining, based on the first facial image data, a detection parameter that indicates a sub-surface scattering intensity of the structured light on a face of the object to be detected, and determining, based on the detection parameter and a predetermined parameter threshold, whether the object to be detected is a living body.

### Claim 8 (depends on 7)

The liveness detection system according to claim 7, wherein prior to the structured light source module emits structured light to irradiate an object to be detected, the image data obtaining module continuously captures a monitoring image of the object to be detected;
the liveness detecting module detects, by a face detecting unit that is trained in advance, the monitoring image to obtain a monitoring result;
when the monitoring result indicates that there is a facial image in the monitoring image, the liveness detecting module turns on the structured light source module to emit the structured light for irradiating the object to be detected.

### Claim 9 (depends on 7)

The liveness detection system according to claim 7, wherein the detection parameter is a ratio of a sum of gradient magnitudes of the first facial image data within a predetermined region to a total brightness value of the image within the predetermined region.

### Claim 10 (depends on 9)

The liveness detection system according to claim 9, wherein the liveness detecting module determines, by a facial key point detecting unit that is trained in advance, a plurality of predetermined facial key points on the first facial image data, and determines the predetermined region according to the plurality of predetermined facial key points.

### Claim 11 (depends on 7)

The liveness detection system according to claim 7, wherein the liveness detecting module divides the first facial image data into a plurality of sub-image regions; performs Fourier transform on sub-image data of each sub-image region to obtain a sub-image Fourier transform coefficient of each sub-image region; as for each sub-image region, calculates a ratio of a sum of squares of the sub-image Fourier transform coefficient within a predetermined frequency range to a square of a sub-image Fourier transform lowest frequency coefficient; and calculates an average of the ratios in the plurality of sub-image regions as the detection parameter.

### Claim 12 (depends on 7)

The liveness detection system according to claim 7, wherein if the detection parameter is larger than a first parameter threshold and smaller than a second parameter threshold, the liveness detecting module determines that the object to be detected passes the liveness detection;
otherwise, the liveness detecting module determines that the object to be detected fails the liveness detection.

### Claim 13

A liveness detection device, comprising:
a processor;
a memory; and
computer program instructions stored in the memory and when run by the processor, configured to cause the liveness detection device to perform a liveness detection method comprising the following steps:
irradiating an object to be detected with structured light;
obtaining first facial image data of the object to be detected under irradiation of the structured light;
determining, based on the first facial image data, a detection parameter that indicates a sub-surface scattering intensity of the structured light on a face of the object to be detected; and
determining, based on the detection parameter and a predetermined parameter threshold, whether the object to be detected is a living body.

### Claim 14 (depends on 13)

The liveness detection device as claimed in claim 13, wherein when the computer program instructions are run by the processor, the liveness detection device is caused to perform the step of:
prior to irradiating an object to be detected with structured light, continuously capturing a monitoring image of the object to be detected;
detecting, by a face detecting unit that is trained in advance, the monitoring image to obtain a monitoring result;
when the monitoring result indicates that there is a facial image in the monitoring image, turning on a structured light source to emit the structured light for irradiating the object to be detected.

### Claim 15 (depends on 13)

The liveness detection device as claimed in claim 13, wherein the detection parameter is a ratio of a sum of gradient magnitudes of the first facial image data within a predetermined region to a total brightness value of the image within the predetermined region.

### Claim 16 (depends on 15)

The liveness detection device as claimed in claim 15, wherein when the computer program instructions are run by the processor, the liveness detection device is caused to perform the step of:
determining a plurality of predetermined facial key points on the first facial image data by a facial key point detecting unit that is trained in advance and determining the predetermined region according to the plurality of predetermined facial key points.

### Claim 17 (depends on 13)

The liveness detection device according to claim 13, wherein the step of determining, based on the first facial image data, a detection parameter that indicates a sub-surface scattering intensity of the structured light on a face of the object to be detected performed by the liveness detection device caused by the computer program instructions run by the processor comprises:
dividing the first facial image data into a plurality of sub-image regions;
performing Fourier transform on sub-image data of each sub-image region to obtain a sub-image Fourier transform coefficient of each sub-image region;
as for each sub-image region, calculating a ratio of a sum of squares the sub-image Fourier transform coefficient within a predetermined frequency range to a square of a sub-image Fourier transform lowest frequency coefficient; and
calculating an average of the ratios in the plurality of sub-image regions as the detection parameter.

### Claim 18 (depends on 13)

The liveness detection device according to claim 13, wherein the step of determining, based on the detection parameter and a predetermined parameter threshold, whether the object to be detected is a living body performed by the liveness detection device caused by the computer program instructions run by the processor comprises:
if the detection parameter is larger than a first parameter threshold and smaller than a second parameter threshold, determining that the object to be detected passes the liveness detection;
otherwise, determining that the object to be detected fails the liveness detection.
