Method and apparatus for recognizing face
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorsDingfu Zhou, Ruigang Yang, Yanfu Zhang, Zhibin Hong
Life of this patent
Estimating the term…
Loading patent…
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorsDingfu Zhou, Ruigang Yang, Yanfu Zhang, Zhibin Hong
Estimating the term…
Embodiments of the present disclosure disclose a method and apparatus for recognizing a face. A specific embodiment of the method includes: acquiring at least two facial images of a to-be-recognized face under different illuminations using a near-infrared photographing device; generating at least one difference image based on a brightness difference between each two of the at least two facial images; determining a facial contour image of the to-be-recognized, face based on the at least one difference image; inputting the at least two facial images, the at least one difference image, and the facial contour image into a pre-trained real face prediction value calculation model to obtain a real face prediction value of the to-be-recognized face; and outputting prompt information for indicating successful recognition of a real face, in response to determining the obtained real face prediction value being greater than a preset threshold.
A method for recognizing a face, the method comprising:
An apparatus for recognizing a face, the apparatus comprising:
The apparatus according to claim wherein the inputting the at least two facial images, the at least one difference image, and the facial contour image into a pre-trained real face prediction value calculation model to obtain a real face prediction value of the to-be-recognized face, comprises:
A non-transitory computer storage medium storing a computer program the computer program when executed by one or more processors, causes the one or more processors to perform operations, the operations comprising:
Dependencies are inferred from the claim text.