Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class VideoObjectTrackingAnnotation.
Video object tracking annotation.
Generated from protobuf message google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ annotation_spec |
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec
Label of the object tracked in this annotation. |
↳ time_segment |
Google\Cloud\DataLabeling\V1beta1\TimeSegment
The time segment of the video to which object tracking applies. |
↳ object_tracking_frames |
array<Google\Cloud\DataLabeling\V1beta1\ObjectTrackingFrame>
The list of frames where this object track appears. |
getAnnotationSpec
Label of the object tracked in this annotation.
Returns | |
---|---|
Type | Description |
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec|null |
hasAnnotationSpec
clearAnnotationSpec
setAnnotationSpec
Label of the object tracked in this annotation.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec
|
Returns | |
---|---|
Type | Description |
$this |
getTimeSegment
The time segment of the video to which object tracking applies.
Returns | |
---|---|
Type | Description |
Google\Cloud\DataLabeling\V1beta1\TimeSegment|null |
hasTimeSegment
clearTimeSegment
setTimeSegment
The time segment of the video to which object tracking applies.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DataLabeling\V1beta1\TimeSegment
|
Returns | |
---|---|
Type | Description |
$this |
getObjectTrackingFrames
The list of frames where this object track appears.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setObjectTrackingFrames
The list of frames where this object track appears.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DataLabeling\V1beta1\ObjectTrackingFrame>
|
Returns | |
---|---|
Type | Description |
$this |