FindFingerprint
Attempts to match the current page to a fingerprint and creates a new fingerprint if a match does not occur.
Syntax
bool FindFingerprint(StrParam)
Parameters
Two comma-separated values (the second is optional).- A True / False value: True, if a task is to create a new fingerprint and add it to the fingerprint directory when a match does not occur; False, if the task is to proceed without creating a new fingerprint.
- Optional: The Page Type that is to be assigned to the newly created fingerprint. If omitted, the current Page Type of the current page is used.
Returns
False if the action is not applied at the Page level, or if the parameter is False and a fingerprint match does not occur. Otherwise, True. If a new Fingerprint cannot be added, the action still returns True.Level
Page level only.Details
This action attempts to match the current source page to a fingerprint, and creates a new fingerprint if a match does not occur. Include this action after a rule's SetSearchArea, SetProblemValue, and SetFingerprintDir actions.- Example
AnalyzeImage() RotateImage() RecognizePageOCR_S() SetSearchArea("0.5") SetProblemValue("0.7") SetFingerprintDir("\ParentDirectory\Application\Fingerprint") FindFingerprint("True,Invoice_Page")In this example sequence, the FindFingerprint action uses only the first 50% of the current page to search for a match. However, it accepts a match of 0.7 or higher. If no match is found, the sequence creates a new fingerprint and stores it in the location that is specified by the SetFingerprintDir action. If the parameter is set to False, a new fingerprint is not created when there is no match.