<< Click to Display Table of Contents >> Navigation: OCR Module > OCR Library Types > OCR_ImageProcessingFlags |
The image processing flags are used to enable additional operations when images are processed. Please note that constants are case-sensitive:
CONSTANT
|
VALUE
|
MEANING OF dwLEVEL |
OCR_Image_NoRotate
|
0x0000
|
This constant prevents automatic page rotation and performs OCR on documents in their original state.
|
OCR_Image_Autorotate
|
0x0001
|
This constant rotates input images automatically in order to correct minor skews (up to 45 degrees) that can occur when documents are not correctly scanned.
|
OCR_Image_EdgeRefine
|
0x0002
|
This constant is a smart blur method that reduces letter edge artifacts and is useful for unsampled images. A DPI of at least 300 is recommended for this constant.
|
OCR_Image_GaussianBlur
|
0x0004
|
This constant is a simple blur method that reduces letter edge artifacts.
|
OCR_Content_Original
|
0x0040 |
This custom flag overlays recognized text over the original content. |