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
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation) — Annotation value for image bounding box, oriented bounding box and polygon cases.
#image_bounding_poly_annotation=
def image_bounding_poly_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation) — Annotation value for image bounding box, oriented bounding box and polygon cases.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ImageBoundingPolyAnnotation) — Annotation value for image bounding box, oriented bounding box and polygon cases.
#image_classification_annotation
def image_classification_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation) — Annotation value for image classification case.
#image_classification_annotation=
def image_classification_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation) — Annotation value for image classification case.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ImageClassificationAnnotation) — Annotation value for image classification case.
#image_polyline_annotation
def image_polyline_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation
Returns
- (::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.
#image_polyline_annotation=
def image_polyline_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImagePolylineAnnotation
Parameter
- 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.
Returns
- (::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.
#image_segmentation_annotation
def image_segmentation_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation) — Annotation value for image segmentation.
#image_segmentation_annotation=
def image_segmentation_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation) — Annotation value for image segmentation.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation) — Annotation value for image segmentation.
#text_classification_annotation
def text_classification_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation) — Annotation value for text classification case.
#text_classification_annotation=
def text_classification_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation) — Annotation value for text classification case.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TextClassificationAnnotation) — Annotation value for text classification case.
#text_entity_extraction_annotation
def text_entity_extraction_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation) — Annotation value for text entity extraction case.
#text_entity_extraction_annotation=
def text_entity_extraction_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation) — Annotation value for text entity extraction case.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation) — Annotation value for text entity extraction case.
#video_classification_annotation
def video_classification_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation
Returns
- (::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation) — Annotation value for video classification case.
#video_classification_annotation=
def video_classification_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation) — Annotation value for video classification case.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::VideoClassificationAnnotation) — Annotation value for video classification case.
#video_event_annotation
def video_event_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation
Returns
- (::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation) — Annotation value for video event case.
#video_event_annotation=
def video_event_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation) — Annotation value for video event case.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::VideoEventAnnotation) — Annotation value for video event case.
#video_object_tracking_annotation
def video_object_tracking_annotation() -> ::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation
Returns
- (::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation) — Annotation value for video object detection and tracking case.
#video_object_tracking_annotation=
def video_object_tracking_annotation=(value) -> ::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation) — Annotation value for video object detection and tracking case.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::VideoObjectTrackingAnnotation) — Annotation value for video object detection and tracking case.