A method for generating high-resolution 3D face texture in natural scenes

By combining the face detection network and the three-dimensional face reconstruction model with image deformation operations and multiple loss functions, the problem of low resolution and insufficient realism in face texture generation in the existing technology is solved, and high resolution and high realism are achieved. Face texture generation, suitable for natural scenes and various applications.

CN114638868BActive Publication Date: 2024-10-22SOUTH CHINA UNIV OF TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210081042.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2024-10-22
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

Existing 3D face texture reconstruction technology is difficult to generate high-resolution, highly realistic face textures, especially in natural scenes, and most methods rely on high-quality labeled data sets, and the training process relies on face textures Ground-truth labeling of graphs,lacks general self-supervised methods.

Method used

The face detection network and the 3D face reconstruction model are used to generate 3D face shape information, and the high-resolution network is trained through image deformation operations and various loss functions (such as image reconstruction loss, adversarial loss, total variation loss and symmetry loss) , generate high-resolution face textures, and use bilinear interpolation and differentiable renderers for texture processing to ensure the realism and resolution of the generated results.

Benefits of technology

It effectively improves the resolution and realism of face textures, reduces reconstruction errors, can self-supervised training models without high-resolution face texture labels, generates high-quality face texture maps, and supports multi-angle and Multiple application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114638868B_ABST
    Figure CN114638868B_ABST
Patent Text Reader

Abstract

The present invention provides a method for generating high-resolution three-dimensional face texture in a natural scene, comprising the following steps: 1. removing the background of a face image by using a face detection network; generating corresponding three-dimensional face information by using a three-dimensional face reconstruction model, and then resampling the input image to generate an incomplete high-resolution face texture map; 2. downsampling the incomplete high-resolution face texture map, extracting its features through a high-resolution network model, and predicting the image deformation field; 3. deforming the low-resolution face texture map to obtain a complete low-resolution face texture map; training the high-resolution network model through a face data set; 4. upsampling the image deformation field to a high-resolution deformation field, and deforming the incomplete high-resolution face texture to obtain a complete high-resolution face texture. The present invention utilizes the interpolation property of the deformation field to enable the generated face texture to have a higher resolution and a strong sense of reality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of three-dimensional face reconstruction and relates to a method for generating high-resolution three-dimensional face texture in a natural scene. Background Art

[0002] With the increasing development of VR and AR technologies, traditional voice and video technologies can no longer meet people's needs. People hope to wear VR glasses as described in the movie Ready Player One, and use various sensors to enable themselves to move freely in the virtual world or communicate with friends. This makes 3D face reconstruction technology a research hotspot in the field of computer vision. 3D face texture reconstruction technology refers to restoring the 3D texture information of the face given a face image or video as input, thereby supporting the generation and rendering of 3D faces. In 3D face reconstruction technology, generating high-quality face textures has always been a top priority. Reconstructing realistic, realistic high-resolution face textures can greatly enhance the realism of 3D faces and the user's viewing experience, and support downstream film, game, VR, AR and other industrial applications.

[0003] At present, 3D face texture reconstruction technology is mainly divided into two categories: traditional methods and deep learning-based methods.

[0004] (1) Traditional method

[0005] The traditional method of 3D face texture reconstruction is mainly based on the reconstruction method of 3D deformable model (3DMM). The 3DMM model reduces the dimension of facial skin color through PCA, thereby expressing it in the form of a linear combination of a set of basis functions. By minimizing the face loss function, the traditional iterative analysis method can solve the facial skin color parameters and lighting parameters to obtain the facial texture. The traditional method can achieve good texture solution results for most face images. The disadvantage is that the solution of the iterative analysis method involves non-convex optimization, which is time-consuming and sensitive to initial values. In addition, the linear 3DMM cannot handle the high-frequency components and hair features of the face.

[0006] (2) Based on deep learning methods

[0007] With the development of deep learning and convolutional neural network technology, researchers have begun to use convolutional neural networks to regress 3DMM model parameters and illumination parameters, thereby avoiding the above-mentioned complex non-convex optimization process and obtaining faster and more robust reconstruction results. In recent years, due to the development of generative adversarial networks, expanding three-dimensional facial textures into two-dimensional space and using image generators to generate facial textures has become a new research hotspot and has achieved good results. However, it also faces the problem of insufficient resolution of the generated results and lack of training data.

