ImageAnalysis Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ImageAnalysis
- com.
public class ImageAnalysis
Result of AnalyzeImage operation.
Method Summary
Method Details
adult
public AdultInfo adult()
Get the adult value.
Returns:
brands
public List
Get the brands value.
Returns:
categories
public List
Get the categories value.
Returns:
color
public ColorInfo color()
Get the color value.
Returns:
description
public ImageDescriptionDetails description()
Get the description value.
Returns:
faces
public List
Get the faces value.
Returns:
imageType
public ImageType imageType()
Get the imageType value.
Returns:
metadata
public ImageMetadata metadata()
Get the metadata value.
Returns:
modelVersion
public String modelVersion()
Get the modelVersion value.
Returns:
objects
public List
Get the objects value.
Returns:
requestId
public String requestId()
Get the requestId value.
Returns:
tags
public List
Get the tags value.
Returns:
withAdult
public ImageAnalysis withAdult(AdultInfo adult)
Set the adult value.
Parameters:
Returns:
withBrands
public ImageAnalysis withBrands(List
Set the brands value.
Parameters:
Returns:
withCategories
public ImageAnalysis withCategories(List
Set the categories value.
Parameters:
Returns:
withColor
public ImageAnalysis withColor(ColorInfo color)
Set the color value.
Parameters:
Returns:
withDescription
public ImageAnalysis withDescription(ImageDescriptionDetails description)
Set the description value.
Parameters:
Returns:
withFaces
public ImageAnalysis withFaces(List
Set the faces value.
Parameters:
Returns:
withImageType
public ImageAnalysis withImageType(ImageType imageType)
Set the imageType value.
Parameters:
Returns:
withMetadata
public ImageAnalysis withMetadata(ImageMetadata metadata)
Set the metadata value.
Parameters:
Returns:
withModelVersion
public ImageAnalysis withModelVersion(String modelVersion)
Set the modelVersion value.
Parameters:
Returns:
withObjects
public ImageAnalysis withObjects(List
Set the objects value.
Parameters:
Returns:
withRequestId
public ImageAnalysis withRequestId(String requestId)
Set the requestId value.
Parameters:
Returns:
withTags
public ImageAnalysis withTags(List
Set the tags value.
Parameters:
Returns: