Share via


ComputerVisionClientExtensions.ReadInStreamAsync Method

Definition

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

Parameters

image
Stream
language
String
pages
IList<String>
modelVersion
String
readingOrder
String
cancellationToken
CancellationToken

Returns

Applies to