Class Layout

Visual element describing a layout unit on a page.

Attributes
NameDescription
google.cloud.documentai_v1beta2.types.Document.TextAnchortext_anchor
Text anchor indexing into the Document.text.
floatconfidence
Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].
google.cloud.documentai_v1beta2.types.BoundingPolybounding_poly
The bounding polygon for the Layout.
google.cloud.documentai_v1beta2.types.Document.Page.Layout.Orientationorientation
Detected orientation for the Layout.
strid
Optional. This is the identifier used by referencing PageAnchors.

Inheritance

builtins.object > proto.message.Message > Layout

Classes

Orientation

Orientation(value)

Detected human reading orientation.