FingerMatcher.compareTemplates Method

Module: FingerMatcher

Definition

Compares two finger templates and outputs a comparison score.

compare_templates(self, reference: FingerTemplate, probe: FingerTemplate) -> int

Parameters

reference FingerTemplate
in Reference template.

in Probe template.

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.
int compareTemplates(FingerTemplate reference, FingerTemplate probe)

Parameters

reference FingerTemplate
in Reference template.

in Probe template.

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.
public int CompareTemplates(FingerTemplate reference, FingerTemplate probe)

Parameters

reference FingerTemplate
in Reference template.

in Probe template.

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.
public int compareTemplates(FingerTemplate reference, FingerTemplate probe) throws FingerException

Parameters

reference FingerTemplate
in Reference template.

in Probe template.

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.
public func compareTemplates(reference: FingerTemplate, probe: FingerTemplate) throws -> Int32

Parameters

reference FingerTemplate
in Reference template.

in Probe template.

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.
int id3FingerMatcher_CompareTemplates (
    ID3_FINGER_MATCHER hFingerMatcher,
    ID3_FINGER_TEMPLATE hReference,
    ID3_FINGER_TEMPLATE hProbe,
    int * score)

Parameters

hFingerMatcher ID3_FINGER_MATCHER
in Handle to the FingerMatcher object.

in Reference template.

in Probe template.

score int *
out Comparison score, in the range 0 to 65535.

Returns

int
An error code.
See id3FingerError file for the list of possible error codes.