Skip to main content
Version: Version 1.0.0

[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

KeyTypeDefault
OrientationDetectionModeOrientationDetectionModeEnumODM_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

KeyTypeDefault
ProhibitClockwiseRotationBooleanfalse

Disables clockwise page rotation when selecting the page orientation.

note

This property must not have the true value if the ProhibitCounterclockwiseRotation and ProhibitUpsidedownRotation properties are set to true.


ProhibitCounterclockwiseRotation

KeyTypeDefault
ProhibitCounterclockwiseRotationBooleanfalse

Disables counterclockwise page rotation when selecting the page orientation.

note

This property must not have the value true if the ProhibitClockwiseRotation and ProhibitUpsidedownRotation properties are set to true.


ProhibitUpsidedownRotation

KeyTypeDefault
ProhibitUpsidedownRotationBooleanfalse

Disables upside-down page rotation when selecting the page orientation.

note

This property must not have the value true if the ProhibitClockwiseRotation and ProhibitCounterclockwiseRotation properties are set to true.