Table of Contents

Property EnableOrientationDetection

Namespace
LMKit.Integrations.Tesseract
Assembly
LM-Kit.NET.dll

EnableOrientationDetection

Gets or sets a value indicating whether automatic orientation detection is performed before OCR.

public bool EnableOrientationDetection { get; set; }

Property Value

bool

true to enable orientation detection; false to skip it. The default is true.

Remarks

When enabled, the engine detects if the page is rotated (90°, 180°, or 270°) and corrects it before text recognition. This requires the "osd" traineddata file.