public static class VideoFaceFrame.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VideoFaceFrame.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
VideoFaceFrame |
build() |
VideoFaceFrame.Builder |
confidence(Float confidence)
The confidence score, between 0 and 1.
|
VideoFaceFrame.Builder |
copy(VideoFaceFrame model) |
VideoFaceFrame.Builder |
landmarks(List<Landmark> landmarks)
Face landmarks.
|
VideoFaceFrame.Builder |
qualityScore(Float qualityScore)
The quality score of the face detected, between 0 and 1.
|
VideoFaceFrame.Builder |
timeOffsetMs(Integer timeOffsetMs)
Time offset(Milliseconds) in the video.
|
public VideoFaceFrame.Builder timeOffsetMs(Integer timeOffsetMs)
Time offset(Milliseconds) in the video.
timeOffsetMs
- the value to setpublic VideoFaceFrame.Builder confidence(Float confidence)
The confidence score, between 0 and 1.
confidence
- the value to setpublic VideoFaceFrame.Builder qualityScore(Float qualityScore)
The quality score of the face detected, between 0 and 1.
qualityScore
- the value to setpublic VideoFaceFrame.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public VideoFaceFrame.Builder landmarks(List<Landmark> landmarks)
Face landmarks.
landmarks
- the value to setpublic VideoFaceFrame build()
public VideoFaceFrame.Builder copy(VideoFaceFrame model)
Copyright © 2016–2024. All rights reserved.