ImageCaption Class

An image caption, i.e. a brief description of what the image depicts.

Inheritance
ImageCaption

Constructor

ImageCaption(*, text: Optional[str] = None, confidence: Optional[float] = None, **kwargs)

Parameters

text
str
Required

The text of the caption.

confidence
float
Required

The level of confidence the service has in the caption.