-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is ChoiceIterator implemented in the wrapper? #129
Comments
From memory this functionality wasn't exposed through the CAPI in version
|
Awesome, thanks! |
I've checked out the source in 3.04 (master branch) and this functionality On 4 Nov 2014 01:46, "ArtGardner" notifications@github.com wrote:
|
Fair enough, thanks again. For my own understanding, what was I looking at via the above link? At the top of the page, I see "This wiki provide simple example how to use tesseract-ocr API (v3.02.02) in C++". Are there multiple CAPI's for tesseract? |
No there's only one CAPI, however there is also a C++ API which is what the |
That clears it up. Thanks again! |
FYI, this functionality has since been added to the capi. So should be able to add support for this ince Tesseract 3.04 is released. |
Hello. I'd like to ask about any news on ChoiceIterator. |
Sorry still waiting on official 3.04 release of Tesseract. |
@charlesw I need it right now so I compiled Tesseract 3.04 from source. I want to try wrapping ChoiceIterator myself so could you please give me some hints? Do I need to wrap it manually or do you use a generator? |
Hi Dimitar, you best bet would be to mirror the current result iterator
Feel free to submit a pull request with your changes :) @charlesw https://github.com/charlesw I need it right now so I compiled — |
Hi, I needed this also, so I compiled the latest tesseract 3.04 to use to add the wrapper. I created a fork and branch here: https://github.com/jhuntsman/tesseract/tree/feature_3.04/choice-iterator, you are welcome to it if it helps. |
Great, would you be able to create a pull request so I can merge your changes? |
@charlesw Absolutely I will do that. I cleaned things up and also used your Dev_3.0.3 branch as my base so as not to conflict since it does depend on 3.03+. Pull request is forthcoming |
Merged fix, thanks |
This is about ChoiceIterator, as in this reference:
https://code.google.com/p/tesseract-ocr/wiki/APIExample#Example_of_iterator_over_the_classifier_choices_for_a_single_sym
I can find no mention of it in the wrapper source, nor in these discussions. Is someone working on it?
Actually, it's not clear that this class is in libtesseract302.dll either, just based on scanning the symbols with depends22.
The text was updated successfully, but these errors were encountered: