Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeDocumentOcrEnrichmentExtensions

OfficeIMO.Reader

Namespace
OfficeIMO.Reader
Assembly
OfficeIMO.Reader.Ocr
Source revision
063fe3ee9839 with working tree changes
Modifiers
static

Helpers for merging external OCR provider output into OfficeIMO read results.

Inheritance

  • object
  • OfficeDocumentOcrEnrichmentExtensions

Methods

public static OfficeDocumentOcrEnrichmentResult ApplyOcrResults(OfficeDocumentReadResult result, IEnumerable<OfficeDocumentOcrTextResult> ocrResults, OfficeDocumentOcrEnrichmentOptions? options = null) #

Applies recognized OCR text to a document read result without requiring the core reader to run an OCR engine.

Parameters

result OfficeIMO.Reader.OfficeDocumentReadResult required
Source read result containing OCR candidates.
ocrResults System.Collections.Generic.IEnumerable<OfficeIMO.Reader.OfficeDocumentOcrTextResult> required
Recognized OCR text keyed by candidate identifier.
options OfficeIMO.Reader.OfficeDocumentOcrEnrichmentOptions? = null optional
Optional enrichment behavior.

Returns

OfficeDocumentOcrEnrichmentResult An enriched read result plus observable merge counters.