Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
Public Member Functions | List of all members
face_sdk::fir_matching_score_table Class Referenceabstract

The object translates L2 distance between FIRs to -logFAR score which is used in FaceSDK.
Note, that for translation you should use different translation table for every version of Builder. See Matching table codes.
Note, FaceSDK doesn't expose functions to calculate L2 distance, you can only calculate it yourself and validate against -logFAR score provided in the FaceSDK.
More...

#include <fir_matching_score_table.h>

Public Member Functions

virtual float distance_to_score (double distance, uint32_t firs_num) const =0
 Translates L2 distance between FIRs to -log(FAR) score.
More...
 

Detailed Description

The object translates L2 distance between FIRs to -logFAR score which is used in FaceSDK.
Note, that for translation you should use different translation table for every version of Builder. See Matching table codes.
Note, FaceSDK doesn't expose functions to calculate L2 distance, you can only calculate it yourself and validate against -logFAR score provided in the FaceSDK.

Member Function Documentation

◆ distance_to_score()

virtual float face_sdk::fir_matching_score_table::distance_to_score ( double  distance,
uint32_t  firs_num 
) const
pure virtual

Translates L2 distance between FIRs to -log(FAR) score.

Parameters
distancedistance between FIRs.
firs_numWarning! Use 1 by default. Do not use any other values unless you work with M:1 matching, use Builder 104 and have a clear understanding of these features.
Returns
-log(FAR) score for specified distance

The documentation for this class was generated from the following file: