Method and apparatus for recognizing face
First Claim
1. A method for recognizing a face, the method comprising:
- 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, the real face prediction value calculation model being used to represent a corresponding relationship between the at least two facial images, the at least one difference image, the facial contour image and the real face prediction value; 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.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
-
Citations
15 Claims
-
1. A method for recognizing a face, the method comprising:
-
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, the real face prediction value calculation model being used to represent a corresponding relationship between the at least two facial images, the at least one difference image, the facial contour image and the real face prediction value; 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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for recognizing a face, the apparatus comprising:
-
at least one processor; and a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising; 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, the real face prediction value calculation model being used to represent a corresponding relationship between the at least two facial images, the at least one difference image, the facial contour image and the real face prediction value; 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. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. 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:
-
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, the real face prediction value calculation model being used to represent a corresponding relationship between the at least two facial images, the at least one difference image, the facial contour image and the real face prediction value; 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.
-
Specification