Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation (v0.6.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation.

Annotation details for video object tracking.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bounding_box

def bounding_box() -> ::Google::Cloud::AutoML::V1beta1::BoundingPoly
Returns

#bounding_box=

def bounding_box=(value) -> ::Google::Cloud::AutoML::V1beta1::BoundingPoly
Parameter
Returns

#instance_id

def instance_id() -> ::String
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.

#instance_id=

def instance_id=(value) -> ::String
Parameter
  • value (::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.
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.

#score

def score() -> ::Float
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).

#score=

def score=(value) -> ::Float
Parameter
  • value (::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).
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).

#time_offset

def time_offset() -> ::Google::Protobuf::Duration
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.

#time_offset=

def time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — 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.