Skip to main content
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_Handwritten  = 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:

Fraktur

TT_Handwritten

This value corresponds to handwritten and handprinted text. For example:

Handwritten

handwritten

Handprint

handprinted

TT_Index

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

Index_LetterSet

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:

page_frag_matrix

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). MICR (Magnetic Ink Character Recognition) characters can only be recognized for the Latin languages and may look as follows:

cmc7

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 characters are found in a variety of places, including personal checks. However, they can only be recognized for the Latin languages and may look as follows:

MICR-E13B

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:

OCR-A

TT_OCR_B

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

OCR-B

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:

receipt_text

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:

page_frag_typewrite

Used in

IRecognizerParams::TextTypes

See also

Using Text Type Autodetection Text Types