OCR on PDF

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
nskd
Newbie
Posts: 9
Joined: Wed May 29, 2019 2:02 pm

OCR on PDF

Post by nskd » Tue Jun 04, 2019 9:47 am

Have been developing a OCR function on a PDF document. Things are running perfect on PC#1. But when the script is ran on PC#2, the OCR will go haywire as it is not detecting the desired X,Y coordinates. I believed PC#1 and #2 screen size being different and is causing OCR not to performing as what I had programmed.

Is there any way to perform some kind of standardization, so whenever this script is deploy on PC with different screen size, the OCR will always work?

User avatar
Grovkillen
Automation Wizard
Posts: 345
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden
Contact:

Re: OCR on PDF

Post by Grovkillen » Wed Jun 05, 2019 6:03 pm

Make sure you are taking DPI into consideration.
Let>ME=%Script%

Running: MS14.5.4

nskd
Newbie
Posts: 9
Joined: Wed May 29, 2019 2:02 pm

Re: OCR on PDF

Post by nskd » Fri Jun 07, 2019 2:36 am

Hi Grovkillen,

That’s for replying. I am not very sure the DPI thing that you mention. Are you able to elaborate on more on that or maybe direct me to any online references.

Thanks again.

User avatar
Grovkillen
Automation Wizard
Posts: 345
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden
Contact:

Re: OCR on PDF

Post by Grovkillen » Fri Jun 07, 2019 4:55 am

If you look for the screen DPI (it's been mentioned in other threads) you see that these can differ and it'll make the OCR miss it's target.
Let>ME=%Script%

Running: MS14.5.4

nskd
Newbie
Posts: 9
Joined: Wed May 29, 2019 2:02 pm

Re: OCR on PDF

Post by nskd » Mon Jun 10, 2019 12:54 pm

Looks like this is a limitation for all OCR programs, am I right?

User avatar
Grovkillen
Automation Wizard
Posts: 345
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden
Contact:

Re: OCR on PDF

Post by Grovkillen » Mon Jun 10, 2019 12:57 pm

Yes that would probably be true.
Let>ME=%Script%

Running: MS14.5.4

nskd
Newbie
Posts: 9
Joined: Wed May 29, 2019 2:02 pm

Re: OCR on PDF

Post by nskd » Tue Jun 11, 2019 1:38 am

thanks for your reply. Appreciate it.

Post Reply