Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

TesseractOcrSession

Namespace OfficeIMO.Ocr.Tesseract
Assembly OfficeIMO.Ocr.Tesseract
Source revision dce3df7a1b5d with working tree changes
Modifiers sealed

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) #
Returns: Task<OcrResult>

Recognizes one supported raster payload.

Parameters

image System.Byte[] requiredposition: 0
mediaType System.String requiredposition: 1
sourceName System.String? = null optionalposition: 2
cancellationToken System.Threading.CancellationToken = default optionalposition: 3

Properties

public TesseractOcrRuntimeEvidence Runtime { get; } #

Resolved runtime and trained-data evidence.

public IOcrEngine Engine { get; } #

The reusable engine-neutral OCR engine.