How to use OCR
In this section, we are going to see how we can use OCR. Suppose we have an image and we have to extract the text in it. In such a scenario, OCR becomes very handy.
In the following example, we are going to use a random Google image with some text in it, as follows:

To extract text from the previous image, perform the following steps:
- Open UiPath Studio and click on a
Blank
project. Give it a meaningful name. On the Designer panel, drag and drop aFlowchart
activity. - Next, drag and drop a
Get OCR Text
activity from theActivities
panel and set it as the start node. Double-click on it and click on theIndicate on screen
option. Choose the specific area from which you want to extract the text from the image. In our case, we are using an image that we have searched for on Google.
- Now, click on the
Text
property of theGet OCR Text
activity. A window will pop up as shown in the following screenshot. Right-click inside the window and chooseCreate Variable
. Give it a meaningful name...