Compartir a través de


ComputerVisionClient.RecognizePrintedTextInStreamWithHttpMessagesAsync Método

Definición

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrResult>> RecognizePrintedTextInStreamWithHttpMessagesAsync (bool detectOrientation, System.IO.Stream image, Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrLanguages? language = default, string modelVersion = "latest", System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RecognizePrintedTextInStreamWithHttpMessagesAsync : bool * System.IO.Stream * Nullable<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrLanguages> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrResult>>
override this.RecognizePrintedTextInStreamWithHttpMessagesAsync : bool * System.IO.Stream * Nullable<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrLanguages> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrResult>>
Public Function RecognizePrintedTextInStreamWithHttpMessagesAsync (detectOrientation As Boolean, image As Stream, Optional language As Nullable(Of OcrLanguages) = Nothing, Optional modelVersion As String = "latest", Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of OcrResult))

Parámetros

detectOrientation
Boolean
image
Stream
modelVersion
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Devoluciones

Implementaciones

Se aplica a