OCR Working in Version 7.0+

PDF-XChange Editor SDK for Developers

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
DolphinMann
User
Posts: 157
Joined: Mon Aug 04, 2014 7:34 pm

OCR Working in Version 7.0+

Post by DolphinMann » Mon Nov 12, 2018 6:03 pm

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?

User avatar
Sasha - Tracker Dev Team
User
Posts: 4088
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post by Sasha - Tracker Dev Team » Tue Nov 13, 2018 7:01 am

Hello DolphinMann,

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

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

DolphinMann
User
Posts: 157
Joined: Mon Aug 04, 2014 7:34 pm

Re: OCR Working in Version 7.0+

Post by DolphinMann » Tue Nov 13, 2018 5:56 pm

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.

DolphinMann
User
Posts: 157
Joined: Mon Aug 04, 2014 7:34 pm

Re: OCR Working in Version 7.0+

Post by DolphinMann » Tue Nov 13, 2018 7:55 pm

Correction:

Same exact code....

7.0324.22579 works

7.0.327.1 does not work

User avatar
Sasha - Tracker Dev Team
User
Posts: 4088
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post by Sasha - Tracker Dev Team » Thu Nov 15, 2018 8:15 am

Hello DolphinMann,

Forwarded this to the appropriate developer for further investigation.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

User avatar
Sasha - Tracker Dev Team
User
Posts: 4088
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post by Sasha - Tracker Dev Team » Sat Nov 17, 2018 10:33 am

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

DolphinMann
User
Posts: 157
Joined: Mon Aug 04, 2014 7:34 pm

Re: OCR Working in Version 7.0+

Post by DolphinMann » Wed Nov 21, 2018 2:48 am

Great news and thank you! Looking forward to any possible speed improvements as well!

User avatar
Sasha - Tracker Dev Team
User
Posts: 4088
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post by Sasha - Tracker Dev Team » Wed Nov 21, 2018 8:52 am

Hello DolphinMann,

From what I have been told, this was fixed in this build:
FixedOCR.zip
(44.92 MiB) Downloaded 27 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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply