tf-insightface
tf-insightface copied to clipboard
compare obama and test.jpg
_faces_discriptions = [] _faces_discriptions.append(prediction[0][0]) _faces_discriptions.append(prediction2[0][0]) simmm=face_services.compare_faces(_faces_discriptions,prediction2[0][0]) print('simm {}'.format(simmm))
[Face Services | face_distance] Distance between two faces is [732.0524 0. ] [Face Services | similar_indx] similar_indx between two faces is [0, 1] simm [0, 1]