Method and apparatus for generating virtual expression, electronic device, and storage medium
AssigneeBoe Technology Group Co., Ltd.
InventorTenghe CUI
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method and an apparatus for generating a virtual expression, an electronic device, and a storage medium. The method includes: obtaining a face region in an original image to obtain a target face image; obtaining a first face coefficient for the target face image; performing time-domain correction on the template expression coefficient and/or the pose coefficient of the first face coefficient, to obtain a target face coefficient; and according to the target face coefficient, rendering an expression of the virtual character, to obtain the virtual expression.
Claims21
A method for generating a virtual expression, comprising:
- obtaining a face region in an original image to obtain a target face image;
- obtaining a first face coefficient for the target face image, wherein the first face coefficient comprises a template expression coefficient and a pose coefficient, wherein the template expression coefficient is used to represent a degree of matching between a facial expression and each of one or more templates, and the pose coefficient is used to represent a rotation angle of a virtual character in three dimensions;
- performing time-domain correction on the template expression coefficient and/or the pose coefficient of the first face coefficient, to obtain a target face coefficient, wherein the target face coefficient is associated with a face coefficient for a previous original image before the original image;
- and
- according to the target face coefficient, rendering an expression of the virtual character, to obtain the virtual expression.
(canceled)
An electronic device, comprising:
- one or more processors;
- and
- one or more memories storing executable instructions;
- wherein the one or more processors read the executable instructions from the one or more memories to implement a method for generating a virtual expression, wherein the method comprises:
- obtaining a face region in an original image to obtain a target face image;
- obtaining a first face coefficient for the target face image, wherein the first face coefficient comprises a template expression coefficient and a pose coefficient, wherein the template expression coefficient is used to represent a degree of matching between a facial expression and each of one or more templates, and the pose coefficient is used to represent a rotation angle of a virtual character in three dimensions;
- performing time-domain correction on the template expression coefficient and/or the pose coefficient of the first face coefficient, to obtain a target face coefficient, wherein the target face coefficient is associated with a face coefficient for a previous original image before the original image;
- and
- according to the target face coefficient, rendering an expression of the virtual character, to obtain the virtual expression.
A chip, comprising:
- one or more processors;
- and
- one or more memories storing an executable program;
- wherein the one or more processors read the executable program from the one or more memories to implement a method for generating a virtual expression, wherein the method comprises:
- obtaining a face region in an original image to obtain a target face image;
- obtaining a first face coefficient for the target face image, wherein the first face coefficient comprises a template expression coefficient and a pose coefficient, wherein the template expression coefficient is used to represent a degree of matching between a facial expression and each of one or more templates, and the pose coefficient is used to represent a rotation angle of a virtual character in three dimensions;
- performing time-domain correction on the template expression coefficient and/or the pose coefficient of the first face coefficient, to obtain a target face coefficient, wherein the target face coefficient is associated with a face coefficient for a previous original image before the original image;
- and
- according to the target face coefficient, rendering an expression of the virtual character, to obtain the virtual expression.
Dependencies are inferred from the claim text.