[0008] Since most of the research on facial texture generation algorithms is conducted on low-resolution images, the algorithm-generated facial texture faces problems such as low resolution and lack of realism, and often cannot support real-world applications. For example, DeepFace3d (Deng Y, Yang J, Xu S, et al. Accurate 3d face reconstruction with weakly-supervised learning: From single image to image set [C] / / Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition Workshops. 2019: 0-0.) can quickly generate textures for facial images in the wild, but the generated textures are limited to the linear 3DMM space and lack realism. The nonlinear 3DMM model (Tran L, Liu F, Liu X. Towards high-fidelity nonlinear 3D face morphable model [C] / / Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition. 2019: 1126-1135.) can break through the constraints of the linear 3DMM model and obtain a more realistic texture reconstruction effect, but the generated texture map has a low resolution of only 224*224. In addition, considering that human faces are a kind of personal privacy data, the high-quality human face texture datasets used by most current methods are not open source.For example, Ganfit (Gecer B, Ploumpis S, Kotsia I, et al. Ganfit: Generative adversarial network fitting for high fidelity 3d face reconstruction [C] / / Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition. 2019: 1155-1164.) and Fast-Ganfit (Gecer B, Ploumpis S, Kotsia I, et al. Fast-GANFIT: Generative Adversarial Network for High Fidelity 3D Face Reconstruction [J]. arXiv preprint arXiv: 2105.07474, 2021.) can generate high-resolution and high-quality facial texture maps through generative adversarial networks, but the relevant codes and datasets are not public. Therefore, it is even more necessary to study a general self-supervised method that can generate high-resolution facial textures. Summary of the invention

[0009] In view of the deficiencies in the prior art, the present invention provides a method for generating high-resolution three-dimensional face textures in natural scenes, which can generate a complete three-dimensional face texture image through the input of a frontal face image, and the generated texture has high resolution and high realism, can be used to support various three-dimensional face-related applications, and the training of the model does not depend on the real label of the face texture image.

[0010] The present invention is achieved by at least one of the following technical solutions.

[0011] The method for generating high-resolution three-dimensional face texture in natural scenes comprises the following steps:

[0012] S1. Use a face detection network to remove the background of the face image; use a 3D face reconstruction model to generate corresponding 3D face shape information; resample the input image through the 3D face information to generate an incomplete high-resolution face texture map;

[0013] S2, downsampling the incomplete high-resolution face texture map and inputting it into the high-resolution network model to predict the image deformation field;

[0014] S3. Use bilinear interpolation to deform the low-resolution face texture to obtain a complete face texture map, and then render the face texture back to the image space to obtain a reconstructed face photo; train the high-resolution network model, use the image reconstruction loss function to ensure that the face texture map retains the original face features, add image discriminators to the front and side parts of the generated face texture, use adversarial loss function training to improve the quality of the generated face texture, calculate the total variation loss function on the deformation field to ensure that the generated deformation field is smooth enough, and finally add a symmetry loss function to ensure that the generated face texture conforms to the face symmetry;

[0015] S4, upsampling the low-resolution image deformation field into a high-resolution deformation field, and deforming the incomplete high-resolution face texture to obtain a complete high-resolution face texture map.

[0016] Preferably, the preprocessing step further includes face detection and face alignment on the image, and then the three-dimensional face shape information S of the input image is predicted by the three-dimensional face reconstruction model, where S is a vector of size n*3, which is composed of n three-dimensional face points V s =(x,y,z) stacked together, for any point V on S s , project the point to point v on the 2D UV plane through cylindrical expansion T =(u,v), the process formula is as follows:

[0017]

[0018] Among them, α1 and α2 are scaling factors, and β1 and β2 are translation factors;

[0019] Then through point V s and v T The corresponding relationship between them is obtained by resampling the input image to obtain the incomplete face texture UV map. The formula is as follows:

[0020]

[0021] Where T represents the sampled two-dimensional face texture map, T s represents the three-dimensional face texture, (x, y, z) and (u, v) represent the three-dimensional vertex coordinates and UV space coordinates corresponding to a point on the face model, I is the input image, Indicates that the values ​​of the x and y coordinates are rounded down.

[0022] Preferably, the three-dimensional face reconstruction model is 3DDFA-V2.

[0023] Preferably, the incomplete low-resolution face texture map is input into the high-resolution network model HRNet-W32, the multi-scale feature map of the image is extracted, and finally the normalized image deformation field M is obtained through the sigmoid output layer. M is a matrix of size W*H*2, W and H are the width and height of the feature map respectively, and the coordinates of the corresponding points after the image deformation are The information is obtained through the following formula:

