Class ImageClassificationPredictionInstance (1.30.1)

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

Prediction input format for Image Classification.

Attributes

Name
Description
content
str
The image bytes or Cloud Storage URI to make the prediction 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/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon

Methods

ImageClassificationPredictionInstance

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

Prediction input format for Image Classification.