Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p3beta1/classes.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb
Overview
Person detection annotation per video.
Instance Attribute Summary collapse
-
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::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.
4082 4083 4084 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4082 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track>
The trackes that a person is detected.
Corresponds to the JSON property tracks
4080 4081 4082 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4080 def tracks @tracks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4087 4088 4089 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4087 def update!(**args) @tracks = args[:tracks] if args.key?(:tracks) end |