Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation.
Video classification annotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotation_spec
def annotation_spec() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec
Returns
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — Label of the segment specified by time_segment.
#annotation_spec=
def annotation_spec=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — Label of the segment specified by time_segment.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec) — Label of the segment specified by time_segment.
#time_segment
def time_segment() -> ::Google::Cloud::DataLabeling::V1beta1::TimeSegment
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TimeSegment) — The time segment of the video to which the annotation applies.
#time_segment=
def time_segment=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TimeSegment
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::TimeSegment) — The time segment of the video to which the annotation applies.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TimeSegment) — The time segment of the video to which the annotation applies.