Share via


ComputerVisionClientExtensions.GetAreaOfInterestInStreamAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.AreaOfInterestResult> GetAreaOfInterestInStreamAsync (this Microsoft.Azure.CognitiveServices.Vision.ComputerVision.IComputerVisionClient operations, System.IO.Stream image, string modelVersion = "latest", System.Threading.CancellationToken cancellationToken = default);
static member GetAreaOfInterestInStreamAsync : Microsoft.Azure.CognitiveServices.Vision.ComputerVision.IComputerVisionClient * System.IO.Stream * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.AreaOfInterestResult>
<Extension()>
Public Function GetAreaOfInterestInStreamAsync (operations As IComputerVisionClient, image As Stream, Optional modelVersion As String = "latest", Optional cancellationToken As CancellationToken = Nothing) As Task(Of AreaOfInterestResult)

Parameters

image
Stream
modelVersion
String
cancellationToken
CancellationToken

Returns

Applies to