CN111046707A - Face restoration network in any posture based on facial features - Google Patents

Face restoration network in any posture based on facial features Download PDF

Info

Publication number
CN111046707A
CN111046707A CN201811195584.7A CN201811195584A CN111046707A CN 111046707 A CN111046707 A CN 111046707A CN 201811195584 A CN201811195584 A CN 201811195584A CN 111046707 A CN111046707 A CN 111046707A
Authority
CN
China
Prior art keywords
network
face
attitude angle
discriminator
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811195584.7A
Other languages
Chinese (zh)
Inventor
徐江涛
史兴萍
王瑞硕
夏梦真
李凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University Marine Technology Research Institute
Original Assignee
Tianjin University Marine Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University Marine Technology Research Institute filed Critical Tianjin University Marine Technology Research Institute
Priority to CN201811195584.7A priority Critical patent/CN111046707A/en
Publication of CN111046707A publication Critical patent/CN111046707A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks

Abstract

A front face restoration network with any posture based on facial features aims to overcome the defects of the existing posture correction problem and mainly aims to perform front face restoration on a side face image with an unknown posture angle by using a feature extraction method and the like so as to obtain a front face image which is closer to an original target front face. The neural network obtains the range of the attitude angle by utilizing the self advantages of the generative confrontation network and combining the geometric characteristics and the geometric relation judgment, and can restore a relatively real frontal image on the premise of unknown attitude angle.

Description

