Table of Contents

Class OcrParams

Namespace
NAPS2.Ocr
Assembly
NAPS2.Sdk.dll

Configuration parameters for an OCR request.

For language codes, see https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016

public record OcrParams : IEquatable<OcrParams>
Inheritance
OcrParams
Implements

Constructors

OcrParams(string?, OcrMode, double)

Configuration parameters for an OCR request.

For language codes, see https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016

public OcrParams(string? LanguageCode, OcrMode Mode = default, double TimeoutInSeconds = null)

Parameters

LanguageCode string?
Mode OcrMode
TimeoutInSeconds double

Fields

Empty

public static readonly OcrParams Empty

Field Value

OcrParams

Properties

LanguageCode

public string? LanguageCode { get; init; }

Property Value

string?

Mode

public OcrMode Mode { get; init; }

Property Value

OcrMode

TimeoutInSeconds

public double TimeoutInSeconds { get; init; }

Property Value

double