maxPredictions

public abstract SegmentImageConfig.Builder maxPredictions(Integer maxPredictions)

Setter for maxPredictions.

maxPredictions: The maximum number of predictions to return up to, by top confidence score.