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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.
Azure SDK for Java