public static class VideoObjectFrame.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VideoObjectFrame.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
VideoObjectFrame |
build() |
VideoObjectFrame.Builder |
confidence(Float confidence)
The confidence score, between 0 and 1.
|
VideoObjectFrame.Builder |
copy(VideoObjectFrame model) |
VideoObjectFrame.Builder |
timeOffsetMs(Integer timeOffsetMs)
Time offset(Milliseconds) in the video.
|
public VideoObjectFrame.Builder timeOffsetMs(Integer timeOffsetMs)
Time offset(Milliseconds) in the video.
timeOffsetMs
- the value to setpublic VideoObjectFrame.Builder confidence(Float confidence)
The confidence score, between 0 and 1.
confidence
- the value to setpublic VideoObjectFrame.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public VideoObjectFrame build()
public VideoObjectFrame.Builder copy(VideoObjectFrame model)
Copyright © 2016–2024. All rights reserved.