# US 2022/0044491 A1 · Three-dimensional face model generation method and apparatus, device, and medium

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

- Number: US 2022/0044491 A1
- Document ID: US20220044491A1
- Status: Published application
- Kind: A1
- Application number: 17/508,679
- Filed: 2021-10-22
- Published: 2022-02-10
- Earliest claimed: 2019-12-16
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Xiangkai LIN; Linchao BAO
- Web page: https://patentgrep.com/patent/US20220044491A1

## CPC

- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06T 7/149: involving deformable models, e.g. active contour models
- G06T 7/30: Determination of transform parameters for the alignment of images, i.e. image registration
- G06T 7/33: using feature-based methods
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/30201: Face
- G06T 2219/2004: Aligning objects, relative positioning of parts
- G06T 2219/2021: Shape modification
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A three-dimensional face model generation method is provided. The method includes: obtaining an inputted three-dimensional face mesh of a target object; aligning the three-dimensional face mesh with a first three-dimensional face model of a standard object according to face keypoints; performing fitting on the three-dimensional face mesh and a local area of the first three-dimensional face model, to obtain a second three-dimensional face model after local fitting; and performing fitting on the three-dimensional face mesh and a global area of the second three-dimensional face model, to obtain a three-dimensional face model of the target object after global fitting.

## Claims

### Claim 1

A three-dimensional face model generation method, applied to a computing device, the method comprising:
obtaining a three-dimensional face mesh of a target object;
aligning the three-dimensional face mesh with a first three-dimensional face model of a standard object according to face keypoints;
performing fitting on the three-dimensional face mesh and a local area of the first three-dimensional face model, to obtain a second three-dimensional face model after local fitting; and
performing fitting on the three-dimensional face mesh and a global area of the second three-dimensional face model, to obtain a three-dimensional face model of the target object after global fitting.

### Claim 2 (depends on 1)

The method according to claim 1, wherein performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model comprises:
performing registration on the three-dimensional face mesh and the local area of the first three-dimensional face model, to obtain a first correspondence between the local area and the three-dimensional face mesh; and
performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model according to the first correspondence, to obtain the second three-dimensional face model after local fitting.

### Claim 3 (depends on 2)

The method according to claim 2, wherein performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model comprises:
performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model according to the first correspondence, to calculate a first posture parameter of the second three-dimensional face model;
adjusting a shape base coefficient of the first three-dimensional face model according to the first posture parameter, to obtain a shape base coefficient of the second three-dimensional face model;
adjusting an expression base coefficient of the first three-dimensional face model according to the first posture parameter, to obtain an expression base coefficient of the second three-dimensional face model; and
obtaining, according to the first posture parameter, the shape base coefficient, and the expression base coefficient, the second three-dimensional face model after local fitting.

### Claim 4 (depends on 1)

The method according to claim 1, wherein performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model comprises:
performing registration on the three-dimensional face mesh and the global area of the second three-dimensional face model, to obtain a second correspondence between the global area and the three-dimensional face mesh; and
performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model according to the second correspondence, to obtain the three-dimensional face model of the target object after global fitting.

### Claim 5 (depends on 4)

The method according to claim 4, wherein performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model comprises:
performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model according to the second correspondence, to calculate a second posture parameter of the three-dimensional face model of the target object after global fitting;
adjusting a shape base coefficient of the second three-dimensional face model according to the second posture parameter, to obtain a shape base coefficient of the three-dimensional face model of the target object after global fitting;
adjusting an expression base coefficient of the second three-dimensional face model according to the second posture parameter, to obtain an expression base coefficient of the three-dimensional face model of the target object after global fitting; and
obtaining, according to the second posture parameter, the shape base coefficient, and the expression base coefficient, the three-dimensional face model of the target object after global fitting.

### Claim 6 (depends on 4)

The method according to claim 4, further comprising:
obtaining a flaw of the second three-dimensional face model, wherein the flaw corresponds to an outlier of the first three-dimensional face model, and the outlier is a point that does not belong to the local area of the first three-dimensional face model; and
filtering out the flaw from the second three-dimensional face model, to obtain a second three-dimensional face model that is flawless.

### Claim 7 (depends on 6)

The method according to claim 6, wherein obtaining the flaw of the second three-dimensional face model comprises:
comparing a norm corresponding to the global area of the second three-dimensional face model with a norm corresponding to the second three-dimensional face model after local fitting, to obtain a norm difference; and
determining the flaw of the second three-dimensional face model according to the norm difference.

### Claim 8 (depends on 1)

The method according to claim 1, further comprising:
obtaining a shape base coefficient and an expression base coefficient of the three-dimensional face model of the target object after global fitting; and
generating a three-dimensional expression base of the target object according to the shape base coefficient and the expression base coefficient.

### Claim 9

