How to OCR various images?

I’m trying to make an OCR from images saved in a folder, is there a way to make it? Need to find certain texts (saved on a table) inside different PDF or images…
Thanks!

Hi @adolfo_riosSLu, do the images you use have the same format?
The OCR will need to look for a specific anchor image to work.

oh no, I was wondering if I can find some texts inside any image or pdf… actually I receive any kind of image or pdf and I need to validate some texts inside the images or pdf

In this case you will need to ocr the whole document.

You cannot do it using the Recorder, but you can do it through coding. It is possible to open the files in the browser and read using OCR plugin in a bot task. You can find documentation on OCR plugin in the Help section in WorkFusion Studio menu.
Then you will just need to check if the OCr result text contains the text you are looking for.

Could you provide the code for reading the text from an image saved in a local folder

@hemaswapnika_e do you mean the code with OCR plugin to process the whole file?

yes… I am unable to read the image(saved in local folder) using ocr plugin

@hemaswapnika_e you can find a sample script in this post.

Keep in mind that there is currently a bug in OCR plugin in WorkFusion studio, but it should work in Control Tower

Hi ashapkina,
I am able to run the sample script from the http url. I am unable to read the image text data which is saved in local folder. I need code for that.

Getting an expection:
‘Error reading the file: local file path’

Hi,
Could you provide the code for reading the image text data which is saved in local folder.

Right… You cannot use path to the local file in the OCR plugin as it needs to have http protocol.
But you can store the files in the Minio folder on your pc, for example, in the Public bucket C:\RPAExpress\minio\data\public and access it though http. The path to the file will be http://localhost:15110/public/{filename} (for server+workstation type of installation)

On following this, I am getting an error message like
IO error during HTTP execution for URL: http://localhost:15110/public/approvers.png

Hi ashapkina,
I am getting an error message like
IO error during HTTP execution for URL: http://localhost:15110/public/approvers.png

How to read an image/pdf from S3 browser ?

Hi ashapkina,
I am getting an error message like
IO error during HTTP execution for URL: http://localhost:15110/public/{filename}.

I have placed the .png file in the public bucket C:\RPAExpress\minio\data\public
Also tried creating a new bucket and placed the .png file there.
But still getting the same error. Can you help on this.