Face restoration network in any posture based on facial features
Technical Field
The invention relates to the field of pattern recognition, in particular to an arbitrary-posture face restoration network based on facial features in face detection and face recognition applications.
Background
Multi-pose face recognition is one of the key points of current machine learning and neural network research. For face recognition, a good posture can greatly improve the recognition accuracy, and meanwhile, the problems of shielding, illumination and the like can be more easily processed by a recognition algorithm. However, in practical applications, it is difficult for the camera to obtain a normal alignment frontal face image, which presents a technical challenge to the face pose correction.
Currently, researchers have conducted some research on human face posture correction, which is mainly divided into two ideas, two-dimensional (2D) and three-dimensional (3D). The two-dimensional idea is that a three-dimensional modeling is not performed, and the side face is gradually restored by a traditional algorithm, such as stacking step-by-step self-coding and the like, or a front face image is restored by performing feature reconstruction by using a deep convolutional neural network. The three-dimensional modeling method is used for carrying out three-dimensional modeling on the human face through a large amount of calculation and the symmetry of the human face, and the method is large in calculation amount and general in effect expression. At present, algorithms with better conversion effect mostly use a generative countermeasure network to recover under the premise of knowing an attitude angle. But the actual need is often in the case of unknown poses.
Generative countermeasure networks were first introduced in 2014, and have become one of the most widely used neural network architectures in the image processing field for as short as a few years. The generation type countermeasure network is composed of a generator G and a discriminator D, the generator is used for generating an image of a target, the discriminator is used for judging whether the input image is a real image or the image generated by the generator, the two independent networks are mutually gambled, and finally the performance of the two independent networks is improved.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a face-righting neural network based on any posture of facial features, and aims to overcome the defects of the existing posture correction problem, and mainly aims to perform face-righting restoration on a side face image with an unknown posture angle by using a feature extraction method and other methods so as to obtain a face-righting image which is closer to an original target face. The neural network obtains the range of the attitude angle by utilizing the self advantages of the generative confrontation network and combining with one-step geometric characteristics and geometric relation judgment, and can restore a relatively real frontal face image on the premise of unknown attitude angle.
(1) Integral structure design of any-posture face restoration network based on facial features
The network is designed based on a traditional generation type countermeasure network, and takes a generator G and a discriminator D as main parts, as shown in the figure I. The example picture is from a MultiPIE dataset. Inputting a side face image from a MultiPIE data set, performing feature extraction, acquiring feature regions of eyes, a nose and a mouth, positioning a central point, analyzing a geometric relationship, and acquiring an attitude angle; inputting the attitude angle and the original side face into a generator G to generate a front face image; and then inputting the generated front face image into a discriminator D, wherein the input of the discriminator D also comprises an original front face image, the result is fed back to a generator G after being distinguished by the discriminator D, and then the network is reversely differentiated to gradually improve the network. Through the GAN-based network training, the face image with unknown attitude angle can be restored to a face image which is closer to a real face.
(2) Attitude angle calculation algorithm
The attitude angle, namely the deflection angle of the face relative to the standard frontal direction, can be respectively rotated from 0 degree to the left and right directions, and can reach 180 degrees at most, but from the practical value of face detection and recognition, only the rotation problem within 90 degrees is generally considered. When using geometric features for pose calculation, the facial features mainly include 5 parts of eyebrows, eyes, nose, mouth and cheeks, and sometimes also pupil and nostril positions.
In the aspect of attitude angle calculation, the method can be realized by a convolutional neural network, and the network structure is shown in figure two. A modified linear unit (ReLU) function is adopted between each layer for activation, and the modified linear unit (ReLU) function is a simple linear modification function, is suitable for being applied to a convolutional neural network, and can effectively reduce the calculation amount. The function expression is shown as formula (1):
Figure 848235DEST_PATH_IMAGE001
(1)
the function input is the calculation result of the current layer, and the output is input to the lower layer network.
Although the neural network is performing image processing, the final output is an acceptable attitude angle value, so that no complex calculation is needed in the aspect of the loss function, and a traditional loss function is applied, as shown in formula (2):
Figure 276811DEST_PATH_IMAGE002
(2)
y is the ideal value after normalization,
Figure 20776DEST_PATH_IMAGE003
is the normalized attitude angle expression calculated by the neural network; after training is completed, other data are adopted for testing, and the problems of overfitting and the like are avoided.
(3) Generating and discriminating network designs
For generating a network, its input contains two aspects, one being the original side-face image and the other being the pose angle calculated by the previous network. Both the two input information are effectively utilized in the generator to ensure that the synthesized front face approaches the real state as much as possible. The face synthesis can be regarded as an algorithm of face completion, so that the bilateral symmetry of the face can be fully utilized. And combining the attitude angle and the encoded side face image function by using encoding and decoding, and then decoding to obtain a converted front face image. The whole structure is shown in figure three. For the discriminator, the following formula is used for determination:
Figure 133088DEST_PATH_IMAGE004
(3)
x is the discriminator input, c is the attitude angle; where the function d (x) is the result of the discriminator determining the input image x, Did and Dip are the i-th elements in Dd and Dp. The first equation calculates the maximum probability that x is classified as a true identity. The second equation calculates the maximum probability that x is classified as a false class. Where c is the attitude angle, function, calculated from the previous network
Figure 186364DEST_PATH_IMAGE005
The representation generator supplements the picture generated by the attitude angle information. The ultimate purpose of the formula is to obtain
Figure 384127DEST_PATH_IMAGE006
Is maximized.
According to the novel neural network structure of the GAN, the invention can realize the posture judgment and the face synthesis of the human face with unknown posture by fully utilizing the correlation among data. The posture judgment and the face correction are realized separately in the design of the network, and the two networks can be trained separately, so that the training time can be effectively reduced. In the aspect of posture correction, a multilayer convolutional neural network is adopted, the characteristics of the human face are fully utilized to obtain a posture angle, and a linear activation function is adopted, so that the calculation of the neural network can be efficiently simplified. In the design of the generator, an algorithm of encoding, adding attitude angle and decoding is adopted, two data with different dimensions of the attitude and the side face image can be integrated, and the processing efficiency of the system is improved.
Drawings
FIG. 1 is an overall structural design of an arbitrary pose frontal face reduction network based on facial features;
FIG. 2 is a training network structure for attitude angle calculation;
fig. 3 is a GAN network structure.
Detailed Description
The invention will be further described with reference to the following figures and specific examples, but the scope of the invention is not limited thereto.
Under the condition of unknown attitude angle, the method fully utilizes the geometric relation of facial organs, learns the mathematical relation among the facial organs, the outline and the attitude angle through a convolution neural network, and obtains a more reliable attitude angle. In the design of the generative countermeasure network, the image is a two-dimensional array, and the attitude angle is a constant, so that the idea of encoding, adding the attitude angle and decoding is adopted, and data with two different dimensions, namely the attitude angle and the image, are merged.
According to the face recognition data set published at present, in the aspect of relevant research on a side face, the MultiPIE data set is the most authoritative and abundant, and is a large data set with 750,000 images and used for face recognition under the condition of posture, illumination and expression change.

Claims (3)

