class Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track
A track of an object instance.
Attributes
attributes[RW]
Optional. Attributes in the track level. Corresponds to the JSON property `attributes` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
confidence[RW]
Optional. The confidence score of the tracked object. Corresponds to the JSON property `confidence` @return [Float]
segment[RW]
Video segment. Corresponds to the JSON property `segment` @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
timestamped_objects[RW]
The object with timestamp and attributes per frame in the track. Corresponds to the JSON property `timestampedObjects` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1/classes.rb, line 6133 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/videointelligence_v1/classes.rb, line 6138 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @confidence = args[:confidence] if args.key?(:confidence) @segment = args[:segment] if args.key?(:segment) @timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects) end