Class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1beta2/classes.rb,
generated/google/apis/videointelligence_v1beta2/representations.rb,
generated/google/apis/videointelligence_v1beta2/representations.rb
Overview
Person detection annotation per video.
Instance Attribute Summary collapse
-
#tracks ⇒ Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track>
The detected tracks of a person.
-
#version ⇒ String
Feature version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
constructor
A new instance of GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
Returns a new instance of GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation.
1985 1986 1987 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1985 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tracks ⇒ Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track>
The detected tracks of a person.
Corresponds to the JSON property tracks
1978 1979 1980 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1978 def tracks @tracks end |
#version ⇒ String
Feature version.
Corresponds to the JSON property version
1983 1984 1985 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1983 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1990 1991 1992 1993 |
# File 'generated/google/apis/videointelligence_v1beta2/classes.rb', line 1990 def update!(**args) @tracks = args[:tracks] if args.key?(:tracks) @version = args[:version] if args.key?(:version) end |