Class: Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1p2beta1/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.



466
467
468
469
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 466

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

#entity::Google::Cloud::VideoIntelligence::V1p2beta1::Entity

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

Returns:



466
467
468
469
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 466

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

#frames::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>

Returns Information corresponding to all frames where this object track appears.

Returns:



466
467
468
469
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 466

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

#segment::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment

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

Returns:



466
467
468
469
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 466

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.



466
467
468
469
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 466

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