---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the OCR Text component

# Use the OCR Text component {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Extract the text from an image by using the OCR (Optical Character Recognition) Text component in RPA Desktop Design Studio.

## Before you begin

Role required: none

## About this task

Important:  
Starting with the Yokohama release, the RPA Desktop Design Studio utilizes the latest version of the Tesseract OCR engine. This update improves image pre-processing, and performance optimizations. When updating older automations that include the OCR text
component, you may notice slight differences in the output. Therefore, it's important to validate your automations after the update.

Many properties of the OCR Text component are common with other Actions UI
components, to configure these properties, see [Properties of Actions (UI) components](https://www.servicenow.com/docs/g7ul0SUdc3d1n9i8bemfuw "Learn about the properties of the Actions (UI) group components. All components under the Actions (UI) group have both unique and common properties.").  
The properties unique to the OCR Text component are given.{#use-actionsui-ocr-text__table_hsn_mkr_c5b__entry__2}

| Property | Text |
|-|-|
| Image Source | Source from which the component takes the image. |
[Table 1. OCR Text component properties]

{#use-actionsui-ocr-text__table_hsn_mkr_c5b}

## Procedure

1. In the Toolbox pane, navigate to Actions (UI)OCR Text.
2. Drag the OCR Text component to the Design surface.
3. **Optional:** To configure the settings, click the component settings icon (![Component settings icon.]()).  
   The component has default settings that you may review and use.
4. **Optional:** Configure the settings as described in the following table.  
   {#use-actionsui-ocr-text__table_b2b_2q3_jsb__entry__2}

   | Field | Description |
   |-|-|
   | Engine | Engine name that is used for extracting the OCR fields. |
   | Language | Teseract engine that can support multiple languages. The user can select any language that is listed here. |
   | Line Height Tolerance | Font line height. |
   | ChangeDPI | Changes the Dots Per Inch (DPI) of Image as mentioned in the DPI property. |
   | DPI | DPI value. |
   | Extract Words | Text that is extracted in a word format. Otherwise, it's plain text. |
   | Invert | Image color that is inverted. For example, it inverts black to white. |
   | Language | Language that is used to extract. |
   | Scale Image | Scales the image by the given number. |
   | Threshold | Image that is converted out of Grayscale image or noise that is removed as per the threshold value. |
   | Threshold Value | Threshold value. |
   | Timeout | Time after which the component operation times out. |
   [Table 2. OCR Settings]

   {#use-actionsui-ocr-text__table_b2b_2q3_jsb}
5. To close the OCR Settings window, click OK.
6. To configure the input, see [Configure port properties](https://www.servicenow.com/docs/ED3jBpqtlHH8p~yFFmyRBQ "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").
7. To configure the output, see [Configure output port properties](https://www.servicenow.com/docs/NbyLW6ZcIN~hUIcE1Gs2mg "Configure the ways the output ports or fields of components or methods return output in the RPA Desktop Design Studio.").
8. **Optional:** Connect the ports as described in the following table.  
   {#use-actionsui-ocr-text__table_ktj_dzw_jrb__entry__5}

   | Port Type | Port name | Data type | Purpose | Notes |
   |-|-|-|-|-|
   | Data In | Image/File Path | Bitmap/String | Takes the image or the path to the image. | The input depends on the option selected from the Image Sourceoption in the Properties. * Port: The data type is Bitmap. * File Path: The data type is String. {#use-actionsui-ocr-text__ul_cgf_2lr_c5b} |
   | Data Out | Text | String | Returns the extracted text from the image. |   |
   | Data Out | Confidence | Single | Returns the extracted text accuracy figure. |   |
   [ ]

   {#use-actionsui-ocr-text__table_ktj_dzw_jrb}
9. To test the component, right-click the component bar and then click Run From Here.

## Extract text from images and display with the Show component {#use-actionsui-ocr-text__example_vqw_klr_c5b}

The OCR Text component takes a path to an image. The image comprises the text
"servicenow". The component extracts the text from the image and passes the string
to the Show component (To use the Show component, see [Use the Show component](https://www.servicenow.com/docs/zrB7t_~6aD_jtf1Hg87M1g "Display custom messages as part of a Attended Robot automation by using the Show component in the RPA Desktop Design Studio")). The Show component takes the text
through the Message Data In port and then displays the text in a window.

*[\>]: and then


