Chinese Simplified (简体中文)

TextTypeEnum

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

typedef enum {
 TT_Normal       = 0x00000001,
 TT_Typewriter   = 0x00000002,
 TT_Matrix       = 0x00000004,
 TT_Index        = 0x00000008,
 TT_Handprinted  = 0x00000010,
 TT_OCR_A        = 0x00000020,
 TT_OCR_B        = 0x00000040,
 TT_MICR_E13B    = 0x00000080,
 TT_MICR_CMC7    = 0x00000100,
 TT_Gothic       = 0x00000200,
 TT_Receipt      = 0x00000400
} TextTypeEnum;
    

Elements

Name Description
TT_Gothic

This value tells ABBYY FineReader Engine to presume that the text on the recognized image is printed with the Gothic type. It may look as follows:

TT_Handprinted

This value corresponds to handprinted text. It may look as follows:

Note that automatic analysis is not available for handprinted text. The coordinates of blocks containing handprinted text should be set manually.

TT_Index

This constant corresponds to a special set of characters including only digits written in ZIP-code style. They look as follows:  

TT_Matrix

This value tells ABBYY FineReader Engine to presume that the text on the recognized image is printed on a dot-matrix printer. It may look as follows:

TT_MICR_CMC7

This value corresponds to a special set of characters, which includes only digits and A, B, C, D, E characters, written in MICR barcode font (CMC-7). They may look as follows:

TT_MICR_E13B

This value corresponds to a special set of characters including only digits and A, B, C, D characters printed in magnetic ink. MICR (Magnetic Ink Character Recognition) characters are found in a variety of places, including personal checks. They may look as follows:

TT_Normal This value corresponds to a common typographic type of text.
TT_OCR_A

This value corresponds to a monospaced font, designed 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 for Optical Character Recognition. It may look as follows:

TT_Receipt

This value corresponds to a text of a receipt. This type of text is designed for recognizing sales receipts, invoices, etc. Unlike the other types, it is not concerned with the actual font of the text. Rather, it tells the recognizer that there may be text of low quality, mostly in monospaced or normal font. The typical receipt text can look like this:

TT_Typewriter

This value tells ABBYY FineReader Engine to presume that the text on the recognized image is typed on a typewriter. It may look as follows:

Used in

IRecognizerParams::TextTypes

See also

Using Text Type Autodetection

Text Types

03.07.2024 8:50:10

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.