Check for Rejection Character
If the recognition engine's confidence in the character result is less than the MinimumCharacterConfidence, then the character result's text will be set to the rejection character. The confidence of the character result will also be set to 0.
To determine if any of the characters in a text line were rejected, check that the confidence of the character result is zero.
| VB Example | Copy Code |
|---|---|
|
... containsRejection = False For characterIndex = 0 To myMICRXpressObject.TextLineResultNumberCharacters - 1 myMICRXpressObject.TextLineResultSelectCharacter characterIndex 'check for a confidence value of 0, because the confidence will be zero only if the character is rejected. If (myMICRXpressObject.CharacterResultConfidence(0) = 0) Then containsRejection = True Exit For End If Next characterIndex ... | |