public static class VideoLabelDetectionFeature.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VideoLabelDetectionFeature |
build() |
VideoLabelDetectionFeature.Builder |
copy(VideoLabelDetectionFeature model) |
VideoLabelDetectionFeature.Builder |
maxResults(Integer maxResults)
The maximum number of results per video frame to return.
|
VideoLabelDetectionFeature.Builder |
minConfidence(Float minConfidence)
The minimum confidence score, between 0 and 1, when the value is set, results with lower
confidence will not be returned.
|
VideoLabelDetectionFeature.Builder |
modelId(String modelId)
The custom model ID.
|
public VideoLabelDetectionFeature.Builder minConfidence(Float minConfidence)
The minimum confidence score, between 0 and 1, when the value is set, results with lower confidence will not be returned.
minConfidence
- the value to setpublic VideoLabelDetectionFeature.Builder maxResults(Integer maxResults)
The maximum number of results per video frame to return.
maxResults
- the value to setpublic VideoLabelDetectionFeature.Builder modelId(String modelId)
The custom model ID.
modelId
- the value to setpublic VideoLabelDetectionFeature build()
public VideoLabelDetectionFeature.Builder copy(VideoLabelDetectionFeature model)
Copyright © 2016–2024. All rights reserved.