# OcrEngineCapabilities

Capabilities exposed by one configured OCR engine.

Class 

`OfficeIMO.Ocr`

**Namespace**

`OfficeIMO.Ocr`

**Assembly**

`OfficeIMO.Ocr`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[OcrModels.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L6)

**Modifiers**

sealed

Capabilities exposed by one configured OCR engine.

## Inheritance

- object
- OcrEngineCapabilities

## Usage

Explore 8 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 7

- Property [AdaptiveOcrEngine.Capabilities](/api/ocr/officeimo-ocr-adaptiveocrengine/#property-capabilities)
- Property [DelegateOcrEngine.Capabilities](/api/ocr/officeimo-ocr-delegateocrengine/#property-capabilities)
- Property [IOcrEngine.Capabilities](/api/ocr/officeimo-ocr-iocrengine/#property-capabilities)
- Property [IOcrEngineProvider.Capabilities](/api/ocr/officeimo-ocr-iocrengineprovider/#property-capabilities)
- Method [OcrEngineCapabilities.Clone](/api/ocr/officeimo-ocr-ocrenginecapabilities/#method-clone)
- Property [OcrEngineDescriptor.Capabilities](/api/ocr/officeimo-ocr-ocrenginedescriptor/#property-capabilities)
- Property [OcrEngineExecution.Capabilities](/api/ocr/officeimo-ocr-ocrengineexecution/#property-capabilities)

### Accepted by parameters 1

- Constructor [DelegateOcrEngine.DelegateOcrEngine](/api/ocr/officeimo-ocr-delegateocrengine/#constructor-ctor-string-func-officeimo-ocr-ocrrequest-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-ocr-ocrresult-officeimo-ocr-ocrenginecapabilities) parameter `capabilities`

Filter members 

Show inherited

## Constructors

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

[OcrModels.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L6)

## Methods

`public OcrEngineCapabilities Clone()` [#](#method-clone)

[OcrModels.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L48)

Creates an independent capability snapshot.

Returns

`OcrEngineCapabilities`

`public bool SupportsMediaType(string? mediaType)` [#](#method-supportsmediatype-string)

[OcrModels.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L31)

Gets whether the declared capabilities accept a media type, including subtype wildcards.

Parameters

**mediaType string? required**

Returns

`bool`

## 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 IReadOnlyList<string> SupportedMediaTypes { get; set; }` [#](#property-supportedmediatypes)

[OcrModels.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L6)

Media types accepted by the engine. Empty means the engine does not pre-declare a restriction.

`public IReadOnlyList<string> SupportedLanguages { get; set; }` [#](#property-supportedlanguages)

[OcrModels.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L9)

Language identifiers known to the engine. Empty means language discovery is provider-specific.

`public bool SupportsLineSpans { get; set; }` [#](#property-supportslinespans)

[OcrModels.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L12)

Whether line-level text spans can be returned.

`public bool SupportsWordSpans { get; set; }` [#](#property-supportswordspans)

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

Whether word-level text spans can be returned.

`public bool SupportsCharacterSpans { get; set; }` [#](#property-supportscharacterspans)

[OcrModels.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L18)

Whether character-level text spans can be returned.

`public bool SupportsConfidence { get; set; }` [#](#property-supportsconfidence)

[OcrModels.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L21)

Whether confidence values can be returned.

`public bool SupportsConcurrentRequests { get; set; }` [#](#property-supportsconcurrentrequests)

[OcrModels.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L24)

Whether the same engine instance accepts concurrent recognition requests.

`public bool SupportsOrientationDetection { get; set; }` [#](#property-supportsorientationdetection)

[OcrModels.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Ocr/OcrModels.cs#L27)

Whether the engine accepts explicit orientation-detection requests.

<!-- PowerForge markdown artifact sha256:46948C5DA1ADB30E8CA24595DC58D98DD9998379DC24006DC99C2560242BC9A2 -->
