ComputerVisionClient.RecognizePrintedTextInStreamWithHttpMessagesAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
- language
- Nullable<OcrLanguages>
- modelVersion
- String
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Retornos
Implementações
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET