public static class VideoFaceDetectionFeature.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VideoFaceDetectionFeature |
build() |
VideoFaceDetectionFeature.Builder |
copy(VideoFaceDetectionFeature model) |
VideoFaceDetectionFeature.Builder |
isLandmarkRequired(Boolean isLandmarkRequired)
Whether or not return face landmarks.
|
VideoFaceDetectionFeature.Builder |
maxResults(Integer maxResults)
The maximum number of results per frame to return.
|
VideoFaceDetectionFeature.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.
|
public VideoFaceDetectionFeature.Builder maxResults(Integer maxResults)
The maximum number of results per frame to return.
maxResults
- the value to setpublic VideoFaceDetectionFeature.Builder isLandmarkRequired(Boolean isLandmarkRequired)
Whether or not return face landmarks.
isLandmarkRequired
- the value to setpublic VideoFaceDetectionFeature.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 VideoFaceDetectionFeature build()
public VideoFaceDetectionFeature.Builder copy(VideoFaceDetectionFeature model)
Copyright © 2016–2024. All rights reserved.