API Reference
Interface
IOcrEngine
Recognizes text and layout from one bounded raster payload.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Methods
public abstract Task<OcrResult> RecognizeAsync(OcrRequest request, CancellationToken cancellationToken = null) #Returns:
Task<OcrResult>Recognizes text and optional detailed spans from one raster payload.
Parameters
- request OfficeIMO.Ocr.OcrRequest
- cancellationToken System.Threading.CancellationToken = null
Properties
public abstract String Id { get; } #Stable provider identifier used in diagnostics and provenance. The value must remain unchanged for the lifetime of this configured engine instance, and the untrimmed value must not exceed MaximumEngineIdCharacters characters.
public abstract OcrEngineCapabilities Capabilities { get; } #Stable capabilities exposed by this configured engine instance.