Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
- 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::GoogleCloudVideointelligenceV1p3beta1Track>
The trackes that a person is detected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation.
4278 4279 4280 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track>
The trackes that a person is detected.
Corresponds to the JSON property tracks
4276 4277 4278 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4276 def tracks @tracks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4283 4284 4285 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4283 def update!(**args) @tracks = args[:tracks] if args.key?(:tracks) end |