class Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity

The recognized celebrity with confidence score.

Attributes

celebrity[RW]

Celebrity definition. Corresponds to the JSON property `celebrity` @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity]

confidence[RW]

Recognition confidence. Range [0, 1]. Corresponds to the JSON property `confidence` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 5565
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_v1p3beta1/classes.rb, line 5570
def update!(**args)
  @celebrity = args[:celebrity] if args.key?(:celebrity)
  @confidence = args[:confidence] if args.key?(:confidence)
end