The present application relates to a facial recognition method and apparatus, an electronic device, and a non-volatile computer readable storage medium, belonging to the field of facial recognition technology. Said method comprises: when a first facial image is received, detecting key points; acquiring a recognition score of each detectable key point and the serial numbers of missing key points; acquiring an impact score of a region where part of facial features are blocked on the face to be recognized; when the impact score is greater than a predetermined score threshold, acquiring a plurality of target key points having a predetermined facial feature association relationship with the missing key points among a plurality of detectable key points; acquiring a target facial feature template of which the degree of combination thereof with the positions of the plurality of target key points is greater than a predetermined combination degree threshold; and stitching the target facial feature template with the first facial image to obtain a second facial image, so as to perform facial recognition after detecting all the key points according to the second facial image. In the present application, when a facial feature is missing, accurate feature supplementation is performed, thereby efficiently and accurately performing facial recognition.
FACIAL RECOGNITION METHOD AND APPARATUS, ELECTRONIC DEVICE AND NON-VOLATILE COMPUTER READABLE STORAGE MEDIUM