OCR Working in Version 7.0+

PDF-XChange Editor SDK for Developers

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

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: 158
Joined: Mon Aug 04, 2014 7:34 pm

OCR Working in Version 7.0+

Post 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?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post 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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
DolphinMann
User
Posts: 158
Joined: Mon Aug 04, 2014 7:34 pm

Re: OCR Working in Version 7.0+

Post 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.
DolphinMann
User
Posts: 158
Joined: Mon Aug 04, 2014 7:34 pm

Re: OCR Working in Version 7.0+

Post by DolphinMann »

Correction:

Same exact code....

7.0324.22579 works

7.0.327.1 does not work
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post by Sasha - Tracker Dev Team »

Hello DolphinMann,

Forwarded this to the appropriate developer for further investigation.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post 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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
DolphinMann
User
Posts: 158
Joined: Mon Aug 04, 2014 7:34 pm

Re: OCR Working in Version 7.0+

Post by DolphinMann »

Great news and thank you! Looking forward to any possible speed improvements as well!
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: OCR Working in Version 7.0+

Post 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 91 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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply