GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2Vertex (google_api_document_ai v0.21.0) View Source

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.

Attributes

  • x (type: integer(), default: nil) - X coordinate.
  • y (type: integer(), default: nil) - Y coordinate (starts from the top of the image).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta2Vertex{
  x: integer() | nil,
  y: integer() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.