View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout (google_api_content_warehouse v0.5.0)

Visual element describing a layout unit on a page.

Attributes

  • boundingPoly (type: GoogleApi.ContentWarehouse.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.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.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.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout{
    boundingPoly:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1BoundingPoly.t()
      | nil,
    confidence: number() | nil,
    orientation: String.t() | nil,
    textAnchor:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.