Table of Contents

Property PageRotation

Namespace
LMKit.Extraction.Ocr
Assembly
LM-Kit.NET.dll

PageRotation

Gets the detected rotation of the page in degrees clockwise (e.g., 0, 90, 180, or 270).

[JsonIgnore]
public int PageRotation { get; }

Property Value

int

Examples

if (ocrResult.PageRotation != 0)
    Console.WriteLine($"Page is rotated {ocrResult.PageRotation} degrees");
Share