ImageDescriptionDetails Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ImageDescriptionDetails
- com.
public class ImageDescriptionDetails
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. |
List<String> |
tags()
Get the tags value. |
Image |
withCaptions(List<ImageCaption> captions)
Set the captions value. |
Image |
withTags(List<String> tags)
Set the tags value. |
Method Details
captions
public List
Get the captions value.
Returns:
the captions value
tags
public List
Get the tags value.
Returns:
the tags value
withCaptions
public ImageDescriptionDetails withCaptions(List
Set the captions value.
Parameters:
captions
- the captions value to set
Returns:
the ImageDescriptionDetails object itself.
withTags
public ImageDescriptionDetails withTags(List
Set the tags value.
Parameters:
tags
- the tags value to set
Returns:
the ImageDescriptionDetails object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java