Partager via


ComputerVisionClientExtensions.RecognizePrintedTextInStreamAsync Méthode

Définition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrResult> RecognizePrintedTextInStreamAsync (this Microsoft.Azure.CognitiveServices.Vision.ComputerVision.IComputerVisionClient operations, bool detectOrientation, System.IO.Stream image, Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.OcrLanguages? language = default, string modelVersion = "latest", System.Threading.CancellationToken cancellationToken = default);
static member RecognizePrintedTextInStreamAsync : Microsoft.Azure.CognitiveServices.Vision.ComputerVision.IComputerVisionClient * bool * System.IO.Stream * 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 RecognizePrintedTextInStreamAsync (operations As IComputerVisionClient, detectOrientation As Boolean, image As Stream, Optional language As Nullable(Of OcrLanguages) = Nothing, Optional modelVersion As String = "latest", Optional cancellationToken As CancellationToken = Nothing) As Task(Of OcrResult)

Paramètres

detectOrientation
Boolean
image
Stream
modelVersion
String
cancellationToken
CancellationToken

Retours

S’applique à