Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::AnnotationValue.
Annotation value for an example.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#image_bounding_poly_annotation
def image_bounding_poly_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation) — Annotation value for image bounding box, oriented bounding box
and polygon cases.
Note: The following fields are mutually exclusive:
image_bounding_poly_annotation
,image_classification_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_bounding_poly_annotation=
def image_bounding_poly_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation) — Annotation value for image bounding box, oriented bounding box
and polygon cases.
Note: The following fields are mutually exclusive:
image_bounding_poly_annotation
,image_classification_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation) — Annotation value for image bounding box, oriented bounding box
and polygon cases.
Note: The following fields are mutually exclusive:
image_bounding_poly_annotation
,image_classification_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_classification_annotation
def image_classification_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation) — Annotation value for image classification case.
Note: The following fields are mutually exclusive:
image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_classification_annotation=
def image_classification_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation) — Annotation value for image classification case.
Note: The following fields are mutually exclusive:
image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation) — Annotation value for image classification case.
Note: The following fields are mutually exclusive:
image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_polyline_annotation
def image_polyline_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation) — Annotation value for image polyline cases.
Polyline here is different from BoundingPoly. It is formed by
line segments connected to each other but not closed form(Bounding Poly).
The line segments can cross each other.
Note: The following fields are mutually exclusive:
image_polyline_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_polyline_annotation=
def image_polyline_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation) — Annotation value for image polyline cases.
Polyline here is different from BoundingPoly. It is formed by
line segments connected to each other but not closed form(Bounding Poly).
The line segments can cross each other.
Note: The following fields are mutually exclusive:
image_polyline_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation) — Annotation value for image polyline cases.
Polyline here is different from BoundingPoly. It is formed by
line segments connected to each other but not closed form(Bounding Poly).
The line segments can cross each other.
Note: The following fields are mutually exclusive:
image_polyline_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_segmentation_annotation
def image_segmentation_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation) — Annotation value for image segmentation.
Note: The following fields are mutually exclusive:
image_segmentation_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_segmentation_annotation=
def image_segmentation_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation) — Annotation value for image segmentation.
Note: The following fields are mutually exclusive:
image_segmentation_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation) — Annotation value for image segmentation.
Note: The following fields are mutually exclusive:
image_segmentation_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_classification_annotation
def text_classification_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation) — Annotation value for text classification case.
Note: The following fields are mutually exclusive:
text_classification_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_classification_annotation=
def text_classification_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation) — Annotation value for text classification case.
Note: The following fields are mutually exclusive:
text_classification_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation) — Annotation value for text classification case.
Note: The following fields are mutually exclusive:
text_classification_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_entity_extraction_annotation
def text_entity_extraction_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation) — Annotation value for text entity extraction case.
Note: The following fields are mutually exclusive:
text_entity_extraction_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_entity_extraction_annotation=
def text_entity_extraction_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation) — Annotation value for text entity extraction case.
Note: The following fields are mutually exclusive:
text_entity_extraction_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation) — Annotation value for text entity extraction case.
Note: The following fields are mutually exclusive:
text_entity_extraction_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,video_classification_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_classification_annotation
def video_classification_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation) — Annotation value for video classification case.
Note: The following fields are mutually exclusive:
video_classification_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_classification_annotation=
def video_classification_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation) — Annotation value for video classification case.
Note: The following fields are mutually exclusive:
video_classification_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation) — Annotation value for video classification case.
Note: The following fields are mutually exclusive:
video_classification_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_object_tracking_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_event_annotation
def video_event_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation) — Annotation value for video event case.
Note: The following fields are mutually exclusive:
video_event_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_event_annotation=
def video_event_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation) — Annotation value for video event case.
Note: The following fields are mutually exclusive:
video_event_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation) — Annotation value for video event case.
Note: The following fields are mutually exclusive:
video_event_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_object_tracking_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_object_tracking_annotation
def video_object_tracking_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation
-
(::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation) — Annotation value for video object detection and tracking case.
Note: The following fields are mutually exclusive:
video_object_tracking_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_object_tracking_annotation=
def video_object_tracking_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation
-
value (::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation) — Annotation value for video object detection and tracking case.
Note: The following fields are mutually exclusive:
video_object_tracking_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation) — Annotation value for video object detection and tracking case.
Note: The following fields are mutually exclusive:
video_object_tracking_annotation
,image_classification_annotation
,image_bounding_poly_annotation
,image_polyline_annotation
,image_segmentation_annotation
,text_classification_annotation
,text_entity_extraction_annotation
,video_classification_annotation
,video_event_annotation
. If a field in that set is populated, all other fields in the set will automatically be cleared.