ComputerVisionClientExtensions.RecognizePrintedTextAsync(IComputerVisionClient, Boolean, String, Nullable<OcrLanguages>, String, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrResult> RecognizePrintedTextAsync (this Microsoft.Azure.CognitiveServices.Vision.ComputerVision.IComputerVisionClient operations, bool detectOrientation, string url, Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrLanguages? language = default, string modelVersion = "latest", System.Threading.CancellationToken cancellationToken = default);
static member RecognizePrintedTextAsync : Microsoft.Azure.CognitiveServices.Vision.ComputerVision.IComputerVisionClient * bool * string * Nullable<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrLanguages> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrResult>
<Extension()>
Public Function RecognizePrintedTextAsync (operations As IComputerVisionClient, detectOrientation As Boolean, url As String, Optional language As Nullable(Of OcrLanguages) = Nothing, Optional modelVersion As String = "latest", Optional cancellationToken As CancellationToken = Nothing) As Task(Of OcrResult)

Parameters

detectOrientation
System.Boolean
url
System.String
language
System.Nullable<OcrLanguages>
modelVersion
System.String
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<OcrResult>

Applies to