Interface IOcrEngine
Interface for OCR (optical character recognition). See TesseractOcrEngine.
public interface IOcrEngine
Methods
ProcessImage(ScanningContext, string, OcrParams, CancellationToken)
Task<OcrResult?> ProcessImage(ScanningContext scanningContext, string imagePath, OcrParams ocrParams, CancellationToken cancelToken)
Parameters
scanningContext
ScanningContextimagePath
stringocrParams
OcrParamscancelToken
CancellationToken
Returns
- Task<OcrResult>