ImageInfo Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. ImageInfo
- com.
public class ImageInfo
A JSON object that identities the image to get insights of . It also includes the optional crop area that you use to identify the region of interest in the image.
Constructor Summary
Constructor | Description | |
---|---|---|
ImageInfo() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Crop |
cropArea()
Get the crop |
java.lang.String |
imageInsightsToken()
Get the image |
java.lang.String |
url()
Get the url value. |
Image |
withCropArea(CropArea cropArea)
Set the crop |
Image |
withImageInsightsToken(String imageInsightsToken)
Set the image |
Image |
withUrl(String url)
Set the url value. |
Methods inherited from java.lang.Object
Constructor Details
ImageInfo
public ImageInfo()
Method Details
cropArea
public CropArea cropArea()
Get the cropArea value.
Returns:
imageInsightsToken
public String imageInsightsToken()
Get the imageInsightsToken value.
Returns:
url
public String url()
Get the url value.
Returns:
withCropArea
public ImageInfo withCropArea(CropArea cropArea)
Set the cropArea value.
Parameters:
Returns:
withImageInsightsToken
public ImageInfo withImageInsightsToken(String imageInsightsToken)
Set the imageInsightsToken value.
Parameters:
Returns:
withUrl
public ImageInfo withUrl(String url)
Set the url value.
Parameters:
Returns:
Applies to
Azure SDK for Java