Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::ImageSegmentationPredictionInstance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.rb

Overview

Prediction input format for Image Segmentation.

Instance Attribute Summary collapse

Instance Attribute Details

#content::String

Returns The image bytes to make the predictions on.

Returns:

  • (::String)

    The image bytes to make the predictions on.



37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.rb', line 37

class ImageSegmentationPredictionInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mime_type::String

Returns The MIME type of the content of the image. Only the images in below listed MIME types are supported.

  • image/jpeg
  • image/png.

Returns:

  • (::String)

    The MIME type of the content of the image. Only the images in below listed MIME types are supported.

    • image/jpeg
    • image/png


37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.rb', line 37

class ImageSegmentationPredictionInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end