public static class VideoTrackingFrame.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VideoTrackingFrame.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
VideoTrackingFrame |
build() |
VideoTrackingFrame.Builder |
confidence(Float confidence)
The confidence score, between 0 and 1.
|
VideoTrackingFrame.Builder |
copy(VideoTrackingFrame model) |
VideoTrackingFrame.Builder |
properties(List<ObjectProperty> properties)
Properties associated with the tracked object in the frame.
|
VideoTrackingFrame.Builder |
timeOffsetMs(Integer timeOffsetMs)
Time offset(Milliseconds) of the frame.
|
public VideoTrackingFrame.Builder timeOffsetMs(Integer timeOffsetMs)
Time offset(Milliseconds) of the frame.
timeOffsetMs
- the value to setpublic VideoTrackingFrame.Builder confidence(Float confidence)
The confidence score, between 0 and 1.
confidence
- the value to setpublic VideoTrackingFrame.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public VideoTrackingFrame.Builder properties(List<ObjectProperty> properties)
Properties associated with the tracked object in the frame.
properties
- the value to setpublic VideoTrackingFrame build()
public VideoTrackingFrame.Builder copy(VideoTrackingFrame model)
Copyright © 2016–2024. All rights reserved.