Interface ImageSegmentationPredictionParamsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageSegmentationPredictionParams,ImageSegmentationPredictionParams.Builder
@Generated
public interface ImageSegmentationPredictionParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatWhen 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.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()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:
- The confidenceThreshold.
-