Table of Contents

Interface IOcrEngine

Namespace
NAPS2.Ocr
Assembly
NAPS2.Sdk.dll

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 ScanningContext
imagePath string
ocrParams OcrParams
cancelToken CancellationToken

Returns

Task<OcrResult>