Class DenseCaption
java.lang.Object
com.azure.ai.vision.imageanalysis.models.DenseCaption
Represents a generated phrase that describes the content of the whole image or a region in the image.
-
Method Summary
Modifier and TypeMethodDescriptionGet the boundingBox property: The image region of which this caption applies.doubleGet the confidence property: A score, in the range of 0 to 1 (inclusive), representing the confidence that this description is accurate.getText()Get the text property: The text of the caption.
-
Method Details
-
getConfidence
public double getConfidence()Get the confidence property: A score, in the range of 0 to 1 (inclusive), representing the confidence that this description is accurate. Higher values indicating higher confidence.- Returns:
- the confidence value.
-
getText
Get the text property: The text of the caption.- Returns:
- the text value.
-
getBoundingBox
Get the boundingBox property: The image region of which this caption applies.- Returns:
- the boundingBox value.
-