I have face identification system with following details:
VGG16model for feature extraction512dimensional feature vector (normalized)
I need to calculate similarity measure between two feature vectors. So far I have tried as difference measure:
- Pairwise cosine, euclidean distance
- Dot product (both vectors are normalize, so their dot product should be in range
[-1, 1])
These methods are working fine when I want find closest feature vector from set of Feature Vectors. By sorting difference(distance) measure. But this method is relative measurement.
I want to have percentage of similarity. So I can say given image is Person XXX with degree of certainty of x percentage
Lets say that I have 2 feature vectors ( of person a and b).
I want to calculate accuracy level (in a percentage) that
person ais indeedperson b, by probability of some percentage.