A face super-resolution reconstruction method capable of restoring identity information
By introducing the facial mask assist network in face super-resolution reconstruction, the problem of insufficient identity information recovery in low-resolution face images in the existing technology is solved, and the recognition rate of high-resolution face images is improved and super-resolved. High accuracy in low-resolution scenes, suitable for various applications.
Patent Information
- Application Number
- CN202111223961.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-19
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing face super-resolution reconstruction methods ignore the identity information in low-resolution images when reconstructing high-resolution face images, resulting in low recognition rates, especially in ultra-low-resolution face image scenarios.
Adopting a network sub-branch that can predict facial structure information, assisting the main branch to restore identity features through facial masks, constructing the face super-resolution network FMANet, combining the main branch and sub-branch for collaborative training, and outputting both identity information and image quality High resolution face images.
It achieves the generation of high-resolution face images with identity information under extremely low-resolution face image input, improves the accuracy of face recognition, and supports up to 8 times the super-resolution reconstruction scale, which is suitable for various applications. place.
Smart Images

Figure CN114066729B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of facial image reconstruction, and in particular to a facial super-resolution reconstruction method capable of restoring identity information. Background Art
[0002] Face recognition is an identity recognition technology based on biometric information of the human face. It is widely used in security systems, public places, traffic entrances and exits, community access control and other living and working places. Compared with biometrics such as fingerprints, irises, and voices, face recognition has natural advantages such as non-contact, directness, and concealment, and is therefore the first choice for identity recognition applications. However, due to the constraints of the hardware conditions of the imaging equipment and the light environment during shooting, the collected face images often cannot meet the requirements of high resolution, which leads to the problem of low accuracy of existing face recognition algorithms under such unrestricted conditions.
[0003] Face super-resolution reconstruction technology is one of the important means to solve the above problems. That is, through super-resolution reconstruction technology, low-resolution face images are reconstructed into high-resolution face images, and then input into the face recognition algorithm for recognition. However, the existing face super-resolution reconstruction methods only focus on improving the quality (clarity) of the output face image, but ignore the restoration of the identity information contained in the low-resolution face image, which leads to the problem that the recognition rate of the restored high-resolution face image is still low. This phenomenon is particularly obvious for ultra-low resolution (14×14 pixels) face images. Because although the existing methods reconstruct seemingly good high-resolution face images, they do not restore the details of information such as identity features well. This is also a problem that needs to be urgently solved by the current face super-resolution reconstruction technology.
[0004] Based on the above discussion, a face super-resolution reconstruction method that can restore identity information is invented, which has high practical application value. Summary of the invention
[0005] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, and propose a super-resolution reconstruction method for faces that can restore identity information. By using a network sub-branch that can predict facial structure information (facial mask), the facial mask is integrated into the image reconstruction to assist the main branch of the network in clarifying the specific characteristics of the target face, including the shape and position of the facial contour, the shape and position of the facial features, so that the main branch network can focus on restoring the pixels in the facial area related to the identity features, thereby achieving the purpose of reconstructing a high-resolution face image with identity information. The face super-resolution reconstruction method of the present invention is suitable for extremely low-resolution (14×14 pixel) face image input, and can output a high-resolution face image with both identity information and image quality.
[0006] To achieve the above object, the technical solution provided by the present invention is: a face super-resolution reconstruction method capable of restoring identity information, comprising the following steps:
[0007] 1) Prepare training data, including low-resolution input image I LR , high-resolution target image I HR And according to the high-resolution target image I HR Generated target face mask m GT ;
[0008] 2) Construct a face super-resolution network FMANet, which can convert the low-resolution image I into LR Reconstructed into a high-resolution image I containing identity information SR ; The network consists of two collaborative branches, namely the main branch and the secondary branch; the main branch is used to extract the low-resolution input image I LR features and reconstruct the high-resolution image I SR ; The secondary branch takes the feature as input and outputs a facial mask with various sizes based on the input image to assist the main branch in reconstructing the image;
[0009] 3) The low-resolution image I in step 1) LR Send it to the face super-resolution network FMANet in step 2) to perform forward reasoning and obtain a high-resolution image I SR , and the facial mask m output by the secondary branch i ,i∈{1,2,3,1 up ,2 up ,1 upup}, where i represents the number of the facial mask, 1 up ,2 up ,1 upup Then they represent the subscripts of facial masks of different sizes;
[0010] 4) Based on the high-resolution image I in step 3) SR and face mask m i , and the set loss function calculates the total loss L Total , which includes the mask pixel loss L MaskPix , face mask loss L MaskMap and perceptual feature loss L PCP ;
[0011] 5) According to the total loss L in step 4) Total Optimize and update network parameters;
[0012] 6) According to the pre-set verification method and data set, test whether the performance of the optimized network meets the standard; if it meets the standard, stop training and use the network directly for face super-resolution reconstruction tasks in the future; if it does not meet the standard, repeat steps 1) to 6).
[0013] Further, in step 1), to obtain the training data, firstly, a high-resolution target image I is selected from the selected training data set. HR Then, according to the set zoom ratio and interpolation method, the high-resolution target image I HR Downsample to get a low-resolution input image I LR Finally, follow the steps below to generate the corresponding high-resolution target image I HR The target face mask m GT :
[0014] 1.1) Use a pre-set detection method to detect the high-resolution target image I HR Perform key point detection and obtain 68 facial key points;
[0015] 1.2) Initialize a target image I with the same size and high resolution HR The same single-channel blank image;
[0016] 1.3) On a blank image, the facial key points in step 1.1) are sequentially drawn as circles with a radius of 2 to obtain image A1;
[0017] 1.4) Performing a dilation operation with a kernel size of 3 on the image A1 in step 1.3) to obtain image A2;
[0018] 1.5) Performing another dilation operation with a kernel size of 3 on the image A2 in step 1.4) to obtain image A3;
[0019] 1.6) Performing a Gaussian blur operation with a kernel size of 3 on the image A3 in step 1.5) to obtain an image A4;
[0020] 1.7) Binarize the image A4 in step 1.6) and obtain the target facial mask m GT .
[0021] Furthermore, in step 2), the structure of the main branch is as follows:
[0022] Input: low-resolution image I LR
[0023] First layer: 3×3 convolutional layer;
[0024] Second layer: 3×3 convolutional layer;
[0025] The third layer: 2x upsampling layer;
[0026] The fourth layer: D residual dense blocks (RDBs) connected in series, where D is the number of RDBs.
[0027] Fifth layer: connection layer;
[0028] The sixth layer: 1×1 convolution layer;
[0029] The seventh layer: 3×3 convolution layer;
[0030] Layer 8: Connection layer;
[0031] Ninth layer: 2x upsampling layer;
[0032] The tenth layer: connection layer;
[0033] Eleventh layer: 2x upsampling layer;
[0034] Layer 12: connection layer;
[0035] Thirteenth layer: 3×3 convolutional layer;
[0036] Output: High resolution image I SR ;
[0037] The structure of the sub-branch is as follows:
[0038] Input: Output features F1, F2, F3 of the fifth, ninth and eleventh layers of the main branch;
[0039] First layer: three parallel HourGlass modules, which take F1, F2, and F3 as input and output three facial masks of different sizes: m1, m2, and m3;
[0040] The second layer: a pre-set interpolation function that takes m1 and m2 as input and outputs m with a size twice that of the input 1up 、m 2up ;
[0041] The third layer: pre-set interpolation function, with m 1up As input, the output size is twice the input size m 1upup ;
[0042] Output: face masks m with different sizes i ,i∈{1,2,3,1 up ,2 up ,1 upup}; Then, respectively [m1], [m 1up ,m2]、[m 1upup ,m 2up,m3] is sent to the eighth, tenth and twelfth layers of the main branch.
[0043] Further, in step 3), the face super-resolution network FMANet is used to process the low-resolution input image I LR Perform forward reasoning calculations, and the main branch outputs a high-resolution image I SR , the facial mask m output by the secondary branch i ,i∈{1,2,3,1 up ,2 up ,1 upup}.
[0044] Further, in step 4), the mask pixel loss L MaskPix The calculation formula is:
[0045]
[0046] Among them, H, W, and C are respectively the high-resolution target image I HR and the reconstructed high-resolution image I SR The height, width and number of color channels of ; d is the order of the norm operation; w MaskPix is the set hyperparameter; * is the pixel-level dot multiplication operation;
[0047] Face mask loss L MaskMap The calculation formula is:
[0048]
[0049] Among them, w i ,i∈{1,2,3} is the set weight value; is the L1 loss function; m i ,i∈{1,2,3} is the facial mask output by the secondary branch; corresponds to m i The target face mask is given by m GT Downsampling is obtained;
[0050] Perceptual feature loss L PCP The calculation formula is:
[0051]
[0052] Among them, R50 represents a set of 5 network layers pre-selected from the ResNet50 network. Represents the input high-resolution image I SR or high resolution target image I HR Transfer function to network layer j;
[0053] Total loss L Total The calculation formula is:
[0054] L Total =αL MaskPix +βL MaskMap +γL PCP
[0055] Among them, α, β, and γ are the weights of the above three losses respectively.
[0056] Furthermore, in step 5), the optimization and updating of the parameters include back-propagating the total loss obtained in step 4), calculating the gradient values of each parameter in the face super-resolution network FMANet, and finally updating the network parameters according to a pre-set optimization method.
[0057] Further, in step 6), the degree of restoration of identity information in low-resolution images by the face super-resolution network FMANet is mainly tested, that is, the preservation of face recognition performance of the generated high-resolution image is evaluated; after selecting the face data set for testing and the face recognition model for extracting features, the specific test steps are as follows:
[0058] 6.1) Downsample the images in the face dataset according to the set scaling factor to obtain a low-resolution image I LR ;
[0059] 6.2) The low-resolution image I in step 6.1) is LR Send it to the face super-resolution network FMANet to get a high-resolution image I with identity information SR ;
[0060] 6.3) The high-resolution image I obtained in step 6.2) is SR The face recognition model is fed in and features are extracted. Finally, the face recognition accuracy of the face super-resolution network FMANet on this dataset is calculated based on the features.
[0061] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0062] 1. The face super-resolution reconstruction method of the present invention not only outputs a high-resolution face image with good quality, but also restores the identity information contained in the low-resolution input image. This allows the present invention to better cooperate with existing face recognition algorithms, thereby achieving high accuracy in low-resolution face recognition scenarios.
[0063] 2. The present invention is applicable to face image input with ultra-low resolution (such as 14×14 pixels), and supports a maximum super-resolution reconstruction scale of 8 times.
[0064] 3. The network for face super-resolution reconstruction proposed in the present invention has the advantages of being lightweight and having simple training steps, and is easy to quickly transplant and deploy in various application scenarios.
[0065] 4. The high-resolution face images generated by the present invention can not only improve the accuracy of face recognition algorithms in low-resolution scenarios, but also improve the performance of other face analysis algorithms, such as face alignment, key point detection, 3D face reconstruction, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 This is a flow chart of face super-resolution network training in the method of the present invention.
[0067] Figure 2 A flow chart for generating training data in the method of the present invention.
[0068] Figure 3 This is a diagram of the face super-resolution network structure in the method of the present invention.
[0069] Figure 4 The figure is a flow chart of the calculation of the loss function in the method of the present invention. DETAILED DESCRIPTION
[0070] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0071] like Figures 1 to 4 As shown, the face super-resolution reconstruction method capable of restoring identity information provided in this example includes the following steps:
[0072] 1) The dataset selected for training is CASIA-WebFace, which contains 453,453 face image samples from 10,575 different identities. After preprocessing the images in the training dataset such as face detection and alignment, a batch of 32 images is randomly selected from them as the high-resolution target images I HR , where each image I HR The size is 112×112×3 (representing the length, width and number of color channels of the input image respectively), and the pixel value is a floating point number ranging from -1 to 1. HR , the bicubic interpolation algorithm is used to downsample it by 8 times to obtain a low-resolution face image I LR , whose size is 14×14×3. Figure 2 As shown, for each I HR Generate the corresponding target face mask m GT The steps are as follows:
[0073] 1.1) Use Face Alignment (FA) to align I HR Perform key point detection and obtain 68 facial key points;
[0074] 1.2) Initialize a size and I HR The same single-channel blank image;
[0075] 1.3) On a blank image, the facial key points in step 1.1) are sequentially drawn as circles with a radius of 2 to obtain image A1;
[0076] 1.4) Performing a dilation operation with a kernel size of 3 on the image A1 in step 1.3) to obtain image A2;
[0077] 1.5) Performing another dilation operation with a kernel size of 3 on the image A2 in step 1.4) to obtain image A3;
[0078] 1.6) Performing a Gaussian blur operation with a kernel size of 3 on the image A3 in step 1.5) to obtain an image A4;
[0079] 1.7) Binarize the image A4 in step 1.6) and obtain m GT ;
[0080] Among them, each m GT The size is 112×112×1, and its pixels are composed of 0 or 1. 0 means that the pixel at this position is not in the key area; vice versa.
[0081] 2) If Figure 3 As shown, the face super-resolution network FMANet proposed in the present invention includes two branches, a main branch and a secondary branch, which cooperate with each other.
[0082] The structure of the main branch is as follows:
[0083] Input: low-resolution image I LR , the shape is 14×14×3.
[0084] First layer: 3×3 convolutional layer with kernel (3,3), stride 1, number of filters 64, edge padding 1, and output shape 14×14×64.
[0085] Second layer: 3×3 convolutional layer with kernel (3,3), stride 1, number of filters 64, edge padding 1, and output shape 14×14×64.
[0086] The third layer is a 2x upsampling layer, in which the PixelShuffle module is used to achieve size expansion, and the output shape is 28×28×64.
[0087] The fourth layer: 16 RDBs (Residual Dense Blocks) connected in series. The number of input channels of each RDB is 64, the growth rate is 64, the number of dense layers is 8, and the output shape is 28×28×64.
[0088] The fifth layer: the connection layer connects the outputs of all RDBs in the fourth layer, and the output shape is 28×28×1024.
[0089] The sixth layer is a 1×1 convolution layer with a kernel of (1,1), a stride of 1, 64 filters, 0 edge padding, and an output shape of 28×28×64.
[0090] Layer 7: 3×3 convolutional layer with kernel (3,3), stride 1, number of filters 64, edge padding 1, and output shape 28×28×64.
[0091] The eighth layer is a connection layer that connects the output of the seventh layer and the output of the secondary branch [m1], with an output shape of 28×28×65.
[0092] The ninth layer is a 2x upsampling layer, in which the PixelShuffle module is used to achieve size expansion, and the output shape is 56×56×64.
[0093] The tenth layer: the connection layer, connecting the output of the ninth layer and the output of the secondary branch [m 1up ,m2], the output shape is 56×56×66.
[0094] Layer 11: 2x upsampling layer, in which the PixelShuffle module is used to achieve size expansion, and the output shape is 112×112×64.
[0095] The twelfth layer: the connection layer, connecting the output of the eleventh layer and the output of the secondary branch [m 1upup ,m 2up ,m3], the output shape is 112×112×67.
[0096] Layer 13: 3×3 convolutional layer with kernel (3,3), stride 1, number of filters 64, edge padding 1, and output shape 112×112×3.
[0097] Output: High resolution image I SR , the shape is 112×112×3.
[0098] The structure of the sub-branch is as follows:
[0099] Input: Output features F1, F2, F3 of the fifth, ninth and eleventh layers of the main branch. The shapes are 28×28×1024, 56×56×64 and 112×112×64 respectively.
[0100] First layer: three parallel HourGlass modules, all with a depth of 4, an output channel of 1, and an intermediate feature dimension of 64. These three modules take F1, F2, and F3 as input, and output three different sizes of facial masks m1, m2, and m3, with shapes of 28×28×1, 56×56×1, and 112×112×1, respectively.
[0101] The second layer: uses the nearest neighbor interpolation function, takes m1 and m2 as input, and outputs m with a size twice that of the input 1up , m 2up , the shapes are 56×56×1 and 112×112×1 respectively.
[0102] The third layer: using the nearest neighbor interpolation function, with m 1up As input, the output size is twice the input size m 1upup , the shape is 112×112×1.
[0103] Output: face masks m with different sizes i ,i∈{1,2,3,1 up ,2 up ,1 upup}. Then, [m1], [m 1up ,m2]、[m 1upup ,m 2up ,m3] is sent to the eighth, tenth and twelfth layers of the main branch.
[0104] 3) The low-resolution image I LR Input FMANet for forward reasoning calculation, and the main branch outputs a high-resolution image I SR , the facial mask m output by the secondary branch i ,i∈{1,2,3,1 up ,2 up ,1 upup}.
[0105] 4) According to the results obtained in step 3), calculate the following three losses respectively, and then calculate the total loss. The calculation process is as follows: Figure 4 shown.
[0106] Mask pixel loss L MaskPix Calculation formula:
[0107]
[0108] Where H = 112, W = 112, C = 3 are high-definition target images I HR and the reconstructed high-resolution image I SRThe height, width and number of color channels of . d = 1 is the order of the norm operation. MaskPix =1.5 is the set hyperparameter. * is the pixel-level dot multiplication operation.
[0109] Face mask loss L MaskMap The calculation formula is:
[0110]
[0111] where w i ,i∈{1,2,3} is the set weight value, which is set to 2,1,2 respectively; is the L1 loss function, m i ,i∈{1,2,3} is the facial mask output by the secondary branch, corresponds to m i The target face mask is given by m GT Downsampling obtained.
[0112] Perceptual feature loss L PCP The calculation formula is:
[0113]
[0114] R50 represents the set of 5 network layers from the ResNet50 network (the last convolutional layer of the 5 modules in the network). Represents the input image I SR or I HR Transfer function to network layer j.
[0115] Total loss L Total The calculation formula is:
[0116] L Total =αL MaskPix +βL MaskMap +γL PCP
[0117] Among them, α=200, β=100, and γ=1 are the weights of the above three losses respectively.
[0118] 5) Select the learning rate as 1e-5 and the parameter optimizer as Adam. According to the total loss L obtained in step 4) Total Perform back propagation and calculate the gradient values of each parameter in FMANet, and finally update the network parameters.
[0119] 6) The main test is to test the degree of restoration of identity information in low-resolution images by the face super-resolution network FMANet, that is, to evaluate the preservation of face recognition performance for the generated high-resolution images. The face datasets selected for testing are LFW, Age DB and CFP-FP, and the target performance indicators of FMANet on these three datasets are set to 99%, 97% and 95% respectively. ResNet100 is selected as the face recognition model and used to extract features. The specific test steps are:
[0120] 6.1) Downsample the images in the test dataset by 8 times to obtain low-resolution image I LR .
[0121] 6.2) The low-resolution image I in step 6.1) is LR Send to FMANet to get high-resolution image I with identity information SR .
[0122] 6.3) The high-resolution image I obtained in step 6.2) is SR The face recognition model is fed in and features are extracted. Finally, the face recognition accuracy of FMANet on this test dataset is calculated based on the features.
[0123] Based on the accuracy obtained in the above test process, determine whether it has reached the target performance. If it has, stop training and use the network directly for face super-resolution reconstruction tasks in the later stage. If it has not, repeat steps 1) to 6).
[0124] 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 super-resolution reconstruction method for faces capable of restoring identity information, characterized in that: The following steps are involved: 1) Prepare training data, including low-resolution input image I LR , high-resolution target image I HR And according to the high-resolution target image I HR Generated target face mask m GT ; 2) Construct a face super-resolution network FMANet, which can convert the low-resolution image I into LR Reconstructed into a high-resolution image I containing identity information SR ; The network consists of two collaborative branches, namely the main branch and the secondary branch; the main branch is used to extract the low-resolution input image I LR features and reconstruct the high-resolution image I SR The secondary branch takes the low-resolution input image I LR The extracted features are taken as input, and face masks with various sizes based on the input image are output to assist the main branch in reconstructing the image; 3) The low-resolution image I in step 1) LR Send it to the face super-resolution network FMANet in step 2) to perform forward reasoning and obtain a high-resolution image I SR , and the facial mask m output by the secondary branch i ,i∈{1,2,3,1 up ,2 up ,1 upup }, where i represents the number of the facial mask, 1 up ,2 up ,1 upup Then they represent the subscripts of facial masks of different sizes; 4) Based on the high-resolution image I in step 3) SR and face mask m i , and the set loss function calculates the total loss L Total , which includes the mask pixel loss L MaskPix , face mask loss L MaskMap and perceptual feature loss L PCP ; The mask pixel loss L MaskPix The calculation formula is: Among them, H, W, and C are the high-resolution target image I HR and the reconstructed high-resolution image I SR The height, width and number of color channels of ; d is the order of the norm operation; w MaskPix is the set hyperparameter; * is the pixel-level dot multiplication operation; Face mask loss L MaskMap The calculation formula is: Among them, w i ,i∈{1,2,3} is the set weight value; is the L1 loss function; m i ,i∈{1,2,3} is the facial mask output by the secondary branch; corresponds to m i The target face mask is given by m GT Downsampling is obtained; Perceptual feature loss L PCP The calculation formula is: Among them, R50 represents a set of 5 network layers pre-selected from the ResNet50 network. Represents the input high-resolution image I SR or high resolution target image I HR Transfer function to network layer j; Total loss L Total The calculation formula is: L Total =αL MaskPix +βL MaskMap +γL PCP Among them, α, β, and γ are the weights of the above three losses respectively; 5) According to the total loss L in step 4) Total Optimize and update network parameters; 6) According to the pre-set verification method and data set, test whether the performance of the optimized face super-resolution network FMANet meets the standard; if it meets the standard, stop training, and directly use the face super-resolution network FMANet to perform the face super-resolution reconstruction task in the later stage; if it does not meet the standard, repeat steps 1) to 6); Test the degree to which the face super-resolution network FMANet can restore identity information in low-resolution images, that is, evaluate the degree to which the generated high-resolution images preserve face recognition performance; after selecting the face dataset for testing and the face recognition model for feature extraction, the specific test steps are as follows: 6.1) Downsample the images in the face dataset according to the set scaling factor to obtain a low-resolution image I LR ; 6.2) The low-resolution image I in step 6.1) is LR Send it to the face super-resolution network FMANet to get a high-resolution image I with identity information SR ; 6.3) The high-resolution image I obtained in step 6.2) is SR The face recognition model is fed in and features are extracted. Finally, the face recognition accuracy of the face super-resolution network FMANet on this dataset is calculated based on the features.
2. The method for super-resolution reconstruction of a face capable of restoring identity information according to claim 1, characterized in that, in step 1), to obtain the training data, firstly, a high-resolution target image I is selected from the selected training data set. HR Then, according to the set zoom ratio and interpolation method, the high-resolution target image I HR Downsample to get a low-resolution input image I LR Finally, follow the steps below to generate the corresponding high-resolution target image I HR The target face mask m GT : 1.1) Use a pre-set detection method to detect the high-resolution target image I HR Perform key point detection and obtain 68 facial key points; 1.2) Initialize a target image I with the same size and high resolution HR The same single-channel blank image; 1.3) On a blank image, the facial key points in step 1.1) are sequentially drawn as circles with a radius of 2 to obtain image A1; 1.4) Performing a dilation operation with a kernel size of 3 on the image A1 in step 1.3) to obtain image A2; 1.5) Performing another dilation operation with a kernel size of 3 on the image A2 in step 1.4) to obtain image A3; 1.6) Performing a Gaussian blur operation with a kernel size of 3 on the image A3 in step 1.5) to obtain an image A4; 1.7) Binarize the image A4 in step 1.6) and obtain the target facial mask m GT .
3. The method for super-resolution reconstruction of a face capable of restoring identity information according to claim 1, characterized in that, in step 2), the structure of the main branch is as follows: Input: low-resolution image I LR First layer: 3×3 convolutional layer; Second layer: 3×3 convolutional layer; The third layer: 2x upsampling layer; The fourth layer: D residual dense modules RDB connected in series, where D is the number of set RDBs; Fifth layer: connection layer; The sixth layer: 1×1 convolution layer; The seventh layer: 3×3 convolution layer; Layer 8: Connection layer; Ninth layer: 2x upsampling layer; The tenth layer: connection layer; Eleventh layer: 2x upsampling layer; Layer 12: connection layer; Thirteenth layer: 3×3 convolutional layer; Output: High resolution image I SR ; The structure of the sub-branch is as follows: Input: Output features F1, F2, F3 of the fifth, ninth and eleventh layers of the main branch; First layer: three parallel HourGlass modules, which take F1, F2, and F3 as input and output three facial masks of different sizes: m1, m2, and m3; The second layer: a pre-set interpolation function that takes m1 and m2 as input and outputs m with a size twice that of the input 1up 、m 2up ; The third layer: pre-set interpolation function, with m 1up As input, the output size is twice the input size m 1upup ; Output: face masks m with different sizes i ,i∈{1,2,3,1 up ,2 up ,1 upup }; Then, respectively [m1], [m 1up ,m2]、[m 1upup ,m 2up ,m3] is sent to the eighth, tenth and twelfth layers of the main branch.
4. The method for super-resolution reconstruction of a face capable of restoring identity information according to claim 1, characterized in that, in step 3), a face super-resolution network FMANet is used to reconstruct the low-resolution input image I LR Perform forward reasoning calculations, and the main branch outputs a high-resolution image I SR , the facial mask m output by the secondary branch i ,i∈{1,2,3,1 up ,2 up ,1 upup }.
5. According to the method for super-resolution reconstruction of a face that can restore identity information as described in claim 1, it is characterized in that, in step 5), the optimization and updating of parameters include back-propagating the total loss obtained in step 4), calculating the gradient values of each parameter in the face super-resolution network FMANet, and finally updating the network parameters according to a pre-set optimization method.
