File Processing
38
Deskew Item
The deskew item has the following format:
<field1 name="despeckle">{deskew code}</field1>
Where the
{deskew code}
is a space separated list that represents one or more of the following
values:
•
square – deskew based on black squares in the scanned document. Only
recommended for documents (eg forms) that actually contain black squares
•
line – deskew based on lines in the scanned document. Only recommended for
documents that contain tables and/or lines.
•
text – deskew based on text in the scanned document
•
none – disable deskew. Note other options are ignored if this option is included
This item is used when processing the scanned image before text recognition occurs.
Example:
<field1 name="deskew">
line text
</field1>
Removecolor Item
The removecolor item has the following format:
<field1 name="removecolor">{enabled code}</field1>
Where the
{enabled code}
represents one of the following values:
•
enabled – enables the option
•
disabled – disables the option
This item controls whether the output document contains any color.
Example:
<field1 name="removecolor">disabled</field1>
Removegeodistort Item
The removegeodistort item has the following format:
<field1 name="removegeodistort">{enabled code}</field1>
Where the
{enabled code}
represents one of the following values:
•
enabled – enables the option
•
disabled – disables the option
This item is used when processing the scanned image before text recognition occurs. It causes
any geometrical distortions to be removed from the scanned image such as when scanning
books etc
Example:
<field1 name="removegeodistort">enabled</field1>
Lowresmode Item
The lowresmode item has the following format: