DenseCaption Class
- java.
lang. Object - com.
azure. ai. vision. imageanalysis. models. DenseCaption
- com.
public final class DenseCaption
Represents a generated phrase that describes the content of the whole image or a region in the image.
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
getBoundingBox()
Get the bounding |
double |
getConfidence()
Get the confidence property: A score, in the range of 0 to 1 (inclusive), representing the confidence that this description is accurate. |
String |
getText()
Get the text property: The text of the caption. |
Methods inherited from java.lang.Object
Method Details
getBoundingBox
public ImageBoundingBox getBoundingBox()
Get the boundingBox property: The image region of which this caption applies.
Returns:
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:
getText
public String getText()
Get the text property: The text of the caption.
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin