ComputerVisionClientExtensions.RecognizePrintedTextInStreamAsync 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 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)
Parameters
- operations
- IComputerVisionClient
- detectOrientation
- Boolean
- image
- Stream
- language
- Nullable<OcrLanguages>
- modelVersion
- String
- cancellationToken
- CancellationToken