[0024]

[0025] Among them, M(u,v,0) and M(u,v,1) represent the values ​​of the elements of the corresponding index on the deformation field, and (u,v) represents the coordinates of the image before deformation.

[0026] Preferably, the formula for bilinear interpolation is as follows:

[0027]

[0028] in, is the deformed face texture map, T represents the sampled face texture map, (u, v) and Represent the corresponding points in the texture space before and after the image deformation, Respectively represent and A collection of values ​​to round up and down.

[0029] Preferably, the image reconstruction loss function calculates the reconstruction loss by extracting the convolution features of the input and output images through the VGG16 network:

[0030]

[0031] Where Φ is the feature extraction layer in the VGG16 network, W and H are the width and height of the feature map, and I face is the input image that retains the face area, It uses the deformed face texture map The rendered face image, Φ(I face ) i,j , Respectively represent I face and Output features obtained by inputting into the VGG16 network.

[0032] Preferably, a discriminator is added for the front face and side face textures respectively, and hingeloss is used as the adversarial loss function. The front face texture loss function L of the high-resolution network model is adv_f And the loss function L of the side face texture part adv_p The formula process is as follows:

[0033]

[0034]

[0035] Frontal face discriminator network loss function L dis_f and the profile discriminator network loss function L dis_p The formula process is as follows:

[0036]

[0037]

[0038] in Represents the front and side face parts of the deformed face texture map, T gt_front and T gt_profile Represents the front and side face parts of the real face texture map, D front , D profile Respectively represent the front face and profile face texture discriminators, D front (T gt_front ) means and T gt_front The value obtained by inputting into the positive face discriminator, D profile (T gt_profile ) means and T gt_profile The value obtained by inputting into the profile texture discriminator.

[0039] Preferably, the total variation loss function L tv as follows:

[0040]

[0041] Where W, H, and C are the width, height, and number of channels of the image, and M(x+1,y,c), M(x,y+1,c), and M(x,y,c) all represent the values ​​of the corresponding index elements on the image deformation field M.

[0042] Preferably, a symmetry loss is added to maintain the symmetry of the face, and the formula is as follows:

[0043]

[0044] in It is the deformed face texture map, and Flip is the operation function that flips the face texture left and right.

[0045] Preferably, the loss function of the high-resolution network model HRNet-W32 is expressed as a weighted sum of reconstruction loss, adversarial loss, total variation loss, and symmetric loss:

[0046] L total =L rec ++λ1L adv_f +λ2L adv_p +λ3L tv 10λ4L sym (11)

[0047] Among them, λ1, λ2, λ3, λ4 are the corresponding proportional coefficients.

[0048] Compared with the prior art, the present invention has the following beneficial effects:

[0049] (1) The present invention generates a facial texture image through image deformation operation, which can effectively reduce the facial reconstruction error and better retain the facial feature information. By upsampling the deformation field, the generated result on the low resolution can be transferred to the high-resolution image, so that the obtained facial texture has a higher resolution and a stronger sense of reality.

[0050] (2) Due to the strong privacy of facial data, most 3D facial texture datasets are not open source. The present invention uses a differentiable renderer and combines multiple loss functions to complete the model training in a self-supervised manner without high-resolution facial texture labels and obtain good facial texture generation results. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flow chart of a method for generating high-resolution three-dimensional face texture in a natural scene in one embodiment of the present invention;

[0052] Figure 2 It is a schematic diagram of the principles of two image discriminators in one embodiment of the present invention;

[0053] Figure 3 The flowchart of obtaining high-resolution facial texture in one embodiment of the present invention. DETAILED DESCRIPTION

[0054] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0055] Embodiment 1

[0056] like Figure 1 As shown, this embodiment is a method for generating high-resolution three-dimensional face texture in a natural scene, the input is face image data, and includes the following steps:

[0057] First, a face detection network is used to remove the background of the face image and align the face; then a 3D face reconstruction model is used to generate the corresponding 3D face shape information, and then the input image is resampled to generate an incomplete face texture map. Note that the face texture obtained here is high-resolution.

[0058] Secondly, in order to save video memory resources, the texture image is first downsampled, its features are extracted through a high-resolution network, and the image deformation field is predicted;