A three-dimensional face model generation apparatus, the apparatus comprising: a memory storing computer program instructions; and a processor coupled to the memory and configured to execute the computer program instructions and perform:
obtaining a three-dimensional face mesh of a target object;
aligning the three-dimensional face mesh with a first three-dimensional face model of a standard object according to face keypoints; and
performing fitting on the three-dimensional face mesh and a local area of the first three-dimensional face model, to obtain a second three-dimensional face model after local fitting; and
performing fitting on the three-dimensional face mesh and a global area of the second three-dimensional face model, to obtain a three-dimensional face model of the target object after global fitting.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model includes:
performing registration on the three-dimensional face mesh and the local area of the first three-dimensional face model, to obtain a first correspondence between the local area and the three-dimensional face mesh; and
performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model according to the first correspondence, to obtain the second three-dimensional face model after local fitting.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model includes:
performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model according to the first correspondence, to calculate a first posture parameter of the second three-dimensional face model;
adjusting a shape base coefficient of the first three-dimensional face model according to the first posture parameter, to obtain a shape base coefficient of the second three-dimensional face model;
adjusting an expression base coefficient of the first three-dimensional face model according to the first posture parameter, to obtain an expression base coefficient of the second three-dimensional face model; and
obtaining, according to the first posture parameter, the shape base coefficient, and the expression base coefficient, the second three-dimensional face model after local fitting.

### Claim 12 (depends on 9)

The apparatus according to claim 9, wherein performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model includes:
performing registration on the three-dimensional face mesh and the global area of the second three-dimensional face model, to obtain a second correspondence between the global area and the three-dimensional face mesh; and
performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model according to the second correspondence, to obtain the three-dimensional face model of the target object after global fitting.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model includes:
performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model according to the second correspondence, to calculate a second posture parameter of the three-dimensional face model of the target object after global fitting;
adjusting a shape base coefficient of the second three-dimensional face model according to the second posture parameter, to obtain a shape base coefficient of the three-dimensional face model of the target object after global fitting;
adjusting an expression base coefficient of the second three-dimensional face model according to the second posture parameter, to obtain an expression base coefficient of the three-dimensional face model of the target object after global fitting; and
obtaining, according to the second posture parameter, the shape base coefficient, and the expression base coefficient, the three-dimensional face model of the target object after global fitting.

### Claim 14 (depends on 12)

The apparatus according to claim 12, wherein the processor is further configured to perform:
obtaining a flaw of the second three-dimensional face model, wherein the flaw corresponds to an outlier of the first three-dimensional face model, and the outlier is a point that does not belong to the local area of the first three-dimensional face model; and
filtering out the flaw from the second three-dimensional face model, to obtain a second three-dimensional face model that is flawless.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein obtaining the flaw of the second three-dimensional face model includes:
comparing a norm corresponding to the global area of the second three-dimensional face model with a norm corresponding to the second three-dimensional face model after local fitting, to obtain a norm difference; and
determining the flaw of the second three-dimensional face model according to the norm difference.

### Claim 16 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to perform:
obtaining a shape base coefficient and an expression base coefficient of the three-dimensional face model of the target object after global fitting; and
generating a three-dimensional expression base of the target object according to the shape base coefficient and the expression base coefficient.

### Claim 17

A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform:
obtaining a three-dimensional face mesh of a target object;
aligning the three-dimensional face mesh with a first three-dimensional face model of a standard object according to face keypoints;
performing fitting on the three-dimensional face mesh and a local area of the first three-dimensional face model, to obtain a second three-dimensional face model after local fitting; and
performing fitting on the three-dimensional face mesh and a global area of the second three-dimensional face model, to obtain a three-dimensional face model of the target object after global fitting.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model includes:
performing registration on the three-dimensional face mesh and the local area of the first three-dimensional face model, to obtain a first correspondence between the local area and the three-dimensional face mesh; and
performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model according to the first correspondence, to obtain the second three-dimensional face model after local fitting.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model includes:
performing fitting on the three-dimensional face mesh and the local area of the first three-dimensional face model according to the first correspondence, to calculate a first posture parameter of the second three-dimensional face model;
adjusting a shape base coefficient of the first three-dimensional face model according to the first posture parameter, to obtain a shape base coefficient of the second three-dimensional face model;
adjusting an expression base coefficient of the first three-dimensional face model according to the first posture parameter, to obtain an expression base coefficient of the second three-dimensional face model; and
obtaining, according to the first posture parameter, the shape base coefficient, and the expression base coefficient, the second three-dimensional face model after local fitting.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model includes:
performing registration on the three-dimensional face mesh and the global area of the second three-dimensional face model, to obtain a second correspondence between the global area and the three-dimensional face mesh; and
performing fitting on the three-dimensional face mesh and the global area of the second three-dimensional face model according to the second correspondence, to obtain the three-dimensional face model of the target object after global fitting.
