Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
more...

Overview

Metadata on AnnotatedDataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata

Returns a new instance of GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata.

[View source]

880
881
882
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 880

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bounding_poly_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig

Config for image bounding poly (and bounding box) human labeling task. Corresponds to the JSON property boundingPolyConfig


822
823
824
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 822

def bounding_poly_config
  @bounding_poly_config
end

#event_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig

Config for video event human labeling task. Corresponds to the JSON property eventConfig


827
828
829
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 827

def event_config
  @event_config
end

#human_annotation_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig

Configuration for how human labeling task should be done. Corresponds to the JSON property humanAnnotationConfig


832
833
834
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 832

def human_annotation_config
  @human_annotation_config
end

#image_classification_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig

Config for image classification human labeling task. Corresponds to the JSON property imageClassificationConfig


837
838
839
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 837

def image_classification_config
  @image_classification_config
end

#object_detection_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig

Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate. Corresponds to the JSON property objectDetectionConfig


845
846
847
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 845

def object_detection_config
  @object_detection_config
end

#object_tracking_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig

Config for video object tracking human labeling task. Corresponds to the JSON property objectTrackingConfig


850
851
852
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 850

def object_tracking_config
  @object_tracking_config
end

#polyline_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig

Config for image polyline human labeling task. Corresponds to the JSON property polylineConfig


855
856
857
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 855

def polyline_config
  @polyline_config
end

#segmentation_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig

Config for image segmentation Corresponds to the JSON property segmentationConfig


860
861
862
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 860

def segmentation_config
  @segmentation_config
end

#text_classification_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig

Config for text classification human labeling task. Corresponds to the JSON property textClassificationConfig


865
866
867
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 865

def text_classification_config
  @text_classification_config
end

#text_entity_extraction_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig

Config for text entity extraction human labeling task. Corresponds to the JSON property textEntityExtractionConfig


870
871
872
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 870

def text_entity_extraction_config
  @text_entity_extraction_config
end

#video_classification_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig

Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip. Corresponds to the JSON property videoClassificationConfig


878
879
880
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 878

def video_classification_config
  @video_classification_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

885
886
887
888
889
890
891
892
893
894
895
896
897
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 885

def update!(**args)
  @bounding_poly_config = args[:bounding_poly_config] if args.key?(:bounding_poly_config)
  @event_config = args[:event_config] if args.key?(:event_config)
  @human_annotation_config = args[:human_annotation_config] if args.key?(:human_annotation_config)
  @image_classification_config = args[:image_classification_config] if args.key?(:image_classification_config)
  @object_detection_config = args[:object_detection_config] if args.key?(:object_detection_config)
  @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
  @polyline_config = args[:polyline_config] if args.key?(:polyline_config)
  @segmentation_config = args[:segmentation_config] if args.key?(:segmentation_config)
  @text_classification_config = args[:text_classification_config] if args.key?(:text_classification_config)
  @text_entity_extraction_config = args[:text_entity_extraction_config] if args.key?(:text_entity_extraction_config)
  @video_classification_config = args[:video_classification_config] if args.key?(:video_classification_config)
end