OcrSettings
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 OcrSettingsMethods
set_default_languages
def set_default_languages(self, value: str) -> NoneSets the DefaultLanguages property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | str | The value to set for the DefaultLanguages property. |
set_enable_preprocessing
def set_enable_preprocessing(self, value: bool) -> NoneSets the EnablePreprocessing property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | bool | The value to set for the EnablePreprocessing property. |
set_enable_skew_detection
def set_enable_skew_detection(self, value: bool) -> NoneSets the EnableSkewDetection property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | bool | The value to set for the EnableSkewDetection property. |
set_enable_table_detection
def set_enable_table_detection(self, value: bool) -> NoneSets the EnableTableDetection property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | bool | The value to set for the EnableTableDetection property. |
set_favor_accuracy
def set_favor_accuracy(self, value: bool) -> NoneSets the FavorAccuracy property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | bool | The value to set for the FavorAccuracy property. |
Properties
default_languages
@propertydef default_languages(self) -> strGets the DefaultLanguages property.
Type: str
Read-only property.
enable_preprocessing
@propertydef enable_preprocessing(self) -> boolGets the EnablePreprocessing property.
Type: bool
Read-only property.
enable_skew_detection
@propertydef enable_skew_detection(self) -> boolGets the EnableSkewDetection property.
Type: bool
Read-only property.
enable_table_detection
@propertydef enable_table_detection(self) -> boolGets the EnableTableDetection property.
Type: bool
Read-only property.
favor_accuracy
@propertydef favor_accuracy(self) -> boolGets the FavorAccuracy property.
Type: bool
Read-only property.