class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack

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[RW]

Top N match of the celebrities for the face in this track. Corresponds to the JSON property `celebrities` @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]

face_track[RW]

A track of an object instance. Corresponds to the JSON property `faceTrack` @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 5191
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 5196
def update!(**args)
  @celebrities = args[:celebrities] if args.key?(:celebrities)
  @face_track = args[:face_track] if args.key?(:face_track)
end