GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3NormalizedVertex (google_api_document_ai v0.21.0) View Source

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

Attributes

  • x (type: number(), default: nil) - X coordinate.
  • y (type: number(), 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.V1beta3.Model.GoogleCloudDocumentaiV1beta3NormalizedVertex{
    x: number() | nil,
    y: number() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.