ImageAnalysis Class

Result of AnalyzeImage operation.

Inheritance
ImageAnalysis

Constructor

ImageAnalysis(*, categories=None, adult=None, color=None, image_type=None, tags=None, description=None, faces=None, objects=None, brands=None, request_id: Optional[str] = None, metadata=None, model_version: Optional[str] = None, **kwargs)

Parameters

categories
list[Category]
Required

An array indicating identified categories.

adult
AdultInfo
Required

An object describing whether the image contains adult-oriented content and/or is racy.

color
ColorInfo
Required

An object providing additional metadata describing color attributes.

image_type
ImageType
Required

An object providing possible image types and matching confidence levels.

tags
list[ImageTag]
Required

A list of tags with confidence level.

description
ImageDescriptionDetails
Required

A collection of content tags, along with a list of captions sorted by confidence level, and image metadata.

faces
list[FaceDescription]
Required

An array of possible faces within the image.

objects
list[DetectedObject]
Required

Array of objects describing what was detected in the image.

brands
list[DetectedBrand]
Required

Array of brands detected in the image.

request_id
str
Required

Id of the REST API request.

metadata
ImageMetadata
Required
model_version
str
Required