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)
Parameter | Type | Description |
---|---|---|
cancellationToken | Nullable`1 | An 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
- class TextRecognitionResult
- interface IOcrCopilot
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF