Griaule Biometrics

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

GrSetIdentifyParameters

Sets the identification 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] identifyThreshold

The identification score threshold.

[in] identifyRotationTolerance

The rotation tolerance for the identification process.

[in] context

Context in which the identification parameters will be set.

See also

Matching constants

Context constants

Declaration

C++

int __stdcall GrSetIdentifyParameters (int identifyThreshold, int identifyRotationTolerance, int context);

Delphi

function GrSetIdentifyParameters(identifyThreshold: Integer; identifyRotationTolerance: Integer; context: Integer): Integer; stdcall;

Sample Code

C++

ret = GrSetIdentifyParameters(thresholdId, rotationMaxId, GR_DEFAULT_CONTEXT);
// error?
if (ret == GR_DEFAULT_USED) {
	MessageBox::Show("Invalid identify parameters values. Default values will be used.");
}

Delphi

ret := GrSetIdentifyParameters(thresholdId, rotationMaxId, GR_DEFAULT_CONTEXT);
// error?
if ret = GR_DEFAULT_USED then begin
	showmessage('Invalid identify parameters values. Default values will be used.');
end;