Sdílet prostřednictvím


ImageAnalysis Class

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

public class ImageAnalysis

Result of AnalyzeImage operation.

Method Summary

Modifier and Type Method and Description
AdultInfo adult()

Get the adult value.

List<DetectedBrand> brands()

Get the brands value.

List<Category> categories()

Get the categories value.

ColorInfo color()

Get the color value.

ImageDescriptionDetails description()

Get the description value.

List<FaceDescription> faces()

Get the faces value.

ImageType imageType()

Get the imageType value.

ImageMetadata metadata()

Get the metadata value.

String modelVersion()

Get the modelVersion value.

List<DetectedObject> objects()

Get the objects value.

String requestId()

Get the requestId value.

List<ImageTag> tags()

Get the tags value.

ImageAnalysis withAdult(AdultInfo adult)

Set the adult value.

ImageAnalysis withBrands(List<DetectedBrand> brands)

Set the brands value.

ImageAnalysis withCategories(List<Category> categories)

Set the categories value.

ImageAnalysis withColor(ColorInfo color)

Set the color value.

ImageAnalysis withDescription(ImageDescriptionDetails description)

Set the description value.

ImageAnalysis withFaces(List<FaceDescription> faces)

Set the faces value.

ImageAnalysis withImageType(ImageType imageType)

Set the imageType value.

ImageAnalysis withMetadata(ImageMetadata metadata)

Set the metadata value.

ImageAnalysis withModelVersion(String modelVersion)

Set the modelVersion value.

ImageAnalysis withObjects(List<DetectedObject> objects)

Set the objects value.

ImageAnalysis withRequestId(String requestId)

Set the requestId value.

ImageAnalysis withTags(List<ImageTag> tags)

Set the tags value.

Method Details

adult

public AdultInfo adult()

Get the adult value.

Returns:

the adult value

brands

public List brands()

Get the brands value.

Returns:

the brands value

categories

public List categories()

Get the categories value.

Returns:

the categories value

color

public ColorInfo color()

Get the color value.

Returns:

the color value

description

public ImageDescriptionDetails description()

Get the description value.

Returns:

the description value

faces

public List faces()

Get the faces value.

Returns:

the faces value

imageType

public ImageType imageType()

Get the imageType value.

Returns:

the imageType 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

objects

public List objects()

Get the objects value.

Returns:

the objects 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

withAdult

public ImageAnalysis withAdult(AdultInfo adult)

Set the adult value.

Parameters:

adult - the adult value to set

Returns:

the ImageAnalysis object itself.

withBrands

public ImageAnalysis withBrands(List brands)

Set the brands value.

Parameters:

brands - the brands value to set

Returns:

the ImageAnalysis object itself.

withCategories

public ImageAnalysis withCategories(List categories)

Set the categories value.

Parameters:

categories - the categories value to set

Returns:

the ImageAnalysis object itself.

withColor

public ImageAnalysis withColor(ColorInfo color)

Set the color value.

Parameters:

color - the color value to set

Returns:

the ImageAnalysis object itself.

withDescription

public ImageAnalysis withDescription(ImageDescriptionDetails description)

Set the description value.

Parameters:

description - the description value to set

Returns:

the ImageAnalysis object itself.

withFaces

public ImageAnalysis withFaces(List faces)

Set the faces value.

Parameters:

faces - the faces value to set

Returns:

the ImageAnalysis object itself.

withImageType

public ImageAnalysis withImageType(ImageType imageType)

Set the imageType value.

Parameters:

imageType - the imageType value to set

Returns:

the ImageAnalysis object itself.

withMetadata

public ImageAnalysis withMetadata(ImageMetadata metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the ImageAnalysis object itself.

withModelVersion

public ImageAnalysis withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the ImageAnalysis object itself.

withObjects

public ImageAnalysis withObjects(List objects)

Set the objects value.

Parameters:

objects - the objects value to set

Returns:

the ImageAnalysis object itself.

withRequestId

public ImageAnalysis withRequestId(String requestId)

Set the requestId value.

Parameters:

requestId - the requestId value to set

Returns:

the ImageAnalysis object itself.

withTags

public ImageAnalysis withTags(List tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the ImageAnalysis object itself.

Applies to