[OrientationDetectionParams] INI file section
The [OrientationDetectionParams]
INI file section defines settings for detecting and controlling the allowed directions of automatic page orientation in the Pdftools OCR Service.
Orientation detection parameters
OrientationDetectionMode
Key | Type | Default |
---|---|---|
OrientationDetectionMode | OrientationDetectionModeEnum | ODM_Normal |
Specifies the mode of page orientation detection.
OrientationDetectionModeEnum
ODM_Fast
: Fast mode
Provides the fastest orientation detection speed with moderately decreased quality.ODM_Normal
: Normal mode
A balanced mode between thorough and fast detection.ODM_Thorough
: Thorough mode
Provides the best quality of orientation detection.
ProhibitClockwiseRotation
Key | Type | Default |
---|---|---|
ProhibitClockwiseRotation | Boolean | false |
Disables clockwise page rotation when selecting the page orientation.
This property must not have the true
value if the ProhibitCounterclockwiseRotation and ProhibitUpsidedownRotation properties are set to true
.
ProhibitCounterclockwiseRotation
Key | Type | Default |
---|---|---|
ProhibitCounterclockwiseRotation | Boolean | false |
Disables counterclockwise page rotation when selecting the page orientation.
This property must not have the value true
if the ProhibitClockwiseRotation and ProhibitUpsidedownRotation properties are set to true
.
ProhibitUpsidedownRotation
Key | Type | Default |
---|---|---|
ProhibitUpsidedownRotation | Boolean | false |
Disables upside-down page rotation when selecting the page orientation.
This property must not have the value true
if the ProhibitClockwiseRotation and ProhibitCounterclockwiseRotation properties are set to true
.