Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
- 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
Person detection annotation per video.
Instance Attribute Summary collapse
-
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track>
The detected tracks of a person.
-
#version ⇒ String
Feature version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation.
2931 2932 2933 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 2931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tracks ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track>
The detected tracks of a person.
Corresponds to the JSON property tracks
2924 2925 2926 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 2924 def tracks @tracks end |
#version ⇒ String
Feature version.
Corresponds to the JSON property version
2929 2930 2931 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 2929 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2936 2937 2938 2939 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 2936 def update!(**args) @tracks = args[:tracks] if args.key?(:tracks) @version = args[:version] if args.key?(:version) end |