google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.Position View Source

A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.

Attributes

  • x (type: number(), default: nil) - X coordinate.
  • y (type: number(), default: nil) - Y coordinate.
  • z (type: number(), default: nil) - Z coordinate (or depth).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Vision.V1.Model.Position{
  x: number(),
  y: number(),
  z: number()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.