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