Prediction input format for Image Segmentation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
- (::String) — The image bytes to make the predictions on.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — The image bytes to make the predictions on.
Returns
- (::String) — The image bytes to make the predictions on.
#mime_type
def mime_type() -> ::String
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
#mime_type=
def mime_type=(value) -> ::String
Parameter
-
value (::String) —
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