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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int TIME_OFFSET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int X_MAX_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int X_MIN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int Y_MAX_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int Y_MIN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static VideoObjectTrackingPredictionResult.Frame getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static VideoObjectTrackingPredictionResult.Frame.Builder newBuilder()
public static VideoObjectTrackingPredictionResult.Frame.Builder newBuilder(VideoObjectTrackingPredictionResult.Frame prototype)
public static VideoObjectTrackingPredictionResult.Frame parseDelimitedFrom(InputStream input)
public static VideoObjectTrackingPredictionResult.Frame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static VideoObjectTrackingPredictionResult.Frame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteString data)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(CodedInputStream input)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(InputStream input)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteBuffer data)
public static VideoObjectTrackingPredictionResult.Frame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<VideoObjectTrackingPredictionResult.Frame> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public VideoObjectTrackingPredictionResult.Frame getDefaultInstanceForType()
public Parser<VideoObjectTrackingPredictionResult.Frame> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
Duration | The timeOffset.
|
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;
public FloatValue getXMax()
The rightmost coordinate of the bounding box.
.google.protobuf.FloatValue x_max = 3;
public FloatValueOrBuilder getXMaxOrBuilder()
The rightmost coordinate of the bounding box.
.google.protobuf.FloatValue x_max = 3;
public FloatValue getXMin()
The leftmost coordinate of the bounding box.
.google.protobuf.FloatValue x_min = 2;
public FloatValueOrBuilder getXMinOrBuilder()
The leftmost coordinate of the bounding box.
.google.protobuf.FloatValue x_min = 2;
public FloatValue getYMax()
The bottommost coordinate of the bounding box.
.google.protobuf.FloatValue y_max = 5;
public FloatValueOrBuilder getYMaxOrBuilder()
The bottommost coordinate of the bounding box.
.google.protobuf.FloatValue y_max = 5;
public FloatValue getYMin()
The topmost coordinate of the bounding box.
.google.protobuf.FloatValue y_min = 4;
public FloatValueOrBuilder getYMinOrBuilder()
The topmost coordinate of the bounding box.
.google.protobuf.FloatValue y_min = 4;
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VideoObjectTrackingPredictionResult.Frame.Builder newBuilderForType()
protected VideoObjectTrackingPredictionResult.Frame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public VideoObjectTrackingPredictionResult.Frame.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides