View Source GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentPageLayout (google_api_document_ai v0.38.0)

Visual element describing a layout unit on a page.

Attributes

  • boundingPoly (type: GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1BoundingPoly.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.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTextAnchor.t, default: nil) - Text anchor indexing into the Document.text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentPageLayout{
    boundingPoly:
      GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1BoundingPoly.t()
      | nil,
    confidence: number() | nil,
    orientation: String.t() | nil,
    textAnchor:
      GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTextAnchor.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.