Image preprocessing parameters:
Name | Type | Description | By default |
|---|---|---|---|
Rotation | RotationTypeEnum | Setting image rotation angle during the image preparation. |
|
CorrectSkew | Boolean | When the value is True, it corrects the rotation during the image preparation. Rotation correction type is set via CorrectSkewMode parameter. When the value is False CorrectSkewMode is to be ignored. | True |
CorrectSkewMode | CorrectSkewModeEnum | Setting image rotation angle. When the value is | CSM_CorrectSkewByHorizontalText| CSM_CorrectSkewByVerticalText |
BackgroundFillingColor | Integer | Defines the colour to be chosen to fill in the areas which are to be added after the image rotation correction. When the value is -1 — the colour is to be defined automatically. Important: Integer type value is calculated from RGB trio: (Red)+(256*GREEN)+(65536*BLUE). | -1 |
InvertImage | Boolean | When the value is True FineReader inverts the image colours. | False |
MirrorImage | Boolean | When the value is | False |
EnhanceLocalContrast | Boolean | Specifies if image contrast should be increased. This parameter may enhance the further recognition quality. To set this parameter to be True is reasonable only for colour and grey images. | False |
| PhotoProcessingModeEnum | Verifies if image should be processed like photo. If this photo is being processed, FineReader uses special algorithms of photo processing during different stages of image processing. | PPM_Auto |
AutoOverwriteResolution | Boolean | Specifies if it is required to overwrite resolution of prepared image. This parameter is available when the value of OverwriteResolution is False. When the value of AutoOverwriteResolution is True, then FineReader automatically defines image resolutiona and overwrite it. | True |
OverwriteResolution | Boolean | Accepts overwriting resolution of prepared image. Resolution is to be overwrited in accordance with the values of XResolutionToOverwrite and YResolutionToOverwrite parameters. In this case, the new resolution is to be used for preprocessing. | False |
XResolutionToOverwrite | Integer | Set horizontal resolution of original image in DPI. This value is used to overwrite prepared image in the case when resolution of original image wasn's defined correctly and OverwriteResolution parameter is set to True. FineReader processes the image with equal horizontal and vertical resolution, thus the program stretches the image the way the prepared image had equal horizontal and vertical rotation and equal to XResolutionToOverwriteи YResolutionToOverwrite maximum. | 300 |
YResolutionToOverwrite | Integer | Set vertical rotation of orifinal image in | 300 |
DiscardColorImage | Boolean | When the value is True, FineReader leaves only black-and-white flatness within prepared image. In this case image binarization is to be performed. | False |
UseFastBinarization | Boolean | When the value is | False |
ImageCompression | ImageCompressionEnum | Set the way to compress image during the convertion into external format. | IC_Auto |
CreatePreview | Boolean | When thу value is True FineReader makes preview of prepared image. | False |
| Integer | Set the hight for image preview in pixels. When | 90 |
PreviewWidth |
| Set the width for image preview in pixels. When | 64
|