utility.
full keys are marked by italic.
Key |
Parameters |
Default |
Description |
-ics |
--correctSkewMode |
BlackSquaresHorizontally,
BlackSquaresVertically,
HorizontalLines,
VerticalLines,
HorizontalText,
VerticalText
|
HorizontalText VerticalText |
Specifies the mode of skew correction. |
-idcs |
--dontCorrectSkew |
no |
|
By default skew is corrected. This option specifies not to correct skew. |
-ibfc |
--backgroundFillingColor |
int value of the color |
-1
(automatic detection) |
Specifies the color used for filling the areas which are added to the image after skew correction.
The int value is calculated from the RGB triplet using the formula: (red value) + (256 x green value) + (65536 x blue value). |
-icp |
--createPreview |
no |
|
Creates preview page for the prepared image. |
-ic |
--imageCompression |
NoCompression,
Compress,
Auto
|
Auto |
Specifies how an image should be compressed during conversion to the
internal format. |
-ii |
--invertImage |
no |
|
Inverts the colors of the prepared image. |
-im |
--mirrorImage |
no |
|
Mirrors the prepared image around its vertical
axis. |
-ibw |
--convertToBWImage |
no |
|
Leaves
only black-and-white planes in the prepared image. |
-iufb |
--useFastBinarization |
no |
|
Speeds up binarization however its quality may deteriorate. |
-iph |
--previewHeight |
height in pixels of the preview page |
90 |
Specifies the height in pixels of the preview
page. |
-ipw |
--previewWidth |
width in pixels of the preview page |
64 |
Specifies the width in pixels of the preview
page. |
-ir |
--imageRotation |
NoRotation
Clockwise
Counterclockwise
Upsidedown
|
|
Specifies the rotation angle to apply to the
image during preparation. |
-ior |
--overwriteResolution |
no |
|
Allows you to overwrite resolution of the prepared
image. |
-ixr |
--xResolutionToOverwrite |
horizontal resolution in dpi |
300 |
Specifies the value in
dpi is used to overwrite horizontal resolution of the prepared image when
resolution of the original image is not specified or incorrect and only if the -ior key is used. |
-iyr |
--yResolutionToOverwrite |
vertical resolution in dpi |
300 |
Specifies the value in
dpi is used to overwrite vertical resolution of the prepared image when
resolution of the original image is not specified or incorrect and only if the -ior key is used. |
-idaor |
--dontAutoOverwriteResolution |
no |
|
Disables automatic overwriting of resolution. This option can be useful in case images always have correct resolution. |
-ippm |
--photoProcessingMode |
TreatAsPhoto
TreatAsNonPhoto
Auto
|
Auto |
Specifies whether the processing image should be treated as a photo.
If a photo is processed, special algorithms are used for such image on different stages of image processing.
When Auto is used, automatic detection is performed whether the image is a photo or not. |
-igcm |
--geometryCorrectionMode |
Correct
DontCorrect
Auto
|
Auto |
Specifies whether geometrical distortions (perspective on photos, curved lines from scanned books, etc.) should be removed during page preprocessing.
When Auto is used, automatic detection is performed whether geometry correction needs to be performed or not. |
-ielc |
--enhanceLocalContrast |
no |
|
Specifies whether the local contrast of the image should be increased. Such preprocessing may increase the quality of recognition.
Note: Using this option is meaningful for color and gray images only.
|
-icsah |
--correctShadowsAndHighlights |
Yes
No
Auto
|
Auto |
With Yes the image preprocessing will include correction of excessive shadows and highlighting to improve recognition quality.
Note: This property is designed for use with photographs only.
|
-ieqbr |
--equalizeBrightness |
NonwhiteBackground
WhiteBackground
|
|
Equalizes the image brightness. This option is suitable for the following types of images:
- Scanned images of black-and-white documents. You can change the background color of a scanned image from gray to white and increase image contrast.
- Photos of black-and-white document. You can change the background color of a photo to white, increase image contrast, and even brightness of a photo made under poor lighting conditions or with a flash turned on.
- Photos of color documents. This option provides the same effect as for photos of black-and-white documents, but it may reduce color brightness and make gray elements too light. Use the option for photos of color documents carefully.
Note: This option is meaningful for gray and color images only.
With WhiteBackground brightness of the image is evened so that the background becomes really white.
|