getMatchThreshold method
Gets the minimum match score to reach to preserve the ID of a tracked face between frame 't-1' and frame 't'. Hint: Default value is 3000 which corresponds to a False Match Rate of 1/1000.
return Minimum match score to reach to preserve the ID of a tracked face between frame 't-1' and frame 't'. throws FaceException An error has occurred during Face Library execution.
Implementation
int getMatchThreshold() {
Pointer<Int> pMatchThreshold = calloc();
try {
var err = faceSDK.id3FaceTracker_GetMatchThreshold(_pHandle.value, pMatchThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vMatchThreshold = pMatchThreshold.value;
return vMatchThreshold;
} finally {
calloc.free(pMatchThreshold);
}
}