View Source GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1FaceAnnotationLandmark (google_api_vision v0.26.1)

A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that 0 <= x < width or 0 <= y < height.

Attributes

  • position (type: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1Position.t, default: nil) - Face landmark position.
  • type (type: String.t, default: nil) - Face landmark type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1FaceAnnotationLandmark{
    position:
      GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1Position.t() | nil,
    type: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.