[0059] Then, the facial texture is deformed through the image deformation module to obtain a complete facial texture map; using the facial texture and 3D facial shape information, the 3D face is rendered back to the 2D image space through the differentiable renderer to compare with the input face, and the reconstruction loss, adversarial loss, total variation loss and symmetric loss function are calculated. The above high-resolution network model is trained by minimizing the loss function. In the prediction stage of the model, the low-resolution deformation field is upsampled using bilinear interpolation, and the incomplete high-resolution facial texture is deformed to obtain a complete facial texture. Combined with the renderer, high-resolution facial images from multiple angles can be generated.

[0060] The following is an explanation with a specific implementation example.

[0061] Based on the public high-resolution face dataset CelebA-HQ, a high-resolution 3D face texture generation method is proposed, which provides a feasible solution for generating high-resolution face textures in natural scenes. It can support human-computer interaction systems and other 3D face-related applications, including the following steps:

[0062] S1. Preprocessing the original image.

[0063] The face images in the CelebA-HQ dataset are processed by the face detection network MTCNN to obtain the face bounding box, and then the face images are aligned and cropped. The aligned images are sent to a trained 3D face reconstruction model 3DDFA-V2 for 3D shape reconstruction. The obtained face vertex coordinates are denormalized according to the bounding box to obtain the 3D vertex information S of the input face image.

[0064] Since UV texture map is used to represent the face texture, it is necessary to establish the correspondence between 3D vertices and 2D image points. s =(x, y, z), project it onto a two-dimensional plane through cylindrical expansion, and the process formula is as follows:

[0065]

[0066] Among them, α1 and α2 are scaling factors, and β1 and β2 are translation factors;

[0067] Then through V s The correspondence between (u, v) and (u, v) is solved by resampling the input image to obtain an incomplete face UV map (1024*1024). The process formula is as follows:

[0068]

[0069] Where T represents the sampled 2D face texture map, T s represents the three-dimensional face texture, (x, y, z) and (u, v) represent the three-dimensional vertex coordinates and UV space coordinates corresponding to a point on the face model, I is the input image, Indicates that the values ​​of the x and y coordinates are rounded down.

[0070] S2. Downsample the result T(u,v) obtained in step S1 to a size of 256*256 and send it to a fully convolutional neural network to predict the image deformation field. Since the prediction of the deformation field is a pixel-level task, the traditional downsampling and upsampling convolutional structures will cause information loss and reduce the accuracy of the results. Here, the high-resolution network HRNet-W32 is used as the generator structure. HRNet consists of multiple branches with different resolutions. The low-resolution branches capture contextual information, while the high-resolution branches retain spatial structure information. Through feature fusion between branches, HRNet can generate high-resolution feature maps with rich semantics, which can obtain better results for pixel-level prediction.

[0071] In this example, the input image is first passed through the HRNet-W32 backbone network to obtain a 128*128*64 facial feature map. On this basis, a convolution layer with a convolution kernel size of 3, a step size of 1, and an output channel of 2 is added, and the sigmoid function is used as the final output layer to obtain a normalized image deformation field M, which is a matrix of size 128*128*2.

[0072] S3. Input the face images in the CelebA-HQ dataset into HRNet-W32. Calculate the loss function and perform model training. The main process is as follows:

[0073] After obtaining the deformation field, the incomplete face texture is deformed to obtain a complete face texture map. The formula process is as follows:

[0074]

[0075] in, is the deformed face texture map, T represents the sampled face texture map, (u, v) and Represent the corresponding points in the texture space before and after the image deformation, Respectively represent and A collection of values ​​to round up and down.

[0076] In order to ensure that the generated face texture can retain the characteristics of the input face, this example now uses the 3D face information and the differentiable renderer to render the 3D face back into a 2D image. The convolution features of the input and output images are extracted through the VGG16 network to calculate the reconstruction loss. The formula process is as follows:

[0077]

[0078] Where Φ is the feature extraction layer in the VGG16 network, W and H are the width and height of the feature map, and I face is the input image that retains the face area, It uses the deformed face texture map The rendered face image, Φ(I face ) i,j , Respectively represent I face and Output features obtained by inputting into the VGG16 network.

[0079] In order to enhance the realism of the generated face, this example uses multiple discriminators to perform adversarial learning on the generated face texture, such as Figure 2 As shown: A discriminator D is used for the front and side face parts of the generated face texture. front and D profile The generated facial texture is judged to ensure high realism and integrity.

[0080] Hingeloss is used to make the rendered image more realistic. The texture loss function L of the front face of the generator network HRNet-W32 is adv_f And the loss function L of the side face texture part adv_p The formula process is as follows:

