Merged view of OcrSettings, combining immutable defaults, SDK overrides, and document overrides. Property writes automatically target the appropriate level (document if available, otherwise SDK).

from nutrient import OcrSettings

Methods

set_default_languages

def set_default_languages(self, value: str) -> None

Sets the DefaultLanguages property.

Parameters:

NameTypeDescription
valuestrThe value to set for the DefaultLanguages property.

set_enable_preprocessing

def set_enable_preprocessing(self, value: bool) -> None

Sets the EnablePreprocessing property.

Parameters:

NameTypeDescription
valueboolThe value to set for the EnablePreprocessing property.

set_enable_skew_detection

def set_enable_skew_detection(self, value: bool) -> None

Sets the EnableSkewDetection property.

Parameters:

NameTypeDescription
valueboolThe value to set for the EnableSkewDetection property.

set_enable_table_detection

def set_enable_table_detection(self, value: bool) -> None

Sets the EnableTableDetection property.

Parameters:

NameTypeDescription
valueboolThe value to set for the EnableTableDetection property.

set_favor_accuracy

def set_favor_accuracy(self, value: bool) -> None

Sets the FavorAccuracy property.

Parameters:

NameTypeDescription
valueboolThe value to set for the FavorAccuracy property.

Properties

default_languages

@property
def default_languages(self) -> str

Gets the DefaultLanguages property.

Type: str

Read-only property.


enable_preprocessing

@property
def enable_preprocessing(self) -> bool

Gets the EnablePreprocessing property.

Type: bool

Read-only property.


enable_skew_detection

@property
def enable_skew_detection(self) -> bool

Gets the EnableSkewDetection property.

Type: bool

Read-only property.


enable_table_detection

@property
def enable_table_detection(self) -> bool

Gets the EnableTableDetection property.

Type: bool

Read-only property.


favor_accuracy

@property
def favor_accuracy(self) -> bool

Gets the FavorAccuracy property.

Type: bool

Read-only property.