The invention discloses a face recognition method and device, equipment and a storage medium, and relates to the technical field of
machine learning, and the method comprises the steps: collecting historical face data samples to obtain a face information sample set, and carrying out the clustering
processing of the face information sample set through a clustering
algorithm, so as to obtain a plurality of sample clusters; respectively determining farthest adjacent samples in each sample cluster, and constructing an
outlier sample set and each normal sample set; obtaining to-be-recognized face data to obtain a current to-be-
matched sample, determining a first distance between the current to-be-
matched sample and each second sample in the
outlier sample set by using a preset
processing unit, and determining an initial
nearest neighbor search result of the current to-be-
matched sample from each normal sample set by using the preset
processing unit; and determining a target
nearest neighbor search result corresponding to the current to-be-matched sample based on the first distance and the initial
nearest neighbor search result, and determining an identification result of the to-be-identified face data based on the target nearest neighbor search result. In this way, the face recognition efficiency can be improved.