Class ImageAnalysisResult
java.lang.Object
com.azure.ai.vision.imageanalysis.models.ImageAnalysisResult
Represents the outcome of an Image Analysis operation.
-
Method Summary
Modifier and TypeMethodDescriptionGet the caption property: The generated phrase that describes the content of the analyzed image.Get the denseCaptions property: The up to 10 generated phrases, the first describing the content of the whole image, and the others describing the content of different regions of the image.Get the metadata property: Metadata associated with the analyzed image.Get the modelVersion property: The cloud AI model used for the analysis.Get the objects property: A list of detected physical objects in the analyzed image, and their location.Get the people property: A list of detected people in the analyzed image, and their location.getRead()Get the read property: The extracted printed and hand-written text in the analyze image.Get the smartCrops property: A list of crop regions at the desired as aspect ratios (if provided) that can be used as image thumbnails.getTags()Get the tags property: A list of content tags in the analyzed image.
-
Method Details
-
getCaption
Get the caption property: The generated phrase that describes the content of the analyzed image.- Returns:
- the caption value.
-
getDenseCaptions
Get the denseCaptions property: The up to 10 generated phrases, the first describing the content of the whole image, and the others describing the content of different regions of the image.- Returns:
- the denseCaptions value.
-
getMetadata
Get the metadata property: Metadata associated with the analyzed image.- Returns:
- the metadata value.
-
getModelVersion
Get the modelVersion property: The cloud AI model used for the analysis.- Returns:
- the modelVersion value.
-
getObjects
Get the objects property: A list of detected physical objects in the analyzed image, and their location.- Returns:
- the objects value.
-
getPeople
Get the people property: A list of detected people in the analyzed image, and their location.- Returns:
- the people value.
-
getRead
Get the read property: The extracted printed and hand-written text in the analyze image. Also knows as OCR.- Returns:
- the read value.
-
getSmartCrops
Get the smartCrops property: A list of crop regions at the desired as aspect ratios (if provided) that can be used as image thumbnails. These regions preserve as much content as possible from the analyzed image, with priority given to detected faces.- Returns:
- the smartCrops value.
-
getTags
Get the tags property: A list of content tags in the analyzed image.- Returns:
- the tags value.
-