Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions google/cloud/documentai_v1beta3/types/document_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,19 @@ class OcrConfig(proto.Message):
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.
"""

enable_native_pdf_parsing: bool = proto.Field(
proto.BOOL,
number=3,
)
advanced_ocr_options: MutableSequence[str] = proto.RepeatedField(
proto.STRING,
number=5,
)


__all__ = tuple(sorted(__protobuf__.manifest))