IOcrEngine interface
Namespace: PdfNetStack.Ocr
Assembly: PdfNetStack.Ocr.dll
Package: PdfNetStack.Ocr
Recognizes text in images. Implementations must be safe to call from several threads.
public interface IOcrEngine : IDisposableImplements
Methods
Section titled “Methods”Recognize(OcrBitmap, OcrRequest, CancellationToken)
Section titled “ Recognize(OcrBitmap, OcrRequest, CancellationToken)”Recognizes one upright 8 bit gray image; boxes come back in its pixel coordinates.
OcrImageResult Recognize(OcrBitmap image, OcrRequest request, CancellationToken cancellationToken)Parameters
Section titled “Parameters”image OcrBitmap
The image, text upright.
request OcrRequest
The script to read.
cancellationToken CancellationToken
Stops the work between lines.