Send feedback
Class VideoObjectTrackingPredictionResult.DetectedObject (0.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.13.0 keyboard_arrow_down
public static final class VideoObjectTrackingPredictionResult . DetectedObject extends GeneratedMessageV3 implements VideoObjectTrackingPredictionResult . DetectedObjectOrBuilder
Each DetectedObject is one particular identification of an object
specified with the AnnotationSpec id and display_name, the bounding box,
the associated confidence score and the corresponding track_id.
Protobuf type
google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BOUNDING_BOX_FIELD_NUMBER
public static final int BOUNDING_BOX_FIELD_NUMBER
Field Value
Type
Description
int
CONFIDENCE_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
Field Value
Type
Description
int
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
Type
Description
int
TRACK_ID_FIELD_NUMBER
public static final int TRACK_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static VideoObjectTrackingPredictionResult . DetectedObject getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static VideoObjectTrackingPredictionResult . DetectedObject . Builder newBuilder ()
newBuilder(VideoObjectTrackingPredictionResult.DetectedObject prototype)
public static VideoObjectTrackingPredictionResult . DetectedObject . Builder newBuilder ( VideoObjectTrackingPredictionResult . DetectedObject prototype )
public static VideoObjectTrackingPredictionResult . DetectedObject parseDelimitedFrom ( InputStream input )
public static VideoObjectTrackingPredictionResult . DetectedObject parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( CodedInputStream input )
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( InputStream input )
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult . DetectedObject parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<VideoObjectTrackingPredictionResult . DetectedObject > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBoundingBox()
public VideoObjectTrackingPredictionResult . BoundingBox getBoundingBox ()
Boundingbox.
.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;
getBoundingBoxOrBuilder()
public VideoObjectTrackingPredictionResult . BoundingBoxOrBuilder getBoundingBoxOrBuilder ()
Boundingbox.
.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;
getConfidence()
public 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.
getDefaultInstanceForType()
public VideoObjectTrackingPredictionResult . DetectedObject getDefaultInstanceForType ()
getDisplayName()
public String getDisplayName ()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;
Returns
Type
Description
String
The displayName.
getDisplayNameBytes()
public 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()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;
Returns
Type
Description
String
The id.
getIdBytes()
public ByteString getIdBytes ()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;
Returns
Type
Description
ByteString
The bytes for id.
getParserForType()
public Parser<VideoObjectTrackingPredictionResult . DetectedObject > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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 boolean hasBoundingBox ()
Boundingbox.
.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox bounding_box = 3;
Returns
Type
Description
boolean
Whether the boundingBox field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public VideoObjectTrackingPredictionResult . DetectedObject . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoObjectTrackingPredictionResult . DetectedObject . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public VideoObjectTrackingPredictionResult . DetectedObject . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]