ImageDescription Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ImageDescription
- com.
public class ImageDescription
A collection of content tags, along with a list of captions sorted by confidence level, and image metadata.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Image |
captions()
Get the captions value. |
Image |
metadata()
Get the metadata value. |
String |
modelVersion()
Get the modelVersion value. |
String |
requestId()
Get the requestId value. |
List<String> |
tags()
Get the tags value. |
Image |
withCaptions(List<ImageCaption> captions)
Set the captions value. |
Image |
withMetadata(ImageMetadata metadata)
Set the metadata value. |
Image |
withModelVersion(String modelVersion)
Set the modelVersion value. |
Image |
withRequestId(String requestId)
Set the requestId value. |
Image |
withTags(List<String> tags)
Set the tags value. |
Method Details
captions
public List
Get the captions value.
Returns:
metadata
public ImageMetadata metadata()
Get the metadata value.
Returns:
modelVersion
public String modelVersion()
Get the modelVersion value.
Returns:
requestId
public String requestId()
Get the requestId value.
Returns:
tags
public List
Get the tags value.
Returns:
withCaptions
public ImageDescription withCaptions(List
Set the captions value.
Parameters:
Returns:
withMetadata
public ImageDescription withMetadata(ImageMetadata metadata)
Set the metadata value.
Parameters:
Returns:
withModelVersion
public ImageDescription withModelVersion(String modelVersion)
Set the modelVersion value.
Parameters:
Returns:
withRequestId
public ImageDescription withRequestId(String requestId)
Set the requestId value.
Parameters:
Returns:
withTags
public ImageDescription withTags(List
Set the tags value.
Parameters:
Returns:
Applies to
Azure SDK for Java