CPC G06V 10/751 (2022.01) [G06V 10/761 (2022.01); G06V 10/774 (2022.01); G06V 10/776 (2022.01); G06V 10/7715 (2022.01); G06V 40/168 (2022.01); G06V 40/172 (2022.01)] | 20 Claims |
1. A face recognition method, performed by a computer device, the method comprising:
performing feature extraction on a target face image in a hyperspherical space, to obtain a first feature image corresponding to the target face image and a first feature vector corresponding to the first feature image, wherein the first feature image is obtained by mapping face features of the target face image to the hyperspherical space;
processing the first feature image, to obtain a first feature value corresponding to the first feature image, the first feature value representing a degree of difference between a face feature comprised in the first feature image and a face feature of the target face image;
obtaining a similarity between the target face image and a template face image according to the first feature vector, the first feature value, a second feature vector, and a second feature value, the second feature vector being a feature vector corresponding to a second feature image of the template face image, the second feature image being obtained by mapping face features of the template face image to the hyperspherical space, the second feature value being a feature value corresponding to the second feature image, the second feature value representing a degree of difference between a face feature comprised in the second feature image and a face feature of the template face image; and
determining, when the similarity is greater than a preset threshold, that the target face image matches the template face image.
|