Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/videointelligence_v1p3beta1/classes.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb
Overview
Celebrity recognition annotation per video.
Instance Attribute Summary collapse
-
#celebrity_tracks ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>
The tracks detected from the input video, including recognized celebrities and other detected faces in the video.
-
#version ⇒ String
Feature version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation.
4759 4760 4761 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4759 def initialize(**args) update!(**args) end |
Instance Attribute Details
#celebrity_tracks ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>
The tracks detected from the input video, including recognized celebrities and
other detected faces in the video.
Corresponds to the JSON property celebrityTracks
4752 4753 4754 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4752 def celebrity_tracks @celebrity_tracks end |
#version ⇒ String
Feature version.
Corresponds to the JSON property version
4757 4758 4759 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4757 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4764 4765 4766 4767 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 4764 def update!(**args) @celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks) @version = args[:version] if args.key?(:version) end |