Class: Google::Cloud::VideoIntelligence::V1::ObjectTrackingAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1::ObjectTrackingAnnotation
- Defined in:
- lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb
Overview
Annotations corresponding to one tracked object.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Object category's labeling confidence of this track.
-
#entity ⇒ Google::Cloud::VideoIntelligence::V1::Entity
Entity to specify the object category that this track is labeled as.
-
#frames ⇒ Array<Google::Cloud::VideoIntelligence::V1::ObjectTrackingFrame>
Information corresponding to all frames where this object track appears.
-
#segment ⇒ Google::Cloud::VideoIntelligence::V1::VideoSegment
Non-streaming batch mode ONLY.
-
#track_id ⇒ Integer
Streaming mode ONLY.
Instance Attribute Details
#confidence ⇒ Float
Returns Object category's labeling confidence of this track.
614 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 614 class ObjectTrackingAnnotation; end |
#entity ⇒ Google::Cloud::VideoIntelligence::V1::Entity
Returns Entity to specify the object category that this track is labeled as.
614 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 614 class ObjectTrackingAnnotation; end |
#frames ⇒ Array<Google::Cloud::VideoIntelligence::V1::ObjectTrackingFrame>
Returns 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.
614 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 614 class ObjectTrackingAnnotation; end |
#segment ⇒ Google::Cloud::VideoIntelligence::V1::VideoSegment
Returns Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.
614 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 614 class ObjectTrackingAnnotation; end |
#track_id ⇒ Integer
Returns 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.
614 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 614 class ObjectTrackingAnnotation; end |