Interface VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder (0.12.0)

public static interface VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingBox()

public abstract VideoObjectTrackingPredictionResult.BoundingBox getBoundingBox()

Boundingbox.

.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;

Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBox

The boundingBox.

getBoundingBoxOrBuilder()

public abstract VideoObjectTrackingPredictionResult.BoundingBoxOrBuilder getBoundingBoxOrBuilder()

Boundingbox.

.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;

Returns
Type Description
VideoObjectTrackingPredictionResult.BoundingBoxOrBuilder

getConfidence()

public abstract float getConfidence()

The Model's confidence in correction of this identification, higher value means higher confidence.

float confidence = 4;

Returns
Type Description
float

The confidence.

getDisplayName()

public abstract String getDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public abstract String getId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getTrackId()

public abstract long getTrackId()

The same object may be identified on muitiple frames which are typical adjacent. The set of frames where a particular object has been detected form a track. This track_id can be used to trace down all frames for an detected object.

int64 track_id = 5;

Returns
Type Description
long

The trackId.

hasBoundingBox()

public abstract boolean hasBoundingBox()

Boundingbox.

.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;

Returns
Type Description
boolean

Whether the boundingBox field is set.