[0081]

[0082]

[0083] Frontal face discriminator network loss function L dis_f and the profile discriminator network loss function L dis_p The formula process is as follows:

[0084]

[0085] in Represents the front and side face parts of the deformed face texture map, T gt_front and T gt_profile

[0086] Represents the front and side face parts of the real face texture map, Dfront , D profile Respectively represent the front face and profile face texture discriminators, D front (T gt_front ) means and T gt_front The value obtained by inputting into the positive face discriminator, D profile (T gt_profile ) means and T gt_profile The value obtained by inputting into the profile texture discriminator.

[0087] Since the deformation field needs to be upsampled when migrating to high resolution, an unsmooth deformation field may lead to poor upsampling effect. Therefore, the total variation loss function is used to constrain the gradient of the deformation field to ensure that the generated deformation field is smooth enough to support upsampling. The formula process is as follows:

[0088]

[0089] Where W, H, and C are the width, height, and number of channels of the image, and M(x+1,y,c), M(x,y+1,c), and M(x,y,c) all represent the values ​​of the corresponding index elements on the image deformation field M.

[0090] Finally, since the human face is basically symmetrical, a symmetry loss is applied to the generated face texture to maintain the symmetry of the face. The formula process is as follows:

[0091]

[0092] in It is the deformed face texture map, and Flip is the operation function that flips the face texture left and right.

[0093] The final loss function can be expressed as the weighted sum of reconstruction loss, adversarial loss, total variation loss and symmetric loss, and its formula is as follows:

[0094] L total =L rec ++λ1L adv_f +λ2L adv_p +λ3L tv +λ4L sym

[0095] Among them, λ1, λ2, λ3, λ4 are the corresponding proportional coefficients.

[0096] S4. After the network model is trained, the deformation field M is upsampled to obtain a high-resolution deformation field (1024*1024). Then the face texture is deformed by the deformation module to obtain a complete high-resolution face texture. Combined with the renderer, a multi-angle 3D face image can be generated. The flow chart is as follows: Figure 3 As shown:

[0097] The purpose of 3D face reconstruction is mainly to provide a higher-dimensional expression of the face. By combining psychology, graphics, and computer science theories, a highly realistic 3D face digital avatar is constructed, providing a practical and valuable reference for the research of human virtual reality, augmented reality, and human-computer interaction systems. However, the generation of high-resolution 3D face texture in natural scenes is still a challenging problem. This example processes the face dataset in natural scenes, and obtains a complete high-resolution face texture by predicting the image deformation field and deforming the image. This can effectively improve the realism and resolution of the face texture map, alleviate the training problem caused by the lack of face texture data, and support a variety of applications such as virtual reality.

[0098] Embodiment 2

[0099] To implement the method for generating high-resolution 3D face texture in natural scenes described in Example 1, this embodiment provides a device for generating high-resolution 3D face texture in natural scenes, comprising:

[0100] Preprocessing module: Use face detection network to detect and align faces; use 3D face reconstruction model to generate corresponding 3D face shape information and then sample to generate incomplete face texture map;

[0101] Image deformation field prediction module: downsamples the incomplete face texture map, extracts its features through a high-resolution network, and predicts the image deformation field;

[0102] Model training module: The face texture is deformed through the image deformation module to obtain a complete face texture map; the convolutional neural network model is trained by inputting the face data set.

[0103] High-resolution face texture generation module: upsamples the low-resolution deformation field to a high-resolution deformation field, and deforms the incomplete high-resolution face texture to obtain a high-resolution face texture.

[0104] Embodiment 3

[0105] This embodiment provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method for generating high-resolution three-dimensional face textures in natural scenes described in Embodiment 1.

[0106] Embodiment 4

[0107] This embodiment provides a computing device, including a processor and a memory for storing a program executable by the processor. When the processor executes the program stored in the memory, the method for generating high-resolution three-dimensional face textures in natural scenes described in Embodiment 1 is implemented.

