TextTypeEnum (Web Services API)

TextTypeEnum enumeration constants are used to describe the type of recognized text.

enum TextTypeEnum {
    TT_Normal,
    TT_Typewriter,
    TT_Matrix,
    TT_OCR_A,
    TT_OCR_B,
    TT_MICR_E13B,
    TT_Gothic,
    TT_Fax
};

Elements
Name Description
TT_Normal This value corresponds to common typographic text.
TT_Typewriter This value tells Open API to presume that the text on the image was typed on a typewriter.
TT_Matrix This value tells Open API to presume that the text on the image was printed by means of a dot-matrix printer.
TT_OCR_A

This value corresponds to a monospaced font designed specifically for Optical Character Recognition. Largely used by banks, credit card companies and similar businesses. It may look as follows:

TT_OCR_B

This value corresponds to a font designed specifically for Optical Character Recognition. It may look as follows:

TT_MICR_E13B

This value corresponds to a special set of numeric characters printed with special magnetic inks. MICR (Magnetic Ink Character Recognition) characters are found in a variety of places, including personal checks. It may look as follows:

Note. If an image contains characters of a language and MICR characters, you must specify the MICR (E13B) text type and select the E13B language in addition to the main recognition language. You need not select the E13B language when recognizing English texts, because the English language already contains all E13B characters.

TT_Gothic

This value tells Open API to presume that the text on the image was printed in Gothic type. It may look as follows:

For this text type, Open API currently supports the following fonts: Textura (Gothic script), Fraktur and Schwabacher.

TT_Fax This value tells Open API to presume that the text on the recognized image is produced by a fax machine.
See also

RecognitionParams::TextTypes

26.03.2024 13:49:49

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.