public static final class VideoObjectTrackingPredictionResult.Frame extends GeneratedMessageV3 implements VideoObjectTrackingPredictionResult.FrameOrBuilder
The fields xMin
, xMax
, yMin
, and yMax
refer to a bounding box,
i.e. the rectangle over the video frame pinpointing the found
AnnotationSpec. The coordinates are relative to the frame size, and the
point 0,0 is in the top left of the frame.
Protobuf type
google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame
Fields
public static final int TIME_OFFSET_FIELD_NUMBER
Field Value
public static final int X_MAX_FIELD_NUMBER
Field Value
public static final int X_MIN_FIELD_NUMBER
Field Value
public static final int Y_MAX_FIELD_NUMBER
Field Value
public static final int Y_MIN_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static VideoObjectTrackingPredictionResult.Frame getDefaultInstance()
Returns
public VideoObjectTrackingPredictionResult.Frame getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<VideoObjectTrackingPredictionResult.Frame> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Duration getTimeOffset()
A time (frame) of a video in which the object has been detected.
Expressed as a number of seconds as measured from the
start of the video, with fractions up to a microsecond precision, and
with "s" appended at the end.
.google.protobuf.Duration time_offset = 1;
Returns
public DurationOrBuilder getTimeOffsetOrBuilder()
A time (frame) of a video in which the object has been detected.
Expressed as a number of seconds as measured from the
start of the video, with fractions up to a microsecond precision, and
with "s" appended at the end.
.google.protobuf.Duration time_offset = 1;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public FloatValue getXMax()
The rightmost coordinate of the bounding box.
.google.protobuf.FloatValue x_max = 3;
Returns
public FloatValueOrBuilder getXMaxOrBuilder()
The rightmost coordinate of the bounding box.
.google.protobuf.FloatValue x_max = 3;
Returns
public FloatValue getXMin()
The leftmost coordinate of the bounding box.
.google.protobuf.FloatValue x_min = 2;
Returns
public FloatValueOrBuilder getXMinOrBuilder()
The leftmost coordinate of the bounding box.
.google.protobuf.FloatValue x_min = 2;
Returns
public FloatValue getYMax()
The bottommost coordinate of the bounding box.
.google.protobuf.FloatValue y_max = 5;
Returns
public FloatValueOrBuilder getYMaxOrBuilder()
The bottommost coordinate of the bounding box.
.google.protobuf.FloatValue y_max = 5;
Returns
public FloatValue getYMin()
The topmost coordinate of the bounding box.
.google.protobuf.FloatValue y_min = 4;
Returns
public FloatValueOrBuilder getYMinOrBuilder()
The topmost coordinate of the bounding box.
.google.protobuf.FloatValue y_min = 4;
Returns
public boolean hasTimeOffset()
A time (frame) of a video in which the object has been detected.
Expressed as a number of seconds as measured from the
start of the video, with fractions up to a microsecond precision, and
with "s" appended at the end.
.google.protobuf.Duration time_offset = 1;
Returns
Type | Description |
boolean | Whether the timeOffset field is set.
|
The rightmost coordinate of the bounding box.
.google.protobuf.FloatValue x_max = 3;
Returns
Type | Description |
boolean | Whether the xMax field is set.
|
The leftmost coordinate of the bounding box.
.google.protobuf.FloatValue x_min = 2;
Returns
Type | Description |
boolean | Whether the xMin field is set.
|
The bottommost coordinate of the bounding box.
.google.protobuf.FloatValue y_max = 5;
Returns
Type | Description |
boolean | Whether the yMax field is set.
|
The topmost coordinate of the bounding box.
.google.protobuf.FloatValue y_min = 4;
Returns
Type | Description |
boolean | Whether the yMin field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static VideoObjectTrackingPredictionResult.Frame.Builder newBuilder()
Returns
public static VideoObjectTrackingPredictionResult.Frame.Builder newBuilder(VideoObjectTrackingPredictionResult.Frame prototype)
Parameter
Returns
public VideoObjectTrackingPredictionResult.Frame.Builder newBuilderForType()
Returns
protected VideoObjectTrackingPredictionResult.Frame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static VideoObjectTrackingPredictionResult.Frame parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<VideoObjectTrackingPredictionResult.Frame> parser()
Returns
public VideoObjectTrackingPredictionResult.Frame.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions