Class: Google::Cloud::DataLabeling::V1beta1::LabelVideoRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb

Overview

Request message for LabelVideo.

Defined Under Namespace

Modules: Feature

Instance Attribute Summary collapse

Instance Attribute Details

#basic_config::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig

Returns Required. Basic human annotation config.

Returns:



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 351

class LabelVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Video labeling task feature.
  module Feature
    FEATURE_UNSPECIFIED = 0

    # Label whole video or video segment with one or more labels.
    CLASSIFICATION = 1

    # Label objects with bounding box on image frames extracted from the video.
    OBJECT_DETECTION = 2

    # Label and track objects in video.
    OBJECT_TRACKING = 3

    # Label the range of video for the specified events.
    EVENT = 4
  end
end

#event_config::Google::Cloud::DataLabeling::V1beta1::EventConfig

Returns Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Note: The following fields are mutually exclusive: event_config, video_classification_config, object_detection_config, object_tracking_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::DataLabeling::V1beta1::EventConfig)

    Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

    Note: The following fields are mutually exclusive: event_config, video_classification_config, object_detection_config, object_tracking_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 351

class LabelVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Video labeling task feature.
  module Feature
    FEATURE_UNSPECIFIED = 0

    # Label whole video or video segment with one or more labels.
    CLASSIFICATION = 1

    # Label objects with bounding box on image frames extracted from the video.
    OBJECT_DETECTION = 2

    # Label and track objects in video.
    OBJECT_TRACKING = 3

    # Label the range of video for the specified events.
    EVENT = 4
  end
end

#feature::Google::Cloud::DataLabeling::V1beta1::LabelVideoRequest::Feature

Returns Required. The type of video labeling task.

Returns:



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 351

class LabelVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Video labeling task feature.
  module Feature
    FEATURE_UNSPECIFIED = 0

    # Label whole video or video segment with one or more labels.
    CLASSIFICATION = 1

    # Label objects with bounding box on image frames extracted from the video.
    OBJECT_DETECTION = 2

    # Label and track objects in video.
    OBJECT_TRACKING = 3

    # Label the range of video for the specified events.
    EVENT = 4
  end
end

#object_detection_config::Google::Cloud::DataLabeling::V1beta1::ObjectDetectionConfig

Returns Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Note: The following fields are mutually exclusive: object_detection_config, video_classification_config, object_tracking_config, event_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::DataLabeling::V1beta1::ObjectDetectionConfig)

    Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

    Note: The following fields are mutually exclusive: object_detection_config, video_classification_config, object_tracking_config, event_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 351

class LabelVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Video labeling task feature.
  module Feature
    FEATURE_UNSPECIFIED = 0

    # Label whole video or video segment with one or more labels.
    CLASSIFICATION = 1

    # Label objects with bounding box on image frames extracted from the video.
    OBJECT_DETECTION = 2

    # Label and track objects in video.
    OBJECT_TRACKING = 3

    # Label the range of video for the specified events.
    EVENT = 4
  end
end

#object_tracking_config::Google::Cloud::DataLabeling::V1beta1::ObjectTrackingConfig

Returns Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Note: The following fields are mutually exclusive: object_tracking_config, video_classification_config, object_detection_config, event_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::DataLabeling::V1beta1::ObjectTrackingConfig)

    Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

    Note: The following fields are mutually exclusive: object_tracking_config, video_classification_config, object_detection_config, event_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 351

class LabelVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Video labeling task feature.
  module Feature
    FEATURE_UNSPECIFIED = 0

    # Label whole video or video segment with one or more labels.
    CLASSIFICATION = 1

    # Label objects with bounding box on image frames extracted from the video.
    OBJECT_DETECTION = 2

    # Label and track objects in video.
    OBJECT_TRACKING = 3

    # Label the range of video for the specified events.
    EVENT = 4
  end
end

#parent::String

Returns Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}.

Returns:

  • (::String)

    Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 351

class LabelVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Video labeling task feature.
  module Feature
    FEATURE_UNSPECIFIED = 0

    # Label whole video or video segment with one or more labels.
    CLASSIFICATION = 1

    # Label objects with bounding box on image frames extracted from the video.
    OBJECT_DETECTION = 2

    # Label and track objects in video.
    OBJECT_TRACKING = 3

    # Label the range of video for the specified events.
    EVENT = 4
  end
end

#video_classification_config::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig

Returns Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Note: The following fields are mutually exclusive: video_classification_config, object_detection_config, object_tracking_config, event_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::DataLabeling::V1beta1::VideoClassificationConfig)

    Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

    Note: The following fields are mutually exclusive: video_classification_config, object_detection_config, object_tracking_config, event_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'proto_docs/google/cloud/datalabeling/v1beta1/data_labeling_service.rb', line 351

class LabelVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Video labeling task feature.
  module Feature
    FEATURE_UNSPECIFIED = 0

    # Label whole video or video segment with one or more labels.
    CLASSIFICATION = 1

    # Label objects with bounding box on image frames extracted from the video.
    OBJECT_DETECTION = 2

    # Label and track objects in video.
    OBJECT_TRACKING = 3

    # Label the range of video for the specified events.
    EVENT = 4
  end
end