AnalyzeImage (deprecated)

This action has been deprecated and is scheduled to be removed in a future release. It is recommended that you no longer use this action. Instead, use the AnalyzeImage action in the SharedRecognitionTools action library. Converts the Image file (.tif) that represents the current page to a Fingerprint file (.cco) file for the page.

Member of namespace

Recog_Shared

Syntax

bool AnalyzeImage ()

Parameters

None.

Returns

False if the ruleset with this action is not bound to a Page object of the Document Hierarchy. Otherwise, True.

Level

Page level.

Details

This action creates the following items:
CCO fingerprint file Converts the Image file (.tif) that represents the current page to a CCO fingerprint file for the page. The fingerprint file is a condensed representation of the dark areas on the page. These files can be used with the FindFingerprint and related actions, but they are not compatible with fingerprints that are created by OCR actions. Also, they do not contain text that can be used with locate actions or for click-n-key data entry.
CCOFILE variable Creates a CCOFILE variable on the current page to indicate the successful creation of the CCO file.

A ruleset with this action should be bound to a Page object that represents an application's source page.

The action is not required if full-page recognition takes place using actions such as RecognizePageOCR_S or RecognizePageICR_C.

Important: Fingerprint matching accuracy can decline for images with a very large number of small dots. This condition might be due to large dotted or shaded areas on the original document, speckled noise in the scanned image, or images with text characters that are very broken up. If the fingerprint matching is too inaccurate for your purposes, use full-page recognition instead of this action. For more information, see Changing the fingerprint creation method.
Example
AnalyzeImage()
SetProblemValue(0.5)
SetSearchArea(0.5)
FindFingerprint(True)

This sequence generates a CCO file for the current page and attempts to match the current page with a fingerprint. For more information about the matching process, see the descriptions of the AutoDoc actions.