Interface ImageObjectDetectionPredictionParamsOrBuilder (3.25.0)

public interface ImageObjectDetectionPredictionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidenceThreshold()

public abstract float getConfidenceThreshold()

The Model only returns predictions with at least this confidence score. Default value is 0.0

float confidence_threshold = 1;

Returns
TypeDescription
float

The confidenceThreshold.

getMaxPredictions()

public abstract 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
TypeDescription
int

The maxPredictions.