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_Last = L_OcrZoneType_None
};
typedef enum L_OcrZoneType L_OcrZoneType;
Zone types.
Value | Meaning |
---|---|
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. Not currently supported. |
L_OcrZoneType_Mrz | MRZ (Machine Readable Zone) zone. For passports and identity cards. |
L_OcrZoneType_Barcode | Barcode zone. |
L_OcrZoneType_None | No recognition zone. |
This enumerated type is used by the following structure:
The L_OcrZoneType is used to classify the zone into one of the above listed zone-categories.
For text zones, the following L_OcrZone members provide extra information on the text inside the zone: L_OcrZone.CharacterFilters, L_OcrZone.TextDirection and L_OcrZone.TextStyle.
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.
For 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.
L_OcrZoneType_None specifies an area to ignore when recognizing the page.