[0108] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A method for generating high-resolution three-dimensional face texture in natural scenes, characterized by: The following steps are involved: S1. Use a face detection network to remove the background of the face image; use a 3D face reconstruction model to generate corresponding 3D face shape information; resample the input image through the 3D face information to generate an incomplete high-resolution face texture map; Step S1 also includes face detection and face alignment on the image, and then predicting the 3D face shape information S of the input image through the 3D face reconstruction model. S is a vector of size n*3, which consists of n 3D face points V s =(x,y,z) stacked together, for any point V on S s , project the point to point v on the 2D UV plane through cylindrical expansion T =(u,v), the process formula is as follows: Among them, α1 and α2 are scaling factors, and β1 and β2 are translation factors; Then through point V s and v T The corresponding relationship between them is obtained by resampling the input image to obtain the incomplete face texture UV map. The formula is as follows: Among them, T(u,v) represents the sampled two-dimensional face texture map, T s (x, y, z) represents the 3D face texture, (x, y, z) and (u, v) represent the 3D vertex coordinates and UV space coordinates of a point on the face model, respectively. I is the input image. Indicates that the values ​​of the x and y coordinates are rounded down respectively; S2, downsample the incomplete high-resolution face texture map and input it into the high-resolution network model to predict the image deformation field; input the incomplete low-resolution face texture map into the high-resolution network model, the high-resolution network model is HRNet-W32, extract the multi-scale feature map of the image, and finally obtain the normalized image deformation field M through the sigmoid output layer. M is a matrix of size W*H*2, W and H are the width and height of the feature map respectively; the coordinates of the corresponding points after the image deformation The information is obtained through the following formula: Among them, M(u,v,0) and M(u,v,1) represent the values ​​of the elements of the corresponding index on the deformation field, and (u,v) represents the texture space coordinates before the image is deformed; S3. Use bilinear interpolation to deform the low-resolution face texture to obtain a complete face texture map, and then render the face texture back to the image space to obtain a reconstructed face photo; train the high-resolution network model, use the image reconstruction loss function to ensure that the face texture map retains the original face features, add image discriminators to the front and side parts of the generated face texture, use adversarial loss function training to improve the quality of the generated face texture, calculate the total variation loss function on the deformation field to ensure that the generated deformation field is smooth enough, and finally add a symmetry loss function to ensure that the generated face texture conforms to the face symmetry; The formula for the bilinear interpolation is as follows: in, is the deformed face texture map, Represents the sampled two-dimensional face texture map, (u,v) and Represent the corresponding points in the texture space before and after the image deformation, Respectively represent and A collection of values ​​that are rounded up and down; The image reconstruction loss function calculates the reconstruction loss by extracting the convolution features of the input and output images through the VGG16 network: Where Φ is the feature extraction layer in the VGG16 network, W and H are the width and height of the feature map, and I face is the input image that retains the face area, It uses the deformed face texture map The rendered face image, Φ(I face ) i,j , Respectively represent I face and Output features obtained by inputting into the VGG16 network; A discriminator is added for the front face and side face texture respectively, and hingeloss is used as the adversarial loss function. The front face texture loss function L of the high-resolution network model is adv_f And the loss function L of the side face texture part adv_p The formula process is as follows: Frontal face discriminator network loss function L dis_f And the profile discriminator network loss function L dis_p The formula process is as follows: in Represents the front and side face parts of the deformed face texture map, T gt_front and T gt_profile Represents the front and side face parts of the real face texture map, D front , D profile Respectively represent the front face and profile face texture discriminators, D front (T gt_front ) means and T gt_front The value obtained by inputting into the positive face discriminator, D profile (T gt_profile ) means and T gt_profile The value obtained by inputting into the profile texture discriminator; Total variation loss function L tv as follows: Where W, H, C are the width, height and number of channels of the feature map, M(x+1,y,c), M(x,y+1,c), M(x,y,c) all represent the values ​​of the corresponding index elements on the image deformation field M, where c represents the value of the corresponding channel coordinate in the image deformation field matrix; Add symmetry loss to maintain face symmetry, the formula is as follows: in is the deformed face texture map, and Flip is the operation function that flips the face texture left and right; The loss function of the high-resolution network model HRNet-W32 is expressed as the weighted sum of reconstruction loss, adversarial loss, total variation loss, and symmetric loss: L total =L rec ++λ1L adv_f +λ2L adv_p +λ3L tv + λ4L sym (11) Among them, λ1, λ2, λ3, λ4 are the corresponding proportional coefficients; S4, upsampling the low-resolution image deformation field into a high-resolution deformation field, and deforming the incomplete high-resolution face texture to obtain a complete high-resolution face texture map.

2. The method for generating high-resolution three-dimensional face texture in natural scenes according to claim 1, characterized in that: The three-dimensional face reconstruction model is 3DDFA-V2.