Interface VideoObjectTrackingAnnotationOrBuilder (2.23.0)

public interface VideoObjectTrackingAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingBox()

public abstract BoundingPoly getBoundingBox()

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

.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 3;

Returns
TypeDescription
BoundingPoly

The boundingBox.

getBoundingBoxOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingBoxOrBuilder()

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

.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 3;

Returns
TypeDescription
BoundingPolyOrBuilder

getInstanceId()

public abstract String getInstanceId()

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.

string instance_id = 1;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

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.

string instance_id = 1;

Returns
TypeDescription
ByteString

The bytes for instanceId.

getScore()

public abstract float getScore()

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).

float score = 4;

Returns
TypeDescription
float

The score.

getTimeOffset()

public abstract Duration getTimeOffset()

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

.google.protobuf.Duration time_offset = 2;

Returns
TypeDescription
Duration

The timeOffset.

getTimeOffsetOrBuilder()

public abstract DurationOrBuilder getTimeOffsetOrBuilder()

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

.google.protobuf.Duration time_offset = 2;

Returns
TypeDescription
DurationOrBuilder

hasBoundingBox()

public abstract boolean hasBoundingBox()

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

.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 3;

Returns
TypeDescription
boolean

Whether the boundingBox field is set.

hasTimeOffset()

public abstract boolean hasTimeOffset()

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

.google.protobuf.Duration time_offset = 2;

Returns
TypeDescription
boolean

Whether the timeOffset field is set.