Class OcrResultElement
A element in the result of an OCR request that represents a text segment.
public record OcrResultElement : IEquatable<OcrResultElement>
- Inheritance
-
OcrResultElement
- Implements
Constructors
OcrResultElement(string, string, bool, (int x, int y, int w, int h), int, int, ImmutableList<OcrResultElement>)
A element in the result of an OCR request that represents a text segment.
public OcrResultElement(string Text, string LanguageCode, bool RightToLeft, (int x, int y, int w, int h) Bounds, int Baseline, int FontSize, ImmutableList<OcrResultElement> Children)
Parameters
Text
stringLanguageCode
stringRightToLeft
boolBounds
(int x, int y, int w, int h)Baseline
intFontSize
intChildren
ImmutableList<OcrResultElement>
Properties
Baseline
public int Baseline { get; init; }
Property Value
Bounds
public (int x, int y, int w, int h) Bounds { get; init; }
Property Value
Children
public ImmutableList<OcrResultElement> Children { get; init; }
Property Value
- ImmutableList<OcrResultElement>
FontSize
public int FontSize { get; init; }
Property Value
LanguageCode
public string LanguageCode { get; init; }
Property Value
RightToLeft
public bool RightToLeft { get; init; }
Property Value
Text
public string Text { get; init; }