class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation
Annotations corresponding to one tracked object.
Attributes
Object category's labeling confidence of this track. Corresponds to the JSON property `confidence` @return [Float]
Detected entity from video analysis. Corresponds to the JSON property `entity` @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Entity]
Information corresponding to all frames where this object track appears. Non- streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames. Corresponds to the JSON property `frames` @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame>]
Video segment. Corresponds to the JSON property `segment` @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id
so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id
over time. Corresponds to the JSON property `trackId` @return [Fixnum]
Feature version. Corresponds to the JSON property `version` @return [String]
Public Class Methods
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 1731 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 1736 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @entity = args[:entity] if args.key?(:entity) @frames = args[:frames] if args.key?(:frames) @segment = args[:segment] if args.key?(:segment) @track_id = args[:track_id] if args.key?(:track_id) @version = args[:version] if args.key?(:version) end