Class SegmentImageConfig.Builder
- Enclosing class:
- SegmentImageConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SegmentImageConfig.BuilderbinaryColorThreshold(Float binaryColorThreshold) Setter for binaryColorThreshold.abstract SegmentImageConfigbuild()abstract SegmentImageConfig.BuilderconfidenceThreshold(Float confidenceThreshold) Setter for confidenceThreshold.abstract SegmentImageConfig.BuilderhttpOptions(HttpOptions httpOptions) Setter for httpOptions.httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.abstract SegmentImageConfig.BuilderSetter for labels.abstract SegmentImageConfig.BuildermaskDilation(Float maskDilation) Setter for maskDilation.abstract SegmentImageConfig.BuildermaxPredictions(Integer maxPredictions) Setter for maxPredictions.abstract SegmentImageConfig.Buildermode(SegmentMode mode) Setter for mode.mode(SegmentMode.Known knownType) Setter for mode given a known enum.Setter for mode given a string.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpOptions
Setter for httpOptions.httpOptions: Used to override HTTP request options.
-
httpOptions
Setter for httpOptions builder.httpOptions: Used to override HTTP request options.
-
mode
Setter for mode.mode: The segmentation mode to use.
-
mode
Setter for mode given a known enum.mode: The segmentation mode to use.
-
mode
Setter for mode given a string.mode: The segmentation mode to use.
-
maxPredictions
Setter for maxPredictions.maxPredictions: The maximum number of predictions to return up to, by top confidence score.
-
confidenceThreshold
Setter for confidenceThreshold.confidenceThreshold: The confidence score threshold for the detections as a decimal value. Only predictions with a confidence score higher than this threshold will be returned.
-
maskDilation
Setter for maskDilation.maskDilation: A decimal value representing how much dilation to apply to the masks. 0 for no dilation. 1.0 means the masked area covers the whole image.
-
binaryColorThreshold
Setter for binaryColorThreshold.binaryColorThreshold: The binary color threshold to apply to the masks. The threshold can be set to a decimal value between 0 and 255 non-inclusive. Set to -1 for no binary color thresholding.
-
labels
Setter for labels.labels: User specified labels to track billing usage.
-
build
-