Properties
Name | Type | Description |
|---|---|---|
Application | Returns the Engine object. | |
Specifies if image background should be whitened. This property is TSPV_Auto by default. In default mode, ABBYY FineReader Engine whitens the background. | ||
Specifies whether geometrical distortions (perspective on photos, curved lines from scanned books, etc.) should be removed during page preprocessing. This property is TSPV_Auto by default. In default mode, ABBYY FineReader Engine corrects geometry for photographs. | ||
Specifies if inverted image should be corrected. This property is TSPV_Auto by default. In default mode, ABBYY FineReader Engine corrects inverted images. | ||
Specifies how image orientation should be corrected during preprocessing. The default value is COM_Auto, which means orientation will be determined and corrected automatically if needed. | ||
If this property is set to CSM_Auto or CSM_Fast, image skew will be corrected during page preprocessing. Skew can be corrected only for angles not greater than 20 degrees. By default, this property is set to CSM_Auto, which means precise skew correction. | ||
If this property is set to TSPV_Yes, during preprocessing ABBYY FineReader Engine will detect document edges on the image and crop the image accordingly. This feature is not supported for black-and-white images. The default value of this property is TSPV_Auto. In the default mode, ABBYY FineReader Engine crops the image or skips this step automatically, depending on the source of the processed image. | ||
Specifies how the image type is determined. Works in conjunction with ImageSourceType. Default: TSPV_Auto (effective only when ImageSourceType = IST_Auto).
| ||
This property set to TRUE tells ABBYY FineReader Engine to leave only black-and-white plane in the prepared image. In this case, image binarization is performed during image preprocessing. By default, this property is set to FALSE. | ||
If this property is set to ORM_Auto, ABBYY FineReader Engine will automatically detect and overwrite image resolution. If it is set to ORM_Manual, use the ResolutionToOverwrite property to specify the new image resolution. The new resolution will be applied before all other stages of image preparation (such as binarization, skew correction, etc.). Notes:
By default, the value of the property is ORM_Auto. | ||
This value is used to overwrite resolution of the preprocessed image if the OverwriteResolutionMode property is ORM_Manual. Note that the default value of this property is 0, so you must set the desired value yourself. If you set OverwriteResolutionMode to ORM_Manual and don’t set the value for this property, an error will occur. | ||
Specifies the parameters of page splitting. | ||
Specifies how lines will be straightened. This property is SLM_Auto by default. In this case new neural network algorithm would be used. | ||
If this property is TRUE, ABBYY FineReader Engine will use algorithms for fast image binarization. Binarization is performed either during preprocessing (if DiscardColorImage is TRUE), or later when a black-and-white image is necessary (e.g., when you call the IImageDocument::BlackWhiteImage property for an open image document for the first time). This property set to TRUE will speed up binarization; however, its quality may deteriorate. By default, the value of this property is FALSE. | ||
Specifies how resolution will be detected This property is RDM_Auto by default. In this case new neural network algorithm would be used. | ||
Methods
| Name | Description |
|---|---|
| CopyFrom | Initializes properties of the current object with values of similar properties of another object. |
| LoadFromFile | Restores the object contents from a file on disk. |
| LoadFromMemory <Note> : Windows only. </Note> | Restores the object contents from the global memory. |
| SaveToFile | Saves the object contents into a file on disk. |
| SaveToMemory <Note> : Windows only. </Note> | Saves the object contents into the global memory. |
Related objects
Object Diagram
Output parameter
This object is the output parameter of the CreatePagePreprocessingParams method of the Engine object.Input parameter
This object is passed as an input parameter to the following methods:- Preprocess, PreprocessPages methods of the FRDocument object
- Preprocess method of the FRPage object
Samples
The object is used in the following code samples:- Linux: CommandLineInterface
- Windows: CommandLineInterface; and demo tools: Classification.
