(EN) A facial image processing method and apparatus, and a computer device and a storage medium. The method comprises: acquiring a first facial image and a second facial image, wherein the first facial image and the second facial image are images containing a real face (step 202); processing the first facial image to generate a first updated facial image having a non-real facial image characteristic (step 204); according to a color distribution of the second facial image, adjusting a color distribution of the first updated facial image to obtain a first adjusted facial image (step 206); acquiring a target facial mask for the first facial image, wherein the target facial mask is generated by performing random deformation on a facial region of the first facial image (step 208); and according to the target facial mask, fusing the first adjusted facial image and the second facial image to obtain a target facial image. By means of the method, diverse target facial images can be generated (step 210).
(FR) Procédé et appareil de traitement d'image faciale, dispositif informatique et support de stockage. Le procédé consiste à : acquérir une première image faciale et une seconde image faciale, la première image faciale et la seconde image faciale étant des images contenant un visage réel (étape 202); traiter la première image faciale pour générer une première image faciale mise à jour ayant une caractéristique d'image faciale non réelle (étape 204); en fonction d'une distribution de couleur de la seconde image faciale, ajuster une distribution de couleur de la première image faciale mise à jour pour obtenir une première image faciale ajustée (étape 206); acquérir un masque facial cible pour la première image faciale, le masque facial cible étant généré en effectuant une déformation aléatoire sur une région faciale de la première image faciale (étape 208); et en fonction du masque facial cible, fusionner la première image faciale ajustée et la seconde image faciale pour obtenir une image faciale cible. Au moyen du procédé, diverses images faciales cibles peuvent être générées (étape 210).
(ZH) 一种脸部图像处理方法、装置、计算机设备和存储介质。所述方法包括:获取第一脸部图像和第二脸部图像,第一脸部图像和第二脸部图像是包含真实脸部的图像(步骤202);对第一脸部图像进行处理,生成具有非真实脸部图像特性的第一更新脸部图像(步骤204);根据第二脸部图像的颜色分布调整第一更新脸部图像的颜色分布,得到第一调整脸部图像(步骤206);获取第一脸部图像的目标脸部掩膜,目标脸部掩膜是对第一脸部图像的脸部区域进行随机变形生成的(步骤208);根据目标脸部掩膜将第一调整脸部图像与第二脸部图像进行融合,得到目标脸部图像。采用本方法能够生成多样性的目标脸部图像(步骤210)。