Interface ImageObjectDetectionPredictionParamsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageObjectDetectionPredictionParams,ImageObjectDetectionPredictionParams.Builder
@Generated
public interface ImageObjectDetectionPredictionParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatThe Model only returns predictions with at least this confidence score.intThe Model only returns up to that many top, by confidence score, predictions per instance.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
-
getConfidenceThreshold
float getConfidenceThreshold()The Model only returns predictions with at least this confidence score. Default value is 0.0
float confidence_threshold = 1;- Returns:
- The confidenceThreshold.
-
getMaxPredictions
int getMaxPredictions()The Model only returns up to that many top, by confidence score, predictions per instance. Note that number of returned predictions is also limited by metadata's predictionsLimit. Default value is 10.
int32 max_predictions = 2;- Returns:
- The maxPredictions.
-