PreprocessingParams Object (COM-based API)

This object specifies how an image will be preprocessed before analysis and recognition.

Properties
Name Type Description
ConvertToBWFormat Boolean

Specifies if the image must be converted to black and white during preprocessing. The default value is FALSE.

Note. If this property is set to TRUE, the speed of recognition will increase, but the quality will decrease.

CorrectResolution Boolean Specifies if the image resolution must be corrected. The default value is TRUE.
Deskew Boolean Specifies if the skew angle for an image must be corrected during preprocessing. This mode is recommended if you want to automatically correct skew for images you work with. The default value is TRUE.
DiscardJobWithDocumentsWithDigitalSignature Boolean Specifies if jobs containing PDF files with digital signatures should be discarded.
KeepAnnotationsInPdf Boolean True if comments, notes, etc. must be preserved in PDF documents.
PdfMode PdfModeEnum PDF processing mode.
RemoveGarbage Boolean Specifies if garbage (excess dots that are smaller than a certain size) must be removed from the image during preprocessing. The default value is TRUE.
RemoveTexture Boolean Specifies if background noise must be cleared before the recognition process starts. The default value is TRUE.
RotationType RotationTypeEnum Specifies what type of rotation will be performed upon the image during preprocessing. The default value is RT_Automatic, which means that rotation will be detected automatically.
SplitDualPages Boolean Specifies if the dual pages must be split during preprocessing. The default value is FALSE.
DontModifyDocumentsWithDigitalSignature Boolean True if PDF with digital signatures must not be modified.
StraightenLines Boolean Specifies if lines must be straightened.
See also

XmlTicket,

XmlResult.

See sample: Samples.

26.03.2024 13:49:49

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.