Class MathFormula (0.14.1a0)

MathFormula(
    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.VisualElement with type math_formula. https://cloud.google.com/document-ai/docs/process-documents-ocr#math_ocr

Attributes

Name Description
documentai_object :noindex: google.cloud.documentai.Document.Page.VisualElement
Required. The original object.
text :noindex: str
Required. The text of the MathFormula.

Properties

hocr_bounding_box

API documentation for documentai_toolbox.wrappers.page.MathFormula.hocr_bounding_box property.