Package com.google.cloud.visionai.v1
Interface VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VideoObjectTrackingPredictionResult.DetectedObject,VideoObjectTrackingPredictionResult.DetectedObject.Builder
- Enclosing class:
- VideoObjectTrackingPredictionResult
public static interface VideoObjectTrackingPredictionResult.DetectedObjectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionBoundingbox.Boundingbox.floatThe Model's confidence in correction of this identification, higher value means higher confidence.The display name of the AnnotationSpec that had been identified.com.google.protobuf.ByteStringThe display name of the AnnotationSpec that had been identified.getId()The resource ID of the AnnotationSpec that had been identified.com.google.protobuf.ByteStringThe resource ID of the AnnotationSpec that had been identified.longThe same object may be identified on muitiple frames which are typical adjacent.booleanBoundingbox.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Returns:
- The bytes for id.
-
getDisplayName
String getDisplayName()The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Returns:
- The bytes for displayName.
-
hasBoundingBox
boolean hasBoundingBox()Boundingbox.
.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;- Returns:
- Whether the boundingBox field is set.
-
getBoundingBox
VideoObjectTrackingPredictionResult.BoundingBox getBoundingBox()Boundingbox.
.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;- Returns:
- The boundingBox.
-
getBoundingBoxOrBuilder
VideoObjectTrackingPredictionResult.BoundingBoxOrBuilder getBoundingBoxOrBuilder()Boundingbox.
.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3; -
getConfidence
float getConfidence()The Model's confidence in correction of this identification, higher value means higher confidence.
float confidence = 4;- Returns:
- The confidence.
-
getTrackId
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:
- The trackId.
-