Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
Metadata on AnnotatedDataset.
Instance Attribute Summary collapse
-
#bounding_poly_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig
Config for image bounding poly (and bounding box) human labeling task.
-
#event_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig
Config for video event human labeling task.
-
#human_annotation_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
Configuration for how human labeling task should be done.
-
#image_classification_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig
Config for image classification human labeling task.
-
#object_detection_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
Config for video object detection human labeling task.
-
#object_tracking_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
Config for video object tracking human labeling task.
-
#polyline_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig
Config for image polyline human labeling task.
-
#segmentation_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig
Config for image segmentation Corresponds to the JSON property
segmentationConfig
. -
#text_classification_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig
Config for text classification human labeling task.
-
#text_entity_extraction_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
Config for text entity extraction human labeling task.
-
#video_classification_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig
Config for video classification human labeling task.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata
constructor
A new instance of GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata
Returns a new instance of GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata.
880 881 882 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 880 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bounding_poly_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPolyConfig
Config for image bounding poly (and bounding box) human labeling task.
Corresponds to the JSON property boundingPolyConfig
822 823 824 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 822 def bounding_poly_config @bounding_poly_config end |
#event_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig
Config for video event human labeling task.
Corresponds to the JSON property eventConfig
827 828 829 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 827 def event_config @event_config end |
#human_annotation_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
Configuration for how human labeling task should be done.
Corresponds to the JSON property humanAnnotationConfig
832 833 834 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 832 def human_annotation_config @human_annotation_config end |
#image_classification_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig
Config for image classification human labeling task.
Corresponds to the JSON property imageClassificationConfig
837 838 839 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 837 def image_classification_config @image_classification_config end |
#object_detection_config ⇒ Google::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 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 845 def object_detection_config @object_detection_config end |
#object_tracking_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
Config for video object tracking human labeling task.
Corresponds to the JSON property objectTrackingConfig
850 851 852 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 850 def object_tracking_config @object_tracking_config end |
#polyline_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig
Config for image polyline human labeling task.
Corresponds to the JSON property polylineConfig
855 856 857 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 855 def polyline_config @polyline_config end |
#segmentation_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SegmentationConfig
Config for image segmentation
Corresponds to the JSON property segmentationConfig
860 861 862 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 860 def segmentation_config @segmentation_config end |
#text_classification_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationConfig
Config for text classification human labeling task.
Corresponds to the JSON property textClassificationConfig
865 866 867 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 865 def text_classification_config @text_classification_config end |
#text_entity_extraction_config ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
Config for text entity extraction human labeling task.
Corresponds to the JSON property textEntityExtractionConfig
870 871 872 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 870 def text_entity_extraction_config @text_entity_extraction_config end |
#video_classification_config ⇒ Google::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 'lib/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
885 886 887 888 889 890 891 892 893 894 895 896 897 |
# File 'lib/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 |