Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class VideoClassificationAnnotation.
Video classification annotation.
Generated from protobuf message google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ time_segment |
TimeSegment
The time segment of the video to which the annotation applies. |
↳ annotation_spec |
AnnotationSpec
Label of the segment specified by time_segment. |
getTimeSegment
The time segment of the video to which the annotation applies.
Returns | |
---|---|
Type | Description |
TimeSegment|null |
hasTimeSegment
clearTimeSegment
setTimeSegment
The time segment of the video to which the annotation applies.
Parameter | |
---|---|
Name | Description |
var |
TimeSegment
|
Returns | |
---|---|
Type | Description |
$this |
getAnnotationSpec
Label of the segment specified by time_segment.
Returns | |
---|---|
Type | Description |
AnnotationSpec|null |
hasAnnotationSpec
clearAnnotationSpec
setAnnotationSpec
Label of the segment specified by time_segment.
Parameter | |
---|---|
Name | Description |
var |
AnnotationSpec
|
Returns | |
---|---|
Type | Description |
$this |