# US 2022/0292772 A1 · Methods and systems for constructing facial position map

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

- Number: US 2022/0292772 A1
- Document ID: US20220292772A1
- Status: Published application
- Kind: A1
- Application number: 17/202,100
- Filed: 2021-03-15
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Bo Wang; Bo Yang; Songrun Liu
- Web page: https://patentgrep.com/patent/US20220292772A1

## CPC

- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/096: Transfer learning
- G06T 3/02: Affine transformations (for image registration G06T3/147; for image mosaicing G06T3/4038)
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/56: relating to colour
- 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}
- G06T 2219/004: Annotating, labelling
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An electronic apparatus performs a method of constructing a facial position map from a two-dimensional (2D) facial image of a real-life person that includes: generating a coarse facial position map from the 2D facial image; predicting a first set of keypoints in the 2D facial image based on the coarse facial position map; identifying a second set of keypoints in the 2D facial image based on the user-provided keypoint annotations; and updating the coarse facial position map to get a final facial position map so as to reduce the differences between the first set of keypoints and the second set of key points in the 2D facial image. In some embodiments, a final set of keypoints and/or a three-dimensional (3D) facial model of the real-life person is formed from the final facial position map.

## Claims

### Claim 1

A method of constructing a facial position map from a two-dimensional (2D) facial image of a real-life person, comprising:
generating a coarse facial position map from the 2D facial image;
predicting a first set of keypoints in the 2D facial image based on the coarse facial position map;
identifying a second set of keypoints in the 2D facial image based on user-provided keypoint annotations; and
updating the coarse facial position map so as to reduce differences between the first set of keypoints and the second set of key points in the 2D facial image.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising extracting a third set of keypoints based on the updated facial position map as a final set of keypoints, the third set of keypoints having the same location as the first set of keypoints in the facial position map.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising reconstructing a three-dimensional (3D) facial model of the real-life person based on the updated facial position map.

### Claim 4 (depends on 1)

The method according to claim 1, wherein updating comprises:
transforming the coarse facial position map to a transformed facial position map, and
refining the transformed facial position map.

### Claim 5 (depends on 4)

The method according to claim 4, wherein transforming includes:
from learning the differences between the first set of keypoints and the second set of keypoints, estimating a transformation mapping from the coarse facial position map to the transformed facial position map; and
applying the transformation mapping to the coarse facial position map.

### Claim 6 (depends on 4)

The method according to claim 4, wherein refining includes: in accordance with a determination that the 2D facial image is tilted, adjusting keypoints corresponding to the transformed facial position map at an occluded side of face contour to cover whole face area.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the first set of keypoints consists of 96 keypoints.

### Claim 8 (depends on 2)

The method according to claim 2, further comprising facial feature classification.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the facial feature classification is via a deep learning method.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the facial feature classification is via a multi-task learning or transfer learning method.

### Claim 11 (depends on 8)

The method according to claim 8, wherein the facial feature classification includes a hair prediction classification.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the hair prediction classification includes a female hair prediction with a plurality of classification tasks comprising:
curve, length, bang, and braid.

### Claim 13 (depends on 11)

The method according to claim 11, wherein the hair prediction classification includes a male hair prediction with a plurality of classification tasks comprising:
curve/length, bang, and hair split.

### Claim 14 (depends on 8)

The method according to claim 8, wherein the facial feature classification includes an eyeglass prediction classification.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the eyeglass prediction classification includes classification tasks comprising:
with eyeglasses, and without eyeglasses.

### Claim 16

An electronic apparatus comprising one or more processing units, memory coupled to the one or more processing units, and a plurality of programs stored in the memory that, when executed by the one or more processing units, cause the electronic apparatus to perform a plurality of operations of constructing a facial position map from a two-dimensional (2D) facial image of a real-life person, comprising:
generating a coarse facial position map from the 2D facial image;
predicting a first set of keypoints in the 2D facial image based on the coarse facial position map;
identifying a second set of keypoints in the 2D facial image based on user-provided keypoint annotations; and
updating the coarse facial position map so as to reduce differences between the first set of keypoints and the second set of key points in the 2D facial image.

### Claim 17 (depends on 16)

The electronic apparatus according to claim 16, wherein the plurality of operations further comprise extracting a third set of keypoints based on the updated facial position map as a final set of keypoints, the third set of keypoints having the same location as the first set of keypoints in a facial position map.

### Claim 18 (depends on 16)

The electronic apparatus according to claim 16, wherein the plurality of operations further comprise reconstructing a three dimensional (3D) facial model of the real-life person based on the updated facial position map.

### Claim 19 (depends on 16)

The electronic apparatus according to claim 16, wherein updating comprises:
transforming the coarse facial position map to a transformed facial position map, and
refining the transformed facial position map.

### Claim 20

A non-transitory computer readable storage medium storing a plurality of programs for execution by an electronic apparatus having one or more processing units, wherein the plurality of programs, when executed by the one or more processing units, cause the electronic apparatus to perform a plurality of operations of constructing a facial position map from a two-dimensional (2D) facial image of a real-life person, comprising:
generating a coarse facial position map from the 2D facial image;
predicting a first set of keypoints in the 2D facial image based on the coarse facial position map;
identifying a second set of keypoints in the 2D facial image based on user-provided keypoint annotations; and
updating the coarse facial position map so as to reduce differences between the first set of keypoints and the second set of key points in the 2D facial image.
