Zum Hauptinhalt springen
Mit den Aufzählungskonstanten von TextTypeEnum wird der Typ des erkannten Textes beschrieben.
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;

Elemente

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

Dieser Wert entspricht dem Text eines Kassenbons. Dieser Texttyp ist für die Erkennung von Kassenbons, Rechnungen usw. ausgelegt. Im Gegensatz zu den anderen Typen spielt die tatsächliche Schriftart des Textes keine Rolle. Stattdessen teilt er dem Erkennungsmodul mit, dass Text von geringer Qualität vorliegen kann, überwiegend in nichtproportionaler oder normaler Schrift. Ein typischer Kassenbon-Text kann wie folgt aussehen:

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

Verwendung in

IRecognizerParams::TextTypes

Siehe auch

Autodetektion für Texttypen verwenden Texttypen