This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/settings/vision/advanced/ocr-settings.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. OcrSettings

Settings for Ocr. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.

using Nutrient;

The SDK creates this class through factory methods or other SDK objects.

Properties

DefaultLanguages

public string DefaultLanguages { get; set; }

Gets or sets the value of DefaultLanguages. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

DetectLanguageFavorAccuracy

public bool DetectLanguageFavorAccuracy { get; set; }

Gets or sets the value of DetectLanguageFavorAccuracy. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

DetectLanguageFirstIdentifiedPageDecides

public bool DetectLanguageFirstIdentifiedPageDecides { get; set; }

Gets or sets the value of DetectLanguageFirstIdentifiedPageDecides. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

DetectLanguageFromDigitalText

public bool DetectLanguageFromDigitalText { get; set; }

Gets or sets the value of DetectLanguageFromDigitalText. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

DetectLanguageOncePerDocument

public bool DetectLanguageOncePerDocument { get; set; }

Gets or sets the value of DetectLanguageOncePerDocument. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

DetectLanguagePageFraction

public double DetectLanguagePageFraction { get; set; }

Gets or sets the value of DetectLanguagePageFraction. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

DetectLanguagePairWithEnglish

public bool DetectLanguagePairWithEnglish { get; set; }

Gets or sets the value of DetectLanguagePairWithEnglish. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

DetectLanguageScriptCheck

public bool DetectLanguageScriptCheck { get; set; }

Gets or sets the value of DetectLanguageScriptCheck. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

DetectLanguageScriptCheckMargin

public double DetectLanguageScriptCheckMargin { get; set; }

Gets or sets the value of DetectLanguageScriptCheckMargin. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

DetectLanguageTopGuessFloor

public double DetectLanguageTopGuessFloor { get; set; }

Gets or sets the value of DetectLanguageTopGuessFloor. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

EnableOrientationDetection

public bool EnableOrientationDetection { get; set; }

Gets or sets the value of EnableOrientationDetection. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

EnablePreprocessing

public bool EnablePreprocessing { get; set; }

Gets or sets the value of EnablePreprocessing. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

EnableSkewDetection

public bool EnableSkewDetection { get; set; }

Gets or sets the value of EnableSkewDetection. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

EnableTableDetection

public bool EnableTableDetection { get; set; }

Gets or sets the value of EnableTableDetection. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

Engine

public OcrEngine Engine { get; set; }

Gets or sets the value of Engine. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: OcrEngine

ExperimentalCharacterGraderCorpusPath

public string ExperimentalCharacterGraderCorpusPath { get; set; }

Gets or sets the value of ExperimentalCharacterGraderCorpusPath. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

ExperimentalCharacterGraderDictionaryPath

public string ExperimentalCharacterGraderDictionaryPath { get; set; }

Gets or sets the value of ExperimentalCharacterGraderDictionaryPath. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

ExperimentalCharacterGraderModelPath

public string ExperimentalCharacterGraderModelPath { get; set; }

Gets or sets the value of ExperimentalCharacterGraderModelPath. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

ExperimentalEvidenceCorruptionSeed

public int ExperimentalEvidenceCorruptionSeed { get; set; }

Gets or sets the value of ExperimentalEvidenceCorruptionSeed. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

ExperimentalFusionAgreementWeight

public double ExperimentalFusionAgreementWeight { get; set; }

Gets or sets the value of ExperimentalFusionAgreementWeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionConfidenceWeight

public double ExperimentalFusionConfidenceWeight { get; set; }

Gets or sets the value of ExperimentalFusionConfidenceWeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionConfirmationThreshold

public double ExperimentalFusionConfirmationThreshold { get; set; }

Gets or sets the value of ExperimentalFusionConfirmationThreshold. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionDigitGrouping

public bool ExperimentalFusionDigitGrouping { get; set; }

Gets or sets the value of ExperimentalFusionDigitGrouping. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionFoldFullwidthLatin

public bool ExperimentalFusionFoldFullwidthLatin { get; set; }

Gets or sets the value of ExperimentalFusionFoldFullwidthLatin. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionGenericSubreadDomination

public bool ExperimentalFusionGenericSubreadDomination { get; set; }

Gets or sets the value of ExperimentalFusionGenericSubreadDomination. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionJudge

public bool ExperimentalFusionJudge { get; set; }

Gets or sets the value of ExperimentalFusionJudge. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionJudgeDictionaryPath

public string ExperimentalFusionJudgeDictionaryPath { get; set; }

Gets or sets the value of ExperimentalFusionJudgeDictionaryPath. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

ExperimentalFusionJudgeModelPath

public string ExperimentalFusionJudgeModelPath { get; set; }

Gets or sets the value of ExperimentalFusionJudgeModelPath. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

ExperimentalFusionMinimumWinnerMargin

public double ExperimentalFusionMinimumWinnerMargin { get; set; }

Gets or sets the value of ExperimentalFusionMinimumWinnerMargin. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionPaddleFullBranch

public bool ExperimentalFusionPaddleFullBranch { get; set; }

