AIInAi / tf-insightface

A better tensorflow implementation of deepinsight, aiming at smoothly production ready for cross-platforms. Currently only with inference, training code later.
MIT License
212 stars 61 forks source link

compare obama and test.jpg #16

Open yippeesoft opened 5 years ago

yippeesoft commented 5 years ago

obama

_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]