Share via


ComputerVisionClientExtensions.RecognizePrintedTextAsync 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
Boolean
url
String
modelVersion
String
cancellationToken
CancellationToken

Returns

Applies to