Compare multiple pdf with ocr

I need to compare multiple pdf templates with one pdf using ocr if someone could give me an idea i would appreciate

Hi
Welcome to uipath community
Did we try with READ PDF with OCR activity
Cheers @Ricardo_Franco

Hi
Thank you

Cheers @Ricardo_Franco

Hi , welcome to uipath community forum
Use read pdf with ocr activity
You can use microsoft / tesseract ocr engine
The out put will be string variable
Ex:Str1
If you are comparing above pdf with some other PDF s from a folder then
Now use for each loop
For each of Directory.getfiles(folderpath,"*.pdf")
This will get all pdf files from that folder
Now inside the for each loop body
Use another read pdf with ocr activity
Give inout file path name as ‘Item’
The output will be string ex: STR2

Now use if condition
If
Str1 = STR2
Then

Else

1 Like