RecognizeFieldVoteOCR_A

A field-level action that initiates a voting procedure that first uses specifications in the OCR/A tab of the Recognition Options Setup dialog to recognize the field's characters.

Member of namespace

ocr_a

Syntax

bool RecognizeFieldVoteOCR_A ()

Parameters

None.

Returns

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

Level

Field level.

Details

This field-level action initiates a voting procedure that first uses specifications in the OCR/A tab of the Recognition Options Setup dialog to recognize the field's characters.

When this action stores the results of recognition, it first determines if the corresponding Field object of the Document Hierarchy contains a value. If a value is present, the action compares the field's existing value with the recognition results - character by character.

If a particular character's values match, the Confidence Rating for the character is raised to the maximum level. If the values do not match, the Confidence Rating for the character is lowered to the minimum.

Note: When using this voting procedure, the second Recognition engine is secondary and its results are never assigned. Instead, the action changes the Confidence Ratings on the basis of results provided by the first Recognition engine. If there are no recognition results previous to this action, it will act just like the RecognizeFieldOCR_A action.
Example:
RecognizeFieldICR_C()
RecognizeFieldVoteOCR_A()