ImageDescriptionDetails Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.ImageDescriptionDetails

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<ImageCaption> captions()

Get the captions value.

List<String> tags()

Get the tags value.

ImageDescriptionDetails withCaptions(List<ImageCaption> captions)

Set the captions value.

ImageDescriptionDetails withTags(List<String> tags)

Set the tags value.

Method Details

captions

public List captions()

Get the captions value.

Returns:

the captions value

tags

public List tags()

Get the tags value.

Returns:

the tags value

withCaptions

public ImageDescriptionDetails withCaptions(List captions)

Set the captions value.

Parameters:

captions - the captions value to set

Returns:

the ImageDescriptionDetails object itself.

withTags

public ImageDescriptionDetails withTags(List tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the ImageDescriptionDetails object itself.

Applies to