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 FingerTemplateRecord
in Reference template record.

in Probe template record.

trustFilledPositions bool
in 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

int
Comparison 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.