Class Symbol (0.11.0a0)

Symbol(
    documentai_object: typing.Union[
        google.cloud.documentai_v1.types.document.Document.Page.Paragraph,
        google.cloud.documentai_v1.types.document.Document.Page,
        google.cloud.documentai_v1.types.document.Document.Page.Token,
        google.cloud.documentai_v1.types.document.Document.Page.Block,
        google.cloud.documentai_v1.types.document.Document.Page.Symbol,
    ],
    _page: google.cloud.documentai_toolbox.wrappers.page.Page,
)

Represents a wrapped documentai.Document.Page.Symbol. https://cloud.google.com/document-ai/docs/process-documents-ocr#enable_symbols

Attributes

NameDescription
documentai_object google.cloud.documentai.Document.Page.Symbol
Required. The original object.
_page Page
Required. The Page object containing the Symbol.

Properties

hocr_bounding_box

hOCR bounding box of the page element.