Class OcrPage

Namespace
SoftZenPdf.Ocr
Assembly
SoftZenPdf.Ocr.dll

The text recognised in one image, in reading order.

public sealed record OcrPage : IEquatable<OcrPage>
Inheritance
OcrPage
Implements
Inherited Members

Constructors

OcrPage(int, int, IReadOnlyList<OcrParagraph>)

The text recognised in one image, in reading order.

Properties

Height

Height of the image as displayed, in pixels.

Lines

Every line, in reading order.

MeanConfidence

The average confidence of the words, weighted by length, from 0 to 100; 0 when nothing was recognised.

Paragraphs

The paragraphs, in reading order.

Resolution

The resolution in pixels per inch that recognition used: the image's own, or the engine's override; null if neither was known and the engine estimated it.

Text

The plain text: words separated by spaces, lines by line feeds, paragraphs by a blank line. Without a license key (see PdfLicense) it starts with an evaluation notice line; Words, Lines and Paragraphs are never changed.

Width

Width of the image as displayed (after any EXIF or TIFF orientation), in pixels.

Words

Every word, in reading order.