PaperNormalizationMode
Controls whether the page image handed to OCR is first expressed relative to its local paper level, which lets the recognizer read tinted, faint, or unevenly lit scans.
from nutrient_sdk import PaperNormalizationModeValues
| Name | Value | Description |
|---|---|---|
PaperNormalizationMode.AUTO | 0 | Measures each page and normalizes only pages whose ink is shallow relative to their paper. Ordinary scans are left untouched. This is the default. |
PaperNormalizationMode.DISABLED | 1 | Never normalizes; OCR reads the page image as is. |
PaperNormalizationMode.ENABLED | 2 | Normalizes every page regardless of its measurements. |
Usage Example
from nutrient_sdk import PaperNormalizationMode
# Access enum valuesvalue = PaperNormalizationMode.AUTOprint(f"Value: {value}") # Output: Value: PaperNormalizationMode.AUTOprint(f"Integer value: {value.value}") # Output: Integer value: 0