Method RunAsync
- Namespace
- LMKit.Integrations.Tesseract
- Assembly
- LM-Kit.NET.dll
RunAsync(OcrParameters, CancellationToken)
Runs OCR on the provided image data asynchronously.
public override Task<OcrResult> RunAsync(OcrParameters ocrParameters, CancellationToken cancellationToken = default)
Parameters
ocrParameters
OcrParametersParameters including image data and model info.
cancellationToken
CancellationTokenToken to observe for cancellation.