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.
221 222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 221 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.
221 222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 221 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.
221 222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 221 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 |