GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_DetectedLandmark (google_api_video_intelligence v0.33.0)

View Source

A generic detected landmark represented by name in string format and a 2D location.

Attributes

  • confidence (type: number(), default: nil) - The confidence score of the detected landmark. Range [0, 1].
  • name (type: String.t, default: nil) - The name of this landmark, for example, left_hand, right_shoulder.
  • point (type: GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_NormalizedVertex.t, default: nil) - The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_DetectedLandmark{
    confidence: number() | nil,
    name: String.t() | nil,
    point:
      GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1_NormalizedVertex.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.