# IOCRActivity Interface

> * Namespace: `UiPath.OCR.Contracts.Activities`
* Assembly: `UiPath.OCR.Contracts`

## Definition

* Namespace: `UiPath.OCR.Contracts.Activities`
* Assembly: `UiPath.OCR.Contracts`

## Description

A public interface that defines an OCR engine that detects characters from an image.

## Members

#### Methods

* `PerformOCRAsync(System.Drawing.Image, System.Collections.Generic.Dictionary<string, object>, System.Threading.CancellationToken)` **System.Threading.Tasks.Task<UiPath.OCR.Contracts.DataContracts.OCRResult>** - Processes an image and returns the extracted text information. The *options* parameter is a dictionary of activity arguments having as key the argument name and as value the argument value.

#### Properties

* `Image` **System.Activities.InArgument<System.Drawing.Image>** - Image to be processed.
