Interface ImageSegmentationPredictionParamsOrBuilder (3.42.0)

public interface ImageSegmentationPredictionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidenceThreshold()

public abstract float getConfidenceThreshold()

When the model predicts category of pixels of the image, it will only provide predictions for pixels that it is at least this much confident about. All other pixels will be classified as background. Default value is 0.5.

float confidence_threshold = 1;

Returns
TypeDescription
float

The confidenceThreshold.