OCR Capture an area function

The OCR Capture an area function in RPA.

Help CentreBuilding Processes

This article describes the RPA OCR functionality to capture an area.

For a full list of available functions, please read OCR functions.


Description

The OCR Capture an area function allows you to capture an area.


Setting it up

To use the OCR Capture an area function, follow these instructions:

{{popups:rpas/add:action=ocr-area}}

Once on a process map:

  1. Navigate to the process where you would like to add the OCR Capture an area function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the OCR Capture an area option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
WindowYesText-The window title
XYesNumber0X coordinate of the area
YYesNumber0Y coordinate of the area
WidthYesNumber0Width of the capture area
HeightYesNumber0Height of the capture area
VariableYesText-Variable to store the extracted text

Output variables

VariableTypeDescription
VariableTextThe OCR-extracted text from the specified area

Errors

ErrorDescription
Window not foundThe window could not be found
OCR failedCould not extract text from the area

Tips

  • Captures a specific area of the screen and performs OCR
  • Use the recorder to capture coordinates

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.