ComputerVisionClient.RecognizePrintedTextInStreamWithHttpMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))
Parameters
- detectOrientation
- Boolean
- image
- Stream
- language
- Nullable<OcrLanguages>
- modelVersion
- String
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Returns
Implements
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET