Class: Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/detection.rb

Overview

Annotation details for video object tracking.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_box::Google::Cloud::AutoML::V1beta1::BoundingPoly

Returns Required. The rectangle representing the object location on the frame (i.e. at the time_offset of the video).

Returns:



62
63
64
65
# File 'proto_docs/google/cloud/automl/v1beta1/detection.rb', line 62

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

#instance_id::String

Returns Optional. The instance of the object, expressed as a positive integer. Used to tell apart objects of the same type (i.e. AnnotationSpec) when multiple are present on a single example. NOTE: Instance ID prediction quality is not a part of model evaluation and is done as best effort. Especially in cases when an entity goes off-screen for a longer time (minutes), when it comes back it may be given a new instance ID.

Returns:

  • (::String)

    Optional. The instance of the object, expressed as a positive integer. Used to tell apart objects of the same type (i.e. AnnotationSpec) when multiple are present on a single example. NOTE: Instance ID prediction quality is not a part of model evaluation and is done as best effort. Especially in cases when an entity goes off-screen for a longer time (minutes), when it comes back it may be given a new instance ID.



62
63
64
65
# File 'proto_docs/google/cloud/automl/v1beta1/detection.rb', line 62

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

#score::Float

Returns Output only. The confidence that this annotation is positive for the video at the time_offset, value in [0, 1], higher means higher positivity confidence. For annotations created by the user the score is 1. When user approves an annotation, the original float score is kept (and not changed to 1).

Returns:

  • (::Float)

    Output only. The confidence that this annotation is positive for the video at the time_offset, value in [0, 1], higher means higher positivity confidence. For annotations created by the user the score is 1. When user approves an annotation, the original float score is kept (and not changed to 1).



62
63
64
65
# File 'proto_docs/google/cloud/automl/v1beta1/detection.rb', line 62

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

#time_offset::Google::Protobuf::Duration

Returns Required. A time (frame) of a video to which this annotation pertains. Represented as the duration since the video's start.

Returns:

  • (::Google::Protobuf::Duration)

    Required. A time (frame) of a video to which this annotation pertains. Represented as the duration since the video's start.



62
63
64
65
# File 'proto_docs/google/cloud/automl/v1beta1/detection.rb', line 62

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