共用方式為


AreaOfInterestResult Class

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

public class AreaOfInterestResult

Result of AreaOfInterest operation.

Method Summary

Modifier and Type Method and Description
BoundingRect areaOfInterest()

Get the areaOfInterest value.

ImageMetadata metadata()

Get the metadata value.

String modelVersion()

Get the modelVersion value.

String requestId()

Get the requestId value.

AreaOfInterestResult withMetadata(ImageMetadata metadata)

Set the metadata value.

AreaOfInterestResult withModelVersion(String modelVersion)

Set the modelVersion value.

AreaOfInterestResult withRequestId(String requestId)

Set the requestId value.

Method Details

areaOfInterest

public BoundingRect areaOfInterest()

Get the areaOfInterest value.

Returns:

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

withMetadata

public AreaOfInterestResult withMetadata(ImageMetadata metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the AreaOfInterestResult object itself.

withModelVersion

public AreaOfInterestResult withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the AreaOfInterestResult object itself.

withRequestId

public AreaOfInterestResult withRequestId(String requestId)

Set the requestId value.

Parameters:

requestId - the requestId value to set

Returns:

the AreaOfInterestResult object itself.

Applies to