L_OcrZoneType

Summary

Zone types.

Syntax

enum L_OcrZoneType 
{ 
   L_OcrZoneType_Text, 
   L_OcrZoneType_Table, 
   L_OcrZoneType_Graphic, 
   L_OcrZoneType_OMR, 
   L_OcrZoneType_Micr, 
   L_OcrZoneType_Icr, 
   L_OcrZoneType_Mrz, 
   L_OcrZoneType_Barcode, 
   L_OcrZoneType_None, 
   L_OcrZoneType_FieldData, 
   L_OcrZoneType_Micr_Cmc7, 
   L_OcrZoneType_OcrA, 
   L_OcrZoneType_Last = L_OcrZoneType_OcrA, 
}; 
typedef enum L_OcrZoneType L_OcrZoneType; 

Members

L_OcrZoneType_Text

Flowing text type zone.

L_OcrZoneType_Table

Table type zone.

L_OcrZoneType_Graphic

Zone containing graphics (Not sure).

L_OcrZoneType_OMR

OMR (Optical Markup Recognition) zone.

L_OcrZoneType_Micr

MICR (Magnetic Ink Character Recognition) zone. For check processing.

L_OcrZoneType_Icr

ICR (Intelligent Character Recognition) zone. Handwritten text and numbers.

L_OcrZoneType_Mrz

MRZ (Machine Readable Zone) zone. For passports and identity cards.

L_OcrZoneType_Barcode

Barcode zone.

L_OcrZoneType_None

No recognition zone.

L_OcrZoneType_FieldData

Setting zone type to FieldData.

L_OcrZoneType_Micr_Cmc7

Setting zone type to MICR with CMC7 font.

L_OcrZoneType_OcrA

Setting zone type to OCR-A.

L_OcrZoneType_Last

The *_Last member value is the same as the previous enumeration value.

Comments

The L_OcrZoneType is used to classify a zone into one of the above-listed zone categories.

Text zones use the following L_OcrZone members to provide extra information about the text inside the zone:

The L_OcrZoneType_Table type is for table-type zones. If this type of zone is specified, the OCR engine will try to reconstruct the original table text layout of the zone in the final output document.

Graphic zones use the L_OcrZoneType_Graphic type. If L_OcrZoneType_Graphic is specified, no recognition will be run on the zone, and all other recognition-related settings will be ignored.

Use L_OcrZoneType_None to specify an area to ignore when recognizing the page.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.