View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout (google_api_document_ai v0.33.0)

Visual element describing a layout unit on a page.

Attributes

  • boundingPoly (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1BoundingPoly.t, default: nil) - The bounding polygon for the Layout.
  • confidence (type: number(), default: nil) - 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].
  • orientation (type: String.t, default: nil) - Detected orientation for the Layout.
  • textAnchor (type: GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t, default: nil) - Text anchor indexing into the Document.text.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout{
  boundingPoly:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1BoundingPoly.t() | nil,
  confidence: number() | nil,
  orientation: String.t() | nil,
  textAnchor:
    GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t()
    | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.