Class OcrConfig (2.11.0)

OcrConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for Document OCR.

Attributes

NameDescription
enable_native_pdf_parsing bool
Enables special handling for PDFs with existing text information. Results in better text extraction quality in such PDF inputs.
advanced_ocr_options MutableSequence[str]
A list of advanced OCR options to further fine-tune OCR behavior.