Gets or sets the value of ExperimentalFusionPaddleFullBranch. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionPaddleOnOriginalImage

public bool ExperimentalFusionPaddleOnOriginalImage { get; set; }

Gets or sets the value of ExperimentalFusionPaddleOnOriginalImage. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionSecondaryBudgetFactor

public double ExperimentalFusionSecondaryBudgetFactor { get; set; }

Gets or sets the value of ExperimentalFusionSecondaryBudgetFactor. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionSecondaryBudgetFloorSeconds

public double ExperimentalFusionSecondaryBudgetFloorSeconds { get; set; }

Gets or sets the value of ExperimentalFusionSecondaryBudgetFloorSeconds. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionSingleSourceConfidenceFloor

public double ExperimentalFusionSingleSourceConfidenceFloor { get; set; }

Gets or sets the value of ExperimentalFusionSingleSourceConfidenceFloor. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionSpaceInsensitiveAgreement

public bool ExperimentalFusionSpaceInsensitiveAgreement { get; set; }

Gets or sets the value of ExperimentalFusionSpaceInsensitiveAgreement. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionStagedMaxLowConfidenceRatio

public double ExperimentalFusionStagedMaxLowConfidenceRatio { get; set; }

Gets or sets the value of ExperimentalFusionStagedMaxLowConfidenceRatio. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionStagedMinMeanConfidence

public double ExperimentalFusionStagedMinMeanConfidence { get; set; }

Gets or sets the value of ExperimentalFusionStagedMinMeanConfidence. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalFusionStagedMinWordCount

public int ExperimentalFusionStagedMinWordCount { get; set; }

Gets or sets the value of ExperimentalFusionStagedMinWordCount. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

ExperimentalFusionStagedSecondEngine

public bool ExperimentalFusionStagedSecondEngine { get; set; }

Gets or sets the value of ExperimentalFusionStagedSecondEngine. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalFusionValidShapeWeight

public double ExperimentalFusionValidShapeWeight { get; set; }

Gets or sets the value of ExperimentalFusionValidShapeWeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

ExperimentalPaddleOnCpu

public bool ExperimentalPaddleOnCpu { get; set; }

Gets or sets the value of ExperimentalPaddleOnCpu. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalRenderDpi

public int ExperimentalRenderDpi { get; set; }

Gets or sets the value of ExperimentalRenderDpi. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

ExperimentalUnanimityAuditActive

public bool ExperimentalUnanimityAuditActive { get; set; }

Gets or sets the value of ExperimentalUnanimityAuditActive. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ExperimentalUnanimityAuditProbe

public bool ExperimentalUnanimityAuditProbe { get; set; }

Gets or sets the value of ExperimentalUnanimityAuditProbe. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

FavorAccuracy

public bool FavorAccuracy { get; set; }

Gets or sets the value of FavorAccuracy. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ImageTableZoneRead

public bool ImageTableZoneRead { get; set; }

Gets or sets the value of ImageTableZoneRead. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

MaxLanguages

public int MaxLanguages { get; set; }

Gets or sets the value of MaxLanguages. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

MaxScripts

public int MaxScripts { get; set; }

Gets or sets the value of MaxScripts. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

MaxThreads

public int MaxThreads { get; set; }

Gets or sets the value of MaxThreads. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

MinLanguageVoteFraction

public double MinLanguageVoteFraction { get; set; }

Gets or sets the value of MinLanguageVoteFraction. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

MinLanguageVotes

public int MinLanguageVotes { get; set; }

Gets or sets the value of MinLanguageVotes. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

MinScriptRatio

public double MinScriptRatio { get; set; }

Gets or sets the value of MinScriptRatio. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double

PaperRelativeInkCut

public float PaperRelativeInkCut { get; set; }

Gets or sets the value of PaperRelativeInkCut. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: float

PaperRelativeInkDepthThreshold

public float PaperRelativeInkDepthThreshold { get; set; }

Gets or sets the value of PaperRelativeInkDepthThreshold. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: float

PaperRelativeNoiseWhitePointFactor

public float PaperRelativeNoiseWhitePointFactor { get; set; }

Gets or sets the value of PaperRelativeNoiseWhitePointFactor. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: float

PaperRelativeNormalization

public PaperNormalizationMode PaperRelativeNormalization { get; set; }

Gets or sets the value of PaperRelativeNormalization. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: PaperNormalizationMode

PaperRelativeNormalizationForPaddle

public bool PaperRelativeNormalizationForPaddle { get; set; }

Gets or sets the value of PaperRelativeNormalizationForPaddle. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

PaperRelativePaperPercentile

public int PaperRelativePaperPercentile { get; set; }

Gets or sets the value of PaperRelativePaperPercentile. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

PaperRelativeTileSize

public int PaperRelativeTileSize { get; set; }

Gets or sets the value of PaperRelativeTileSize. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

SplitDecimalRepair

public bool SplitDecimalRepair { get; set; }

Gets or sets the value of SplitDecimalRepair. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

Resource management

public void Dispose()

OcrSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.