# OfficeDocumentOcrTextResult

Recognized text returned by an external OCR provider for a candidate emitted by an OfficeIMO read result.

Class 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Ocr`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[OfficeDocumentOcrEnrichment.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L15)

**Modifiers**

sealed

Recognized text returned by an external OCR provider for a candidate emitted by an OfficeIMO read result.

## Inheritance

- object
- OfficeDocumentOcrTextResult

## 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.

### Accepted by parameters 1

- Method [OfficeDocumentOcrEnrichmentExtensions.ApplyOcrResults](/api/reader-ocr/officeimo-reader-officedocumentocrenrichmentextensions/#method-applyocrresults-officeimo-reader-officedocumentreadresult-collections-generic-ienumerable-officeimo-reader-officedocumentocrtextresult-officeimo-reader-officedocumentocrenrichmentoptions) parameter `ocrResults`

Filter members 

Show inherited

## Constructors

`public OfficeDocumentOcrTextResult()` [#](#constructor-ctor)

[OfficeDocumentOcrEnrichment.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L15)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OfficeDocumentRecognitionEvidence? Recognition { get; set; }` [#](#property-recognition)

[OfficeDocumentOcrEnrichment.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L10)

Optional detailed recognition checks. Provider identity fields below remain authoritative.

`public string CandidateId { get; set; }` [#](#property-candidateid)

[OfficeDocumentOcrEnrichment.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L15)

Identifier of the OfficeDocumentOcrCandidate this OCR result enriches.

`public string Text { get; set; }` [#](#property-text)

[OfficeDocumentOcrEnrichment.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L20)

Plain recognized text for the candidate.

`public double? Confidence { get; set; }` [#](#property-confidence)

[OfficeDocumentOcrEnrichment.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L25)

Optional confidence reported by the external OCR provider.

`public string? Language { get; set; }` [#](#property-language)

[OfficeDocumentOcrEnrichment.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L30)

Optional BCP-47 language tag for the recognized text.

`public string? Provider { get; set; }` [#](#property-provider)

[OfficeDocumentOcrEnrichment.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L35)

Optional provider or service name that produced the recognized text.

`public string? Model { get; set; }` [#](#property-model)

[OfficeDocumentOcrEnrichment.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Reader.Ocr/OfficeDocumentOcrEnrichment.cs#L40)

Optional provider model or engine version.

<!-- PowerForge markdown artifact sha256:82138E5C1F963F3557CDC3F8AB0BE5C12003695C46875A5018D0AC6A84FB08A6 -->
