Table of Contents

Property PageElement

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

PageElement

Gets the underlying PageElement, which encapsulates all of the layout information for this OCR result, page dimensions (width, height), rotation, skew, and the full collection of TextElement instances.

[JsonPropertyName("PageElement")]
public PageElement PageElement { get; }

Property Value

PageElement

Examples

PageElement page = ocrResult.PageElement;
Console.WriteLine($"Page: {page.Width}x{page.Height}, {page.TextElements.Count()} text blocks");
Share