Patent attributes
Embodiments of the present disclosure disclose a method and apparatus for facial recognition. A specific embodiment of the method comprises: extracting a to-be-recognized dark light image captured in a dark light environment; inputting the dark light image into a pre-trained first convolutional neural network to obtain a target image after the dark light image is preprocessed, the first convolutional neural network being used to preprocess the dark light image; and inputting the target image into a pre-trained second convolutional neural network to obtain a facial recognition result, the second convolutional neural network being used to represent a corresponding relationship between the image and the facial recognition result. This embodiment improves accuracy of the facial recognition on the image captured in the dark light environment.