Class ImageObjectDetectionPredictionInstance (1.15.1)

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

Prediction input format for Image Object Detection.

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

Inheritance

builtins.object > proto.message.Message > ImageObjectDetectionPredictionInstance

Methods

ImageObjectDetectionPredictionInstance

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

Prediction input format for Image Object Detection.