[PageProcessingParams] INI file section
The [PageProcessingParams] section is the central control point for the page-level pipeline. It covers three phases, each with a Boolean flag that enables or disables it:
- Preprocessing (
PerformPreprocessing): corrects the page image (orientation, skew, geometry, resolution) before analysis. Fine-tuned in[PagePreprocessingParams]. See alsoProhibitColorObjectsAtProcessingfor filtering color objects before analysis. - Analysis (
PerformAnalysis): detects layout structure and segments the page into blocks (text, tables, images, barcodes). Fine-tuned in[PageAnalysisParams]. Object extraction is configured in[ObjectsExtractionParams]. - Recognition (
PerformRecognition): reads text from detected blocks. Fine-tuned in[RecognizerParams]. Page-level synthesis is configured in[SynthesisParamsForPage].
If you disable a phase, its corresponding parameter section is ignored.
PerformPreprocessing
| Key | Type | Default |
|---|---|---|
PerformPreprocessing | Boolean | true |
Specifies whether the engine corrects the page image before analysis. This step, called preprocessing, adjusts orientation, skew, geometry, resolution, and color inversion so that the image is ready for layout analysis and text recognition.
If this property is false, the [PagePreprocessingParams] INI file section is ignored.
ProhibitColorObjectsAtProcessing
| Key | Type | Default |
|---|---|---|
ProhibitColorObjectsAtProcessing | Boolean | false |
Specifies if color objects must be filtered out from the image before layout analysis and recognition. When set to true, Pdftools OCR Service removes color elements from the image so they don’t interfere with text detection.
PerformAnalysis
| Key | Type | Default |
|---|---|---|
PerformAnalysis | Boolean | true |
Specifies if page analysis is to be performed.
If this property is false, the [PageAnalysisParams] INI file section is ignored.
PerformRecognition
| Key | Type | Default |
|---|---|---|
PerformRecognition | Boolean | true |
Specifies if recognition is to be performed.
If this property is false, the [RecognizerParams] INI file section is ignored.