Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p1beta1/classes.rb,
generated/google/apis/videointelligence_v1p1beta1/representations.rb,
generated/google/apis/videointelligence_v1p1beta1/representations.rb
Overview
Person detection annotation per video.
Instance Attribute Summary collapse
-
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Track>
The detected tracks of a person.
-
#version ⇒ String
Feature version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1PersonDetectionAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1PersonDetectionAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1PersonDetectionAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1PersonDetectionAnnotation.
643 644 645 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 643 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Track>
The detected tracks of a person.
Corresponds to the JSON property tracks
636 637 638 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 636 def tracks @tracks end |
#version ⇒ String
Feature version.
Corresponds to the JSON property version
641 642 643 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 641 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
648 649 650 651 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 648 def update!(**args) @tracks = args[:tracks] if args.key?(:tracks) @version = args[:version] if args.key?(:version) end |