Page 1 of 1

OCR Working in Version 7.0+

Posted: Mon Nov 12, 2018 6:03 pm
by DolphinMann
I have an open support ticket with the PDF X-Change team, but I wanted to check with others here on the forums as well.

Ever since I upgraded to 7.0+ the OCR completely stopped working. Nothing in my code has changed. Does anyone else have this issue?

If someone does have OCR working in the Editor SDK using version 7.0+ would they mind sharing a code snippet with me to see if it is something I am doing incorrectly?

Re: OCR Working in Version 7.0+

Posted: Tue Nov 13, 2018 7:01 am
by Sasha - Tracker Dev Team
Hello DolphinMann,

You mean the OCR operation does not work at all with any files and any settings?

Cheers,
Alex

Re: OCR Working in Version 7.0+

Posted: Tue Nov 13, 2018 5:56 pm
by DolphinMann
Correct, this is what I have an open support case on. Just wanted to know if others have success if they have code I could try.

Re: OCR Working in Version 7.0+

Posted: Tue Nov 13, 2018 7:55 pm
by DolphinMann
Correction:

Same exact code....

7.0324.22579 works

7.0.327.1 does not work

Re: OCR Working in Version 7.0+

Posted: Thu Nov 15, 2018 8:15 am
by Sasha - Tracker Dev Team
Hello DolphinMann,

Forwarded this to the appropriate developer for further investigation.

Cheers,
Alex

Re: OCR Working in Version 7.0+

Posted: Sat Nov 17, 2018 10:33 am
by Sasha - Tracker Dev Team
Hello DolphinMann,

We've investigated the issue and found out the problem behind the crash. The thing is that in that build the Sync OCR process (if you execute Operation.Do()) was working page by page. Later, that process was changed to parallel OCRing of pages, and this caused the deadlock in the Sync call, while the Async call remained working correctly and faster then before. We will try to fix this for correct work in both cases asap.

Cheers,
Alex

Re: OCR Working in Version 7.0+

Posted: Wed Nov 21, 2018 2:48 am
by DolphinMann
Great news and thank you! Looking forward to any possible speed improvements as well!

Re: OCR Working in Version 7.0+

Posted: Wed Nov 21, 2018 8:52 am
by Sasha - Tracker Dev Team
Hello DolphinMann,

From what I have been told, this was fixed in this build:
FixedOCR.zip
(44.92 MiB) Downloaded 45 times
Though note, that this is the dev. build and the OCR itself is currently being redeveloped thus it can be unstable and should not be used in production.

Cheers,
Alex