FingerMatcher.compareTemplateRecords Method¶
Module: FingerMatcher
Definition¶
Compares two template records and outputs a score.
The score is normalized to take into account the number of fingers/views inside each record
int compareTemplateRecords(FingerTemplateRecord referenceRecord, FingerTemplateRecord probeRecord, bool trustFilledPositions)
Parameters
referenceRecord FingerTemplateRecordin Reference template record.
probeRecord FingerTemplateRecordin Probe template record.
trustFilledPositions boolin If True, template(s) of one position in reference will be compared only to the templates of the same position in probe. If False, all templates in reference will be compared to all templates in probe (this method is also known as ‘flat’ comparison).
Returns
intComparison score, in the range 0 to 65535.
See FingerMatcherThreshold to set a threshold to take a match/no-match decision.
Exceptions
An error has occurred during Finger Library execution.