Class: Google::Cloud::VideoIntelligence::V1::ObjectTrackingAnnotation

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

Instance Attribute Details

#confidenceFloat

Returns Object category's labeling confidence of this track.

Returns:

  • (Float)

    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

#entityGoogle::Cloud::VideoIntelligence::V1::Entity

Returns Entity to specify the object category that this track is labeled as.

Returns:



614
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 614

class ObjectTrackingAnnotation; end

#framesArray<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.

Returns:

  • (Array<Google::Cloud::VideoIntelligence::V1::ObjectTrackingFrame>)

    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

#segmentGoogle::Cloud::VideoIntelligence::V1::VideoSegment

Returns Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears.

Returns:



614
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 614

class ObjectTrackingAnnotation; end

#track_idInteger

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.

Returns:

  • (Integer)

    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