RecognizedCharacterInfo Object (IRecognizedCharacterInfo Interface)
This object represents the variant of the character recognition. The object provides access to the variant itself and its parameters. You can select the best recognition variant for a character using your own algorithms. See Working with Recognition Variants for details.
Note: The API working with recognition variants is not available for recognizing handprinted texts.
Properties
Name | Type | Description |
---|---|---|
Bottom | Integer, read-only | Stores the coordinate of the bottom border of the character rectangle for this variant of character recognition. |
Character | String, read-only | Returns the variant of a character recognition. |
CharConfidence | Integer, read-only |
Stores the value of recognition confidence for this variant of character recognition. It represents an estimate of probability that this variant is correct, but it is unsafe to assume that confidence is a positive number or make any other assumptions about its absolute value. The only meaningful use of confidence is for comparing two recognition variants for the same character. In this case, the variant with the higher confidence is more probable. |
IsSubscript | Boolean, read-only | Specifies whether the variant of a character recognition is subscript. |
IsSuperscript | Boolean, read-only | Specifies whether the variant of a character recognition is superscript. |
LanguageId | LanguageIdEnum, read-only | Specifies the identifier of the character language. |
Left | Integer, read-only | Stores the coordinate of the left border of the character rectangle for this variant of character recognition. |
RecognitionVariantsCount | Integer, read-only | Stores the number of recognition variants available for the character. |
RecognitionVariantIndex | Integer, read-only | Stores the index of the variant in the internal collection of character recognition variants. |
Region | Region, read-only | Specifies the character exact region for this variant of character recognition. The region may not be rectangular and initially is contained in the rectangle defined by the Left, Top, Right, and Bottom properties. If you change the character exact region, the Left, Top, Right, and Bottom properties are not changed. |
Right | Integer, read-only | Stores the coordinate of the right border of the character rectangle for this variant of character recognition. |
SerifProbability | Integer, read-only | The value of this property specifies probability that the variant of a character recognition is written with a Serif font. It is in the range from 0 to 100, and -1 corresponds to the fact that this probability is undefined. |
Top | Integer, read-only | Stores the coordinate of the top border of the character rectangle for this variant of character recognition. |
Output parameter
This object is the output parameter of the CreateRecognizedCharacterInfo method of the Engine object.
Input parameter
This object is the input parameter of the following methods:
- GetCharParamsEx method of the Text object
- GetRecognizedCharacter method of the RecognizedWordInfo object
See also
8/15/2023 1:19:30 PM