1. An arbitrary posture face restoration neural network based on facial features, characterized in that: on the basis of a traditional generation type countermeasure network in design, a generator G and a discriminator D are used as main parts, side face images from a MultiPIE data set are input, feature extraction is carried out, feature areas of eyes, a nose and a mouth are obtained, a central point is located, geometric relations are analyzed, and a posture angle is obtained; inputting the attitude angle and the original side face into a generator G to generate a front face image; inputting the generated front face image into a discriminator D, wherein the input of the discriminator D also comprises an original front face image, the result is fed back to a generator G after being distinguished by the discriminator D, and then the network is reversely derived to gradually improve the network; through the GAN-based network training, the face image with unknown attitude angle can be restored to a face image which is closer to a real face.
2. The facial feature-based arbitrary pose frontal face reduction neural network of claim 1, wherein: the posture angle, namely the deflection angle of the human face relative to the standard frontal direction, can be respectively rotated from 0 degree to the left and right directions, and can reach 180 degrees at most, and we only consider the rotation problem within 90 degrees generally, when the posture calculation is carried out by utilizing the geometric characteristics, the human face characteristics mainly comprise 5 parts of eyebrows, eyes, nose, mouth and cheek, and sometimes comprise the positions of pupils and nostrils; in the aspect of attitude angle calculation, a convolutional neural network can be used for realizing, each layer is activated by adopting a modified linear unit function, and the function expression is shown as formula (1):
Figure 425396DEST_PATH_IMAGE001
(1)
the function input is the calculation result of the current layer, and the output is input to the lower layer network;
although the neural network is performing image processing, the final output is an acceptable attitude angle value, so that no complex calculation is needed in the aspect of the loss function, the traditional loss function is applied, and as shown in formula (2), y is an ideal value after normalization,
Figure 969641DEST_PATH_IMAGE002
normalized attitude angle expression calculated by neural network
Figure 776055DEST_PATH_IMAGE003
(2)
After training is completed, other data are adopted for testing, and the problems of overfitting and the like are avoided.
3. The facial feature-based arbitrary pose frontal face reduction neural network of claim 1, wherein: for generating a network, its input contains two aspects, one is the original side face image, and the other is the pose angle calculated by the previous network; the two input information are effectively utilized in the generator to ensure that the synthesized front face approaches to a real state as much as possible; the front face synthesis can be regarded as an algorithm of face completion, so that the bilateral symmetry of the face can be fully utilized; combining the attitude angle with the encoded side face image function by using encoding and decoding, and then decoding to obtain a converted front face image; for the discriminator, the decision is made using the following equation, x being the discriminator input, c being the attitude angle:
Figure 405750DEST_PATH_IMAGE005
(3)
wherein the function D (x) is the result of the discriminator judging the input image x, Did and Dip are the ith elements in Dd and Dp;
the first equation calculates the maximum probability that x is classified as a true identity; the second equation calculates the maximum probability that x is classified as a false class; where c is the attitude angle, function, calculated from the previous network
Figure 205079DEST_PATH_IMAGE006
A picture generated by the representation generator with the aid of the attitude angle information; the final purpose of the formula is to obtain
Figure DEST_PATH_IMAGE007
Is maximized.
CN201811195584.7A 2018-10-15 2018-10-15 Face restoration network in any posture based on facial features Pending CN111046707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811195584.7A CN111046707A (en) 2018-10-15 2018-10-15 Face restoration network in any posture based on facial features

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811195584.7A CN111046707A (en) 2018-10-15 2018-10-15 Face restoration network in any posture based on facial features

Publications (1)

Publication Number Publication Date
CN111046707A true CN111046707A (en) 2020-04-21

Family

ID=70230050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811195584.7A Pending CN111046707A (en) 2018-10-15 2018-10-15 Face restoration network in any posture based on facial features

Country Status (1)

Country Link
CN (1) CN111046707A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353336A (en) * 2018-12-21 2020-06-30 华为技术有限公司 Image processing method, device and equipment
CN111523497A (en) * 2020-04-27 2020-08-11 深圳市捷顺科技实业股份有限公司 Face correction method and device and electronic equipment
CN111539337A (en) * 2020-04-26 2020-08-14 上海眼控科技股份有限公司 Vehicle posture correction method, device and equipment
CN111932442A (en) * 2020-07-15 2020-11-13 厦门真景科技有限公司 Video beautifying method, device and equipment based on face recognition technology and computer readable storage medium
CN112164002A (en) * 2020-09-10 2021-01-01 深圳前海微众银行股份有限公司 Training method and device for face correction model, electronic equipment and storage medium
WO2022156044A1 (en) * 2021-01-22 2022-07-28 逆可网络科技有限公司 Measurement method for instantly obtaining actual size of online object

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030235332A1 (en) * 2002-06-20 2003-12-25 Moustafa Mohamed Nabil System and method for pose-angle estimation
EP2869239A2 (en) * 2013-11-04 2015-05-06 Facebook, Inc. Systems and methods for facial representation
CN106682598A (en) * 2016-12-14 2017-05-17 华南理工大学 Multi-pose facial feature point detection method based on cascade regression
CN106874861A (en) * 2017-01-22 2017-06-20 北京飞搜科技有限公司 A kind of face antidote and system
CN106909904A (en) * 2017-03-02 2017-06-30 中科视拓(北京)科技有限公司 It is a kind of based on the face front method that can learn Deformation Field
WO2017131672A1 (en) * 2016-01-27 2017-08-03 Hewlett Packard Enterprise Development Lp Generating pose frontalized images of objects
CN107437077A (en) * 2017-08-04 2017-12-05 深圳市唯特视科技有限公司 A kind of method that rotation face based on generation confrontation network represents study
CN107729838A (en) * 2017-10-12 2018-02-23 中科视拓(北京)科技有限公司 A kind of head pose evaluation method based on deep learning
CN108197547A (en) * 2017-12-26 2018-06-22 深圳云天励飞技术有限公司 Face pose estimation, device, terminal and storage medium
CN108197525A (en) * 2017-11-20 2018-06-22 中国科学院自动化研究所 Face image synthesis method and device
CN108229313A (en) * 2017-11-28 2018-06-29 北京市商汤科技开发有限公司 Face identification method and device, electronic equipment and computer program and storage medium
CN108304829A (en) * 2018-03-08 2018-07-20 北京旷视科技有限公司 Face identification method, apparatus and system
CN108334816A (en) * 2018-01-15 2018-07-27 桂林电子科技大学 The Pose-varied face recognition method of network is fought based on profile symmetry constraint production
CN108470328A (en) * 2018-03-28 2018-08-31 百度在线网络技术(北京)有限公司 Method and apparatus for handling image
CN108491775A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of image correcting method and mobile terminal
CN108537743A (en) * 2018-03-13 2018-09-14 杭州电子科技大学 A kind of face-image Enhancement Method based on generation confrontation network
US20180268201A1 (en) * 2017-03-15 2018-09-20 Nec Laboratories America, Inc. Face recognition using larger pose face frontalization

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030235332A1 (en) * 2002-06-20 2003-12-25 Moustafa Mohamed Nabil System and method for pose-angle estimation
EP2869239A2 (en) * 2013-11-04 2015-05-06 Facebook, Inc. Systems and methods for facial representation
WO2017131672A1 (en) * 2016-01-27 2017-08-03 Hewlett Packard Enterprise Development Lp Generating pose frontalized images of objects
CN106682598A (en) * 2016-12-14 2017-05-17 华南理工大学 Multi-pose facial feature point detection method based on cascade regression
CN106874861A (en) * 2017-01-22 2017-06-20 北京飞搜科技有限公司 A kind of face antidote and system
CN106909904A (en) * 2017-03-02 2017-06-30 中科视拓(北京)科技有限公司 It is a kind of based on the face front method that can learn Deformation Field
US20180268201A1 (en) * 2017-03-15 2018-09-20 Nec Laboratories America, Inc. Face recognition using larger pose face frontalization
CN107437077A (en) * 2017-08-04 2017-12-05 深圳市唯特视科技有限公司 A kind of method that rotation face based on generation confrontation network represents study
CN107729838A (en) * 2017-10-12 2018-02-23 中科视拓(北京)科技有限公司 A kind of head pose evaluation method based on deep learning
CN108197525A (en) * 2017-11-20 2018-06-22 中国科学院自动化研究所 Face image synthesis method and device
CN108229313A (en) * 2017-11-28 2018-06-29 北京市商汤科技开发有限公司 Face identification method and device, electronic equipment and computer program and storage medium
CN108197547A (en) * 2017-12-26 2018-06-22 深圳云天励飞技术有限公司 Face pose estimation, device, terminal and storage medium
CN108334816A (en) * 2018-01-15 2018-07-27 桂林电子科技大学 The Pose-varied face recognition method of network is fought based on profile symmetry constraint production
CN108304829A (en) * 2018-03-08 2018-07-20 北京旷视科技有限公司 Face identification method, apparatus and system
CN108491775A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of image correcting method and mobile terminal
CN108537743A (en) * 2018-03-13 2018-09-14 杭州电子科技大学 A kind of face-image Enhancement Method based on generation confrontation network
CN108470328A (en) * 2018-03-28 2018-08-31 百度在线网络技术(北京)有限公司 Method and apparatus for handling image

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LUAN TRAN, ET AL.: "Disentangled Representation Learning GAN for Pose-Invariant Face Recognition" *
RUI HUANG, ET AL.: "Beyond Face Rotation: Global and Local Perception GAN for Photorealistic and Identity Preserving Frontal View Synthesis" *
张卫;马丽;黄金;: "基于生成式对抗网络的人脸识别开发" *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353336A (en) * 2018-12-21 2020-06-30 华为技术有限公司 Image processing method, device and equipment
CN111353336B (en) * 2018-12-21 2024-04-12 华为技术有限公司 Image processing method, device and equipment
CN111539337A (en) * 2020-04-26 2020-08-14 上海眼控科技股份有限公司 Vehicle posture correction method, device and equipment
CN111523497A (en) * 2020-04-27 2020-08-11 深圳市捷顺科技实业股份有限公司 Face correction method and device and electronic equipment
CN111523497B (en) * 2020-04-27 2024-02-27 深圳市捷顺科技实业股份有限公司 Face correction method and device and electronic equipment
CN111932442A (en) * 2020-07-15 2020-11-13 厦门真景科技有限公司 Video beautifying method, device and equipment based on face recognition technology and computer readable storage medium
CN112164002A (en) * 2020-09-10 2021-01-01 深圳前海微众银行股份有限公司 Training method and device for face correction model, electronic equipment and storage medium
WO2022052530A1 (en) * 2020-09-10 2022-03-17 深圳前海微众银行股份有限公司 Method and apparatus for training face correction model, electronic device, and storage medium
CN112164002B (en) * 2020-09-10 2024-02-09 深圳前海微众银行股份有限公司 Training method and device of face correction model, electronic equipment and storage medium
WO2022156044A1 (en) * 2021-01-22 2022-07-28 逆可网络科技有限公司 Measurement method for instantly obtaining actual size of online object

Similar Documents

Publication Publication Date Title
CN111046707A (en) Face restoration network in any posture based on facial features
CN110348330B (en) Face pose virtual view generation method based on VAE-ACGAN
CN107085716B (en) Cross-view gait recognition method based on multi-task generation countermeasure network
Liu et al. Hard negative generation for identity-disentangled facial expression recognition
CN108921100B (en) Face recognition method and system based on visible light image and infrared image fusion
CN111652827B (en) Front face synthesis method and system based on generation countermeasure network
CN110991281B (en) Dynamic face recognition method
CN112418041B (en) Multi-pose face recognition method based on face orthogonalization
Yang et al. Facial expression recognition based on dual-feature fusion and improved random forest classifier
CN105117712A (en) Single-sample human face recognition method compatible for human face aging recognition
Fan et al. Dual neural networks coupling data regression with explicit priors for monocular 3D face reconstruction
Perez et al. Local matching Gabor entropy weighted face recognition
CN105893941B (en) A kind of facial expression recognizing method based on area image
CN113947794A (en) Fake face changing enhancement detection method based on head posture deviation correction
Garg et al. Facial expression recognition & classification using hybridization of ICA, GA, and neural network for human-computer interaction
CN114283265A (en) Unsupervised face correcting method based on 3D rotation modeling
Oravec et al. Efficiency of recognition methods for single sample per person based face recognition
CN113705466A (en) Human face facial feature occlusion detection method used for occlusion scene, especially under high-imitation occlusion
Xu et al. Feature-level fusion method based on KFDA for multimodal recognition fusing ear and profile face
Tin et al. Gender and age estimation based on facial images
Wang et al. Handling occlusion and large displacement through improved RGB-D scene flow estimation
Farahanipad et al. GAN-based face reconstruction for masked-face
Teng et al. Unimodal face classification with multimodal training
Wang et al. Improvement of face recognition by eyeglass removal
Gona et al. Multimodal biometric reorganization system using deep learning convolutional neural network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination