L_OcrPageBitmapType

Summary

The type of the page's BITMAPHANDLE to get.

Syntax

enum L_OcrPageBitmapType 
{ 
   L_OcrPageBitmapType_Original, 
   L_OcrPageBitmapType_Processing 
}; 
typedef enum L_OcrPageBitmapType L_OcrPageBitmapType; 

Members

L_OcrPageBitmapType_Original

The original bitmap reference. This bitmap is used by the OCR engine internally and should not be freed.

L_OcrPageBitmapType_Processing

The processing image is created internally by the OCR engine and is passed to the zoning and recognition routines. This image is always black/white with uniform resolution.

Comments

Each OCR page contains two versions of the image used to create it: the current and an optional processing version. The processing version usually black/white and has uniform resolution (if the original bitmap is FAX for example) and it gets passed to the internal OCR engine during the zoning and recognition process. The L_OcrPage_AutoPreprocess method also uses the B/W image to determine if the page is inverted, skewed, or has an orientation. However, it applies the correction to processing bitmap and optionally to the original bitmap as well if the user choose to by specifying

Usage

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.