facenet icon indicating copy to clipboard operation
facenet copied to clipboard

Euclidean distance not a good way to compare?

Open jax79sg opened this issue 6 years ago • 4 comments

Hi,

I used a small subset of LFW faces and performed a detection (crop) before feed forwarding the images into the most recent model trained with WebFaces. Next i do a pairwise Euclidean distance of each embedding and generated the attached chart. What the chart says is that both similar and dissimilar faces occupy the same distance range. How would one use distance to determine if there is a match? I also tried a KNN on the embeddings and was given a 3% accuracy. Is alignment a necessity for FaceNet?

Thank you. facenetcroppedraw facenetcroppedbw

jax79sg avatar May 30 '18 03:05 jax79sg

@jax79sg maybe the Euclidean distance is not a good way ,so how do you solve this problem?

rain2008204 avatar Jun 08 '18 13:06 rain2008204

alignment is necessary!

LCorleone avatar Jun 11 '18 03:06 LCorleone

Hi @LCorleone,

Thanks for the reply. I had actually deployed this on Android but has yet to find a good way to align it on Android. Would you have any recommendations?

jax79sg avatar Jun 12 '18 01:06 jax79sg

alignment is necessary!

Even alignment doesn't help much.

iamrishab avatar Dec 03 '20 18:12 iamrishab