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.
As a result, however, I get the following error message:
Failed loading language 'eng'
Tesseract couldn't load any languages!
Error opening data file ././eng_pxvocr.dat
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Can you tell me what I'm doing wrong.
Thanks
AteBe
You do not have the required permissions to view the files attached to this post.
For starters, if you want to use plugins, make sure that you have created the IPXV_Inst first, initialize it, load plugins and then create the control.
Also, check out this topic : viewtopic.php?p=97913#p97913
I already read the link you sent me and created my code according to this example.
I also call the functions in the order you describe
Loading the plugin has indeed worked (see picture above).
Nevertheless, the corresponding menu item is not displayed (see picture above).
When I try to call the OCR dialog via a button with my code (see my code above), I get the described Error message.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Error opening data file ././eng_pxvocr.dat
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
the OCR recognition is now working, but only in the background.
The OCR dialog, in which one e.g. can select the language is not displayed.
How can I call the OCR dialog and the progress bar with my Code ?
There was a small fix done in the FinishLoadingPlugins method - from the next release the OCR commands will be added into the needed places when this method is called.
The next release should be available in a few days.