Class OcrConfig (2.7.0)

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

Config for Document OCR.

Attribute

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.