Class: Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb

Overview

Annotations corresponding to one tracked object.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence::Float

Returns Object category's labeling confidence of this track.

Returns:

  • (::Float)

    Object category's labeling confidence of this track.



894
895
896
897
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 894

class ObjectTrackingAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#entity::Google::Cloud::VideoIntelligence::V1p3beta1::Entity

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

Returns:



894
895
896
897
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 894

class ObjectTrackingAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#frames::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::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:



894
895
896
897
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 894

class ObjectTrackingAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#segment::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment

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

Returns:



894
895
896
897
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 894

class ObjectTrackingAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

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.



894
895
896
897
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 894

class ObjectTrackingAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end