Three-dimensional face model generation method and apparatus, device, and medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsXiangkai Lin, Linchao Bao
Life of this patent
Estimating the term…
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.
Claims20
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 local 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 the local fitting, wherein the local area is an area whose fitting error rate is lower than a preset condition, the three-dimensional face mesh further includes a candidate area whose fitting error rate is higher than or equal to the preset condition, and the local fitting is not performed on the candidate area;
- and
- performing global 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 the global fitting, wherein the global fitting is performed on the candidate area to obtain the 3D face model of the target object.
A three-dimensional face model generation apparatus, the apparatus comprising:
- at least one memory storing computer program instructions;
- and at least one processor coupled to the at least one 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 local 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 the local fitting, wherein the local area is an area whose fitting error rate is lower than a preset condition, the three-dimensional face mesh further includes a candidate area whose fitting error rate is higher than or equal to the preset condition, and the local fitting is not performed on the candidate area;
- and
- performing global 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 the global fitting, wherein the global fitting is performed on the candidate area to obtain the 3D face model of the target object.
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 local 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 the local fitting, wherein the local area is an area whose fitting error rate is lower than a preset condition, the three-dimensional face mesh further includes a candidate area whose fitting error rate is higher than or equal to the preset condition, and the local fitting is not performed on the candidate area;
- and
- performing global 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 the global fitting, wherein the global fitting is performed on the candidate area to obtain the 3D face model of the target object.
Dependencies are inferred from the claim text.