READ PDF TEXT SHOWING GIBBERISH RESULT

HI Team,

As I am trying to read the pdf file (text format), I am getting really weird result.

Please find the attachments:-

Please help me with the same.

Thanks and Regards,
@hacky

1 Like

Use Write Text File activity and then check the output in text file

Thanks
@hacky

@hasib08

I check using Message Box, Log Messages, Write line, and also Write text file.

In All the cases it shows the same junk text.

Kindly suggest some option.

Thanks and Regards,
@hacky

@Palaniyappan, @KarthikByggari, @supermanPunch

Please help me with this.

2 Likes

@hacky Looks like the PDF is a Digital One, and it should have extracted the Information. Can you try using PreserveFormatting Property Set to True and Check the Output?

@supermanPunch

Thanks for your response mate!

I tried it before, but unfortunately it is showing the same results.

Regard,
@hacky

It is difficult to analyse the issue without having pdf document.
Is it possible to share a pdf doc to have a better look and see it what is happening.

Regards,
Karthik Byggari

@KarthikByggari

Please find the PDF doc in your inbox.

@lakshman

Can you please help?

@hacky

If possible could you please share that file with me personally. So that I can check and help you.

@lakshman

Please check your inbox

@hacky

Ok received. Will check and update you.

@hacky

Yes I tried with Read PDF Text activity and it’s giving Gibberish result.

Use Read PDF with OCR activity and inside that use Tesseract OCR and then try once. I checked and its working fine.

@lakshman

As per my understanding, OCRs wouldnt give 100% smoothe results.

Do you think its the recommended approach?

Also, do we have some other options to try?

@hacky
What exactly u want from pdf

@sudhasagar

For now, I want the text from this PDF. I am getting the gibberish text as shown in the question.

can u share ur pdf, so that i can try

@lakshman

As I mentioned before, I am getting unwanted differences using the Read Using OCR Tesseract.

Please have a look at it. Can you please re-check the values and get back to me/?

I can Share u text file??

@sudhasagar

reply to my dm.