Class: Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::ImageSegmentationAnnotation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb
Overview
Image segmentation annotation.
Defined Under Namespace
Classes: AnnotationColorsEntry
Instance Attribute Summary collapse
-
#annotation_colors ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec}
The mapping between rgb color and annotation spec.
-
#image_bytes ⇒ ::String
A byte string of a full image's color map.
-
#mime_type ⇒ ::String
Image format.
Instance Attribute Details
#annotation_colors ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec}
Returns The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
199 200 201 202 203 204 205 206 207 208 209 210 211 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 199 class ImageSegmentationAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec] class AnnotationColorsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#image_bytes ⇒ ::String
Returns A byte string of a full image's color map.
199 200 201 202 203 204 205 206 207 208 209 210 211 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 199 class ImageSegmentationAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec] class AnnotationColorsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#mime_type ⇒ ::String
Returns Image format.
199 200 201 202 203 204 205 206 207 208 209 210 211 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 199 class ImageSegmentationAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec] class AnnotationColorsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |