Interface ImageSegmentationPredictionParamsOrBuilder (3.52.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
Type Description
float

The confidenceThreshold.