Compute similarity score between two Persons.

Namespace:  SourceAFIS.Simple
Assembly:  SourceAFIS (in SourceAFIS.dll)

Syntax

Visual Basic (Declaration)
Public Function Verify ( _
	probe As Person, _
	candidate As Person _
) As Single
C#
public float Verify(
	Person probe,
	Person candidate
)
Visual C++
public:
float Verify(
	Person^ probe, 
	Person^ candidate
)
JavaScript
function verify(probe, candidate);

Parameters

probe
Type: SourceAFIS.Simple..::..Person
First of the two persons to compare.
candidate
Type: SourceAFIS.Simple..::..Person
Second of the two persons to compare.

Return Value

Similarity score indicating similarity between the two persons or 0 if there is no match.

Remarks

Verify(Person, Person) method compares two Persons, Fingerprint by Fingerprint, and returns floating-point similarity score that indicates degree of similarity between the two Persons. If this score falls below Threshold, Verify(Person, Person) method returns zero.

Persons passed to this method must have valid Template for every Fingerprint, i.e. they must have passed through Extract(Person) method.

See Also