GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1NormalizedVertex (google_api_data_labeling v0.2.1) 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1NormalizedVertex{
    x: number(),
    y: number()
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.