RecognizeFieldVoteOCR_S
Does recognition on the zone of the current field and compares the result to the existing field value, character by character. Raises the confidence level when the characters match and lowers it when they do not match.
Member of namespace
OCR_SRSyntax
bool RecognizeFieldVoteOCR_S ()
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 only.Details
This field-level action initiates a voting procedure that first uses specifications in the OCR/S tab of the Recognition Options Setup dialog to recognize the characters of the field.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 9 if the original confidence is smaller than 9. Otherwise the confidence of matching characters is raised to the maximum level (10).
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 acts like the RecognizeFieldOCR_S action.
This action supports the automatic retry mechanism.
- Example
RecognizeFieldICR_C() RecognizeFieldVoteOCR_S()