public interface ImageObjectDetectionPredictionParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidenceThreshold()
The Model only returns predictions with at least this confidence score.
|
int |
getMaxPredictions()
The Model only returns up to that many top, by confidence score,
predictions per instance.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffloat getConfidenceThreshold()
The Model only returns predictions with at least this confidence score. Default value is 0.0
float confidence_threshold = 1;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;Copyright © 2023 Google LLC. All rights reserved.