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

Specifies which OCR engines read a page in document-processing pipelines.

from nutrient_sdk import OcrEngine

Values

NameValueDescription
OcrEngine.FUSION0Reads each page with every engine the host can run and reconciles their readings word by word. On a host without a GPU execution provider this is the primary engine alone.
OcrEngine.PRIMARY1Reads each page with the primary engine only.
OcrEngine.SECONDARY2Reads each page with the secondary engine only. The secondary engine needs a GPU execution provider.

Usage Example

from nutrient_sdk import OcrEngine
# Access enum values
value = OcrEngine.FUSION
print(f"Value: {value}") # Output: Value: OcrEngine.FUSION
print(f"Integer value: {value.value}") # Output: Integer value: 0