Table of Contents

Property TextElements

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

TextElements

Gets the collection of TextElement instances found on the page. Each text element may optionally include bounding box coordinates describing its layout.

[JsonIgnore]
public IEnumerable<TextElement> TextElements { get; }

Property Value

IEnumerable<TextElement>

Examples

foreach (var textElement in ocrResult.TextElements)
{
    Console.WriteLine($"Text: {textElement.Text}");
}
Share