Class ImageClassificationPredictionInstance (0.8.0)

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

Prediction input format for Image Classification. .. attribute:: content

The image bytes or GCS URI to make the prediction on.

:type: str

Attribute

NameDescription
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 > ImageClassificationPredictionInstance