public static class VideoObjectDetectionFeature.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VideoObjectDetectionFeature |
build() |
VideoObjectDetectionFeature.Builder |
copy(VideoObjectDetectionFeature model) |
VideoObjectDetectionFeature.Builder |
maxResults(Integer maxResults)
The maximum number of results per frame to return.
|
VideoObjectDetectionFeature.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.
|
VideoObjectDetectionFeature.Builder |
modelId(String modelId)
The custom model ID.
|
public VideoObjectDetectionFeature.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 VideoObjectDetectionFeature.Builder maxResults(Integer maxResults)
The maximum number of results per frame to return.
maxResults
- the value to setpublic VideoObjectDetectionFeature.Builder modelId(String modelId)
The custom model ID.
modelId
- the value to setpublic VideoObjectDetectionFeature build()
public VideoObjectDetectionFeature.Builder copy(VideoObjectDetectionFeature model)
Copyright © 2016–2024. All rights reserved.