View Source GoogleApi.Vision.V1.Model.BoundingPoly (google_api_vision v0.25.0)

A bounding polygon for the detected image annotation.

Attributes

  • normalizedVertices (type: list(GoogleApi.Vision.V1.Model.NormalizedVertex.t), default: nil) - The bounding polygon normalized vertices.
  • vertices (type: list(GoogleApi.Vision.V1.Model.Vertex.t), default: nil) - The bounding polygon vertices.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.BoundingPoly{
  normalizedVertices: [GoogleApi.Vision.V1.Model.NormalizedVertex.t()] | nil,
  vertices: [GoogleApi.Vision.V1.Model.Vertex.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.