google_api_vision v0.22.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1Position 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

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.