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

View Source

The annotation result of a celebrity face track. RecognizedCelebrity field could be empty if the face track does not have any matched celebrities.

Attributes

  • celebrities (type: list(GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity.t), default: nil) - Top N match of the celebrities for the face in this track.
  • faceTrack (type: GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1p3beta1_Track.t, default: nil) - A track of a person's face.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack{
    celebrities:
      [
        GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity.t()
      ]
      | nil,
    faceTrack:
      GoogleApi.VideoIntelligence.V1.Model.GoogleCloudVideointelligenceV1p3beta1_Track.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.