GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2BoundingPoly (google_api_document_ai v0.46.0)

View Source

A bounding polygon for the detected image annotation.

Attributes

  • normalizedVertices (type: list(GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2NormalizedVertex.t), default: nil) - The bounding polygon normalized vertices.
  • vertices (type: list(GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2Vertex.t), default: nil) - The bounding polygon vertices.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2BoundingPoly{
    normalizedVertices:
      [
        GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2NormalizedVertex.t()
      ]
      | nil,
    vertices:
      [
        GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2Vertex.t()
      ]
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.