| CPC G06V 40/168 (2022.01) [G06V 10/806 (2022.01)] | 17 Claims |

|
1. A face image processing method performed by a computer device, the method comprising:
acquiring a face image of a source face and a face template image of a template face;
performing three-dimensional face modeling on the face image and the face template image to obtain a three-dimensional face image feature of the face image and a three-dimensional face template image feature of the face template image;
extracting a source face identity feature of the face image from the three-dimensional face image feature;
extracting a template face image feature of the face template image from the three-dimensional face template image feature;
fusing the source face identity feature and the template face image feature to obtain a three-dimensional fusion feature;
performing face replacement feature extraction on the face image based on the face template image to obtain an initial face replacement feature;
transforming the initial face replacement feature based on the three-dimensional fusion feature to obtain a target face replacement feature; and
replacing the template face in the face template image with the source face based on the target face replacement feature to obtain a target face image after the replacement, wherein the target face image preserves identity and shape of the source face and pose and expression of the template face.
|