Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#tracksArray<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