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

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_object_detection.rb

Overview

Prediction input format for Image Object Detection.

Instance Attribute Summary collapse

Instance Attribute Details

#content::String

Returns The image bytes or Cloud Storage URI to make the prediction on.

Returns:

  • (::String)

    The image bytes or Cloud Storage URI to make the prediction on.



42
43
44
45
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb', line 42

class ImageObjectDetectionPredictionInstance
  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/gif
  • image/png
  • image/webp
  • image/bmp
  • image/tiff
  • image/vnd.microsoft.icon.

Returns:

  • (::String)

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

    • image/jpeg
    • image/gif
    • image/png
    • image/webp
    • image/bmp
    • image/tiff
    • image/vnd.microsoft.icon


42
43
44
45
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb', line 42

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