Table of Contents

Class OcrResult

Namespace
NAPS2.Ocr
Assembly
NAPS2.Sdk.dll

The result of an OCR request. Contains a set of elements that represent text segments.

public class OcrResult
Inheritance
OcrResult

Constructors

OcrResult((int x, int y, int w, int h), ImmutableList<OcrResultElement>, ImmutableList<OcrResultElement>)

The result of an OCR request. Contains a set of elements that represent text segments.

public OcrResult((int x, int y, int w, int h) pageBounds, ImmutableList<OcrResultElement> words, ImmutableList<OcrResultElement> lines)

Parameters

pageBounds (int x, int y, int w, int h)
words ImmutableList<OcrResultElement>
lines ImmutableList<OcrResultElement>

Properties

Lines

public ImmutableList<OcrResultElement> Lines { get; }

Property Value

ImmutableList<OcrResultElement>

PageBounds

public (int x, int y, int w, int h) PageBounds { get; }

Property Value

(int x, int y, int w, int h)

Words

public ImmutableList<OcrResultElement> Words { get; }

Property Value

ImmutableList<OcrResultElement>