OcrWord class
Namespace: PdfNetStack.Ocr
Assembly: PdfNetStack.Ocr.dll
Package: PdfNetStack.Ocr
A word.
public sealed record OcrWord : IEquatable<OcrWord>Inheritance
Implements
Constructors
Section titled “Constructors”OcrWord(string, PdfPoint[], double)
Section titled “ OcrWord(string, PdfPoint[], double)”A word.
public OcrWord(string Text, PdfPoint[] Quad, double Confidence)Parameters
Section titled “Parameters”Text string
The text in logical order.
Quad PdfPoint[]
Corners as the text stands: top left, top right, bottom right, bottom left.
Confidence double
Mean character confidence, 0 to 1.
Properties
Section titled “Properties”Confidence
Section titled “ Confidence”Mean character confidence, 0 to 1.
public double Confidence { get; init; }Property Value
Section titled “Property Value”Corners as the text stands: top left, top right, bottom right, bottom left.
public PdfPoint[] Quad { get; init; }Property Value
Section titled “Property Value”PdfPoint[]
The text in logical order.
public string Text { get; init; }