public final class VideoObjectTrackingPredictionParams extends GeneratedMessageV3 implements VideoObjectTrackingPredictionParamsOrBuilder
Prediction model parameters for Video Object Tracking.
Protobuf type
google.cloud.aiplatform.v1.schema.predict.params.VideoObjectTrackingPredictionParams
Static Fields
public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
Field Value
public static final int MAX_PREDICTIONS_FIELD_NUMBER
Field Value
public static final int MIN_BOUNDING_BOX_SIZE_FIELD_NUMBER
Field Value
Static Methods
public static VideoObjectTrackingPredictionParams getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static VideoObjectTrackingPredictionParams.Builder newBuilder()
Returns
public static VideoObjectTrackingPredictionParams.Builder newBuilder(VideoObjectTrackingPredictionParams prototype)
Parameter
Returns
public static VideoObjectTrackingPredictionParams parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static VideoObjectTrackingPredictionParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<VideoObjectTrackingPredictionParams> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public float getConfidenceThreshold()
The Model only returns predictions with at least this confidence score.
Default value is 0.0
float confidence_threshold = 1;
Returns
Type | Description |
float | The confidenceThreshold.
|
public VideoObjectTrackingPredictionParams getDefaultInstanceForType()
Returns
public int getMaxPredictions()
The model only returns up to that many top, by confidence score,
predictions per frame of the video. If this number is very high, the
Model may return fewer predictions per frame. Default value is 50.
int32 max_predictions = 2;
Returns
Type | Description |
int | The maxPredictions.
|
public float getMinBoundingBoxSize()
Only bounding boxes with shortest edge at least that long as a relative
value of video frame size are returned. Default value is 0.0.
float min_bounding_box_size = 3;
Returns
Type | Description |
float | The minBoundingBoxSize.
|
public Parser<VideoObjectTrackingPredictionParams> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VideoObjectTrackingPredictionParams.Builder newBuilderForType()
Returns
protected VideoObjectTrackingPredictionParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public VideoObjectTrackingPredictionParams.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions