AreaOfInterestResult Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. AreaOfInterestResult
- com.
public class AreaOfInterestResult
Result of AreaOfInterest operation.
Constructor Summary
Constructor | Description | |
---|---|---|
AreaOfInterestResult() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Bounding |
areaOfInterest()
Get the area |
Image |
metadata()
Get the metadata value. |
String |
modelVersion()
Get the model |
String |
requestId()
Get the request |
Area |
withMetadata(ImageMetadata metadata)
Set the metadata value. |
Area |
withModelVersion(String modelVersion)
Set the model |
Area |
withRequestId(String requestId)
Set the request |
Methods inherited from java.lang.Object
Constructor Details
AreaOfInterestResult
public AreaOfInterestResult()
Method Details
areaOfInterest
public BoundingRect areaOfInterest()
Get the areaOfInterest value.
Returns:
metadata
public ImageMetadata metadata()
Get the metadata value.
Returns:
modelVersion
public String modelVersion()
Get the modelVersion value.
Returns:
requestId
public String requestId()
Get the requestId value.
Returns:
withMetadata
public AreaOfInterestResult withMetadata(ImageMetadata metadata)
Set the metadata value.
Parameters:
Returns:
withModelVersion
public AreaOfInterestResult withModelVersion(String modelVersion)
Set the modelVersion value.
Parameters:
Returns:
withRequestId
public AreaOfInterestResult withRequestId(String requestId)
Set the requestId value.
Parameters:
Returns:
Applies to
Azure SDK for Java