# ImageOcrWorkflowRequest

Recognizes a standalone image and publishes reviewed text as UTF-8.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ImageOcrWorkflowRequest.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L8)

**Modifiers**

sealed

Recognizes a standalone image and publishes reviewed text as UTF-8.

## Inheritance

- object
- ImageOcrWorkflowRequest

## Usage

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

- Property [OfficeOcrSessionRequest.Image](/api/workflows/officeimo-workflows-officeocrsessionrequest/#property-image)

### Accepted by parameters 2

- Constructor [OfficeOcrSessionRequest.OfficeOcrSessionRequest](/api/workflows/officeimo-workflows-officeocrsessionrequest/#constructor-ctor-string-officeimo-workflows-imageocrworkflowrequest) parameter `request`
- Method [OfficeWorkflowRunner.RecognizeImageAsync](/api/workflows/officeimo-workflows-officeworkflowrunner/#method-recognizeimageasync-officeimo-workflows-imageocrworkflowrequest-officeimo-ocr-iocrengine-threading-cancellationtoken) parameter `request`

Filter members 

Show inherited

## Constructors

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

[ImageOcrWorkflowRequest.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L8)

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

[ImageOcrWorkflowRequest.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L8)

Source filesystem path or provider location.

`public OfficeWorkflowStreamInput? InputStream { get; set; }` [#](#property-inputstream)

[ImageOcrWorkflowRequest.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L10)

Optional reopenable provider input.

`public string OutputPath { get; set; }` [#](#property-outputpath)

[ImageOcrWorkflowRequest.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L12)

Explicit text output path or provider location, with a .txt filename.

`public OfficeWorkflowStreamOutput? OutputStream { get; set; }` [#](#property-outputstream)

[ImageOcrWorkflowRequest.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L14)

Optional provider output, requiring explicit direct-write consent.

`public OfficePublicationPolicy ConflictPolicy { get; set; }` [#](#property-conflictpolicy)

[ImageOcrWorkflowRequest.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L16)

Existing destination policy.

`public IOfficePublicationGuard? PublicationGuard { get; set; }` [#](#property-publicationguard)

[ImageOcrWorkflowRequest.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L18)

Host authorization checked immediately before publication.

`public OfficeOperationLimits Limits { get; set; }` [#](#property-limits)

[ImageOcrWorkflowRequest.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L20)

Input and output byte limits.

`public OfficeDocumentOcrExecutionOptions Ocr { get; set; }` [#](#property-ocr)

[ImageOcrWorkflowRequest.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L22)

Bounded Reader OCR configuration, captured before asynchronous work.

`public Func<ImageOcrWorkflowReview, CancellationToken, Task<string>>? ReviewAsync { get; set; }` [#](#property-reviewasync)

[ImageOcrWorkflowRequest.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/ImageOcrWorkflowRequest.cs#L25)

Optional review and correction of recognized text before publication. Cancellation aborts publication even if the callback fails to finish promptly.

<!-- PowerForge markdown artifact sha256:44ACF3F992B0726B1F1998CF09137022EB50CCAA4AE0D804E7A478045371E437 -->
