API Reference
Interface
IOcrEngine
Recognizes text and layout from one bounded raster payload.
Usage
Explore 7 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 3
- Method IOcrEngineProvider.Create
- Method OcrEngineCatalog.Create
- Property OcrRecognitionAttempt.Engine
Accepted by parameters 4
- Method OcrEngineRunner.CreateExecution
- Method OcrEngineRunner.GetValidatedEngineId
- Method OcrEngineRunner.RecognizeAsync
- Constructor OcrRecognitionAttempt.OcrRecognitionAttempt
Methods
public abstract Task<OcrResult> RecognizeAsync(OcrRequest request, CancellationToken cancellationToken = default) #Returns:
Task<OcrResult>Recognizes text and optional detailed spans from one raster payload.
Parameters
- request OfficeIMO.Ocr.OcrRequest
- cancellationToken System.Threading.CancellationToken = default
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 OcrEngineRunner.MaximumEngineIdCharacters characters.
public abstract OcrEngineCapabilities Capabilities { get; } #Stable capabilities exposed by this configured engine instance.