Griaule Biometrics

Home » Fingerprint SDK 2009 Developer's Manual » Programming Reference Guide » Fingerprint SDK DLL Reference Guide » Matching functions » GrSetVerifyParameters

GrSetVerifyParameters

Sets the verification parameters in the supplied context.

Prerequisites The Fingerprint SDK library must have been previously initialized.

Return On success, GR_OK is returned.
If any supplied parameter is invalid or out of range, its default value will be used and GR_DEFAULT_USED is returned.
On failure, the appropriate error code is returned.

Parameters

[in] verifyThreshold

The verification score threshold.

[in] verifyRotationTolerance

The rotation tolerance for the verification process.

[in] context

Context in which the verification parameters will be set.

See also

Matching constants

Context constants

Declaration

C++

int __stdcall GrSetVerifyParameters (int verifyThreshold, int verifyRotationTolerance, int context);

Delphi

function GrSetVerifyParameters(VerifyThreshold: Integer; VerifyRotationTolerance: Integer; context: Integer): Integer; stdcall;

Sample Code

C++

// set the new verification parameters
ret = GrSetVerifyParameters(thresholdVr, rotationMaxVr, GR_DEFAULT_CONTEXT);
// error?
if (ret == GR_DEFAULT_USED) {
	MessageBox::Show("Invalid verify parameters values. Default values will be used.");
}

Delphi

// set the new verification parameters
ret := GrSetVerifyParameters(thresholdVr, rotationMaxVr, GR_DEFAULT_CONTEXT);
// error?
if ret = GR_DEFAULT_USED then begin
	showmessage('Invalid verify parameters values. Default values will be used.');
end;