Class ImageSegmentationPredictionInstance (1.29.0)

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

Prediction input format for Image Segmentation.

Attributes

Name
Description
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

Methods

ImageSegmentationPredictionInstance

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

Prediction input format for Image Segmentation.