public static class VideoFaceSegment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VideoFaceSegment |
build() |
VideoFaceSegment.Builder |
confidence(Float confidence)
The confidence score, between 0 and 1.
|
VideoFaceSegment.Builder |
copy(VideoFaceSegment model) |
VideoFaceSegment.Builder |
frames(List<VideoFaceFrame> frames)
Face frames in a segment.
|
VideoFaceSegment.Builder |
videoSegment(VideoSegment videoSegment) |
public VideoFaceSegment.Builder videoSegment(VideoSegment videoSegment)
public VideoFaceSegment.Builder confidence(Float confidence)
The confidence score, between 0 and 1.
confidence
- the value to setpublic VideoFaceSegment.Builder frames(List<VideoFaceFrame> frames)
Face frames in a segment.
frames
- the value to setpublic VideoFaceSegment build()
public VideoFaceSegment.Builder copy(VideoFaceSegment model)
Copyright © 2016–2024. All rights reserved.