Jaa


ImageDescription Class

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

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

Get the captions value.

ImageMetadata metadata()

Get the metadata value.

String modelVersion()

Get the modelVersion value.

String requestId()

Get the requestId value.

List<String> tags()

Get the tags value.

ImageDescription withCaptions(List<ImageCaption> captions)

Set the captions value.

ImageDescription withMetadata(ImageMetadata metadata)

Set the metadata value.

ImageDescription withModelVersion(String modelVersion)

Set the modelVersion value.

ImageDescription withRequestId(String requestId)

Set the requestId value.

ImageDescription withTags(List<String> tags)

Set the tags value.

Method Details

captions

public List captions()

Get the captions value.

Returns:

the captions value

metadata

public ImageMetadata metadata()

Get the metadata value.

Returns:

the metadata value

modelVersion

public String modelVersion()

Get the modelVersion value.

Returns:

the modelVersion value

requestId

public String requestId()

Get the requestId value.

Returns:

the requestId value

tags

public List tags()

Get the tags value.

Returns:

the tags value

withCaptions

public ImageDescription withCaptions(List captions)

Set the captions value.

Parameters:

captions - the captions value to set

Returns:

the ImageDescription object itself.

withMetadata

public ImageDescription withMetadata(ImageMetadata metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the ImageDescription object itself.

withModelVersion

public ImageDescription withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the ImageDescription object itself.

withRequestId

public ImageDescription withRequestId(String requestId)

Set the requestId value.

Parameters:

requestId - the requestId value to set

Returns:

the ImageDescription object itself.

withTags

public ImageDescription withTags(List tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the ImageDescription object itself.

Applies to