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

View Source

A generic detected attribute represented by name in string format.

Attributes

  • confidence (type: number(), default: nil) - Detected attribute confidence. Range [0, 1].
  • name (type: String.t, default: nil) - The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.
  • value (type: String.t, default: nil) - Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.