Class
TesseractOcrSession
OfficeIMO.Ocr.Tesseract
Reusable, fully resolved Tesseract OCR session for raster images from any document format.
Inheritance
- object
- TesseractOcrSession
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Methods
public Task<OcrResult> RecognizeAsync(byte[] image, string mediaType, string? sourceName = null, CancellationToken cancellationToken = default) #Recognizes one supported raster payload.
Parameters
- image byte[]
- mediaType string
- sourceName string? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<OcrResult>Inherited Methods
Properties
public TesseractOcrRuntimeEvidence Runtime { get; } #Resolved runtime and trained-data evidence.