IOcrCopilot.GetTextRecognitionResultAsync

IOcrCopilot.GetTextRecognitionResultAsync method

Asynchronously retrieves text recognition results for the PDF documents and image files. The supported image types: PNG (.png), JPEG (.jpeg and .jpg), WEBP (.webp), non-animated GIF (.gif).

public Task<List<TextRecognitionResult>> GetTextRecognitionResultAsync(
    CancellationToken? cancellationToken = default)
ParameterTypeDescription
cancellationTokenNullable`1An optional cancellation token to cancel the operation.

Return Value

A task that represents the asynchronous operation. The task result contains a list of TextRecognitionResult.

See Also