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