Class ImageSegmentationPredictionInstance (1.18.1)

ImageSegmentationPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Image Segmentation.

Attributes

NameDescription
content str
The image bytes to make the predictions on.
mime_type str
The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/png

Inheritance

builtins.object > proto.message.Message > ImageSegmentationPredictionInstance

Methods

ImageSegmentationPredictionInstance

ImageSegmentationPredictionInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction input format for Image Segmentation.