Help Centre › Building 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:
- Navigate to the process where you would like to add the OCR Capture an area function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the OCR Capture an area option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Window | Yes | Text | - | The window title |
| X | Yes | Number | 0 | X coordinate of the area |
| Y | Yes | Number | 0 | Y coordinate of the area |
| Width | Yes | Number | 0 | Width of the capture area |
| Height | Yes | Number | 0 | Height of the capture area |
| Variable | Yes | Text | - | Variable to store the extracted text |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Text | The OCR-extracted text from the specified area |
Errors
| Error | Description |
|---|---|
| Window not found | The window could not be found |
| OCR failed | Could not extract text from the area |
Tips
- Captures a specific area of the screen and performs OCR
- Use the recorder to capture coordinates