Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationValue
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationValue
- 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
Annotation value for an example.
Instance Attribute Summary collapse
-
#image_bounding_poly_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
Image bounding poly annotation.
-
#image_classification_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
Image classification annotation definition.
-
#image_polyline_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation
A polyline for the image annotation.
-
#image_segmentation_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
Image segmentation annotation.
-
#text_classification_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
Text classification annotation.
-
#text_entity_extraction_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
Text entity extraction annotation.
-
#video_classification_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
Video classification annotation.
-
#video_event_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoEventAnnotation
Video event annotation.
-
#video_object_tracking_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
Video object tracking annotation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1AnnotationValue
constructor
A new instance of GoogleCloudDatalabelingV1beta1AnnotationValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1AnnotationValue
Returns a new instance of GoogleCloudDatalabelingV1beta1AnnotationValue.
1133 1134 1135 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_bounding_poly_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
Image bounding poly annotation. It represents a polygon including bounding box
in the image.
Corresponds to the JSON property imageBoundingPolyAnnotation
1091 1092 1093 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1091 def image_bounding_poly_annotation @image_bounding_poly_annotation end |
#image_classification_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
Image classification annotation definition.
Corresponds to the JSON property imageClassificationAnnotation
1096 1097 1098 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1096 def image_classification_annotation @image_classification_annotation end |
#image_polyline_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation
A polyline for the image annotation.
Corresponds to the JSON property imagePolylineAnnotation
1101 1102 1103 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1101 def image_polyline_annotation @image_polyline_annotation end |
#image_segmentation_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
Image segmentation annotation.
Corresponds to the JSON property imageSegmentationAnnotation
1106 1107 1108 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1106 def image_segmentation_annotation @image_segmentation_annotation end |
#text_classification_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
Text classification annotation.
Corresponds to the JSON property textClassificationAnnotation
1111 1112 1113 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1111 def text_classification_annotation @text_classification_annotation end |
#text_entity_extraction_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
Text entity extraction annotation.
Corresponds to the JSON property textEntityExtractionAnnotation
1116 1117 1118 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1116 def text_entity_extraction_annotation @text_entity_extraction_annotation end |
#video_classification_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
Video classification annotation.
Corresponds to the JSON property videoClassificationAnnotation
1121 1122 1123 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1121 def video_classification_annotation @video_classification_annotation end |
#video_event_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoEventAnnotation
Video event annotation.
Corresponds to the JSON property videoEventAnnotation
1126 1127 1128 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1126 def video_event_annotation @video_event_annotation end |
#video_object_tracking_annotation ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
Video object tracking annotation.
Corresponds to the JSON property videoObjectTrackingAnnotation
1131 1132 1133 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1131 def video_object_tracking_annotation @video_object_tracking_annotation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1138 def update!(**args) @image_bounding_poly_annotation = args[:image_bounding_poly_annotation] if args.key?(:image_bounding_poly_annotation) @image_classification_annotation = args[:image_classification_annotation] if args.key?(:image_classification_annotation) @image_polyline_annotation = args[:image_polyline_annotation] if args.key?(:image_polyline_annotation) @image_segmentation_annotation = args[:image_segmentation_annotation] if args.key?(:image_segmentation_annotation) @text_classification_annotation = args[:text_classification_annotation] if args.key?(:text_classification_annotation) @text_entity_extraction_annotation = args[:text_entity_extraction_annotation] if args.key?(:text_entity_extraction_annotation) @video_classification_annotation = args[:video_classification_annotation] if args.key?(:video_classification_annotation) @video_event_annotation = args[:video_event_annotation] if args.key?(:video_event_annotation) @video_object_tracking_annotation = args[:video_object_tracking_annotation] if args.key?(:video_object_tracking_annotation) end |