Skip to content

OcrWord class

View as Markdown

Namespace: PdfNetStack.Ocr
Assembly: PdfNetStack.Ocr.dll
Package: PdfNetStack.Ocr

A word.

public sealed record OcrWord : IEquatable<OcrWord>

Inheritance

object ← OcrWord

Implements

IEquatable<OcrWord>

A word.

public OcrWord(string Text, PdfPoint[] Quad, double Confidence)

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.

Mean character confidence, 0 to 1.

public double Confidence { get; init; }

double

Corners as the text stands: top left, top right, bottom right, bottom left.

public PdfPoint[] Quad { get; init; }

PdfPoint[]

The text in logical order.

public string Text { get; init; }

string