Skip to content
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

Word.Confidence and Word.Text not loaded up #8

Open
andboc opened this issue May 31, 2012 · 3 comments
Open

Word.Confidence and Word.Text not loaded up #8

andboc opened this issue May 31, 2012 · 3 comments

Comments

@andboc
Copy link

andboc commented May 31, 2012

Hi, first of all thank you for efforts on making this wrapper work on VS2010. It will be great if you implement a monitor in order to have Word.Confidence and Word.Text loaded after an AnalyzeLayout run.
Thank you

@andboc
Copy link
Author

andboc commented May 31, 2012

Ops, just found a possible solution on this, but haven't understood well how to implement that in your code. Please have a look to thread at http://code.google.com/p/tesseractdotnet/issues/detail?id=19#c1

@charlesw
Copy link
Owner

charlesw commented Jun 2, 2012

Yes this is a known issue that I've come across before, it's a bit misleading to have word text and confidence on the results of AnalyzeLayout given they aren't ever initialized due. I generally used AnalyzeLayout as part of a pre-processing stage such as working out OCR regions etc. I'm currently experimenting with of reworking the API to make this stuff easier and more evident in how you use it while also looking at 64bit support and supporting 3.02 (Issues #6 and #4 respectively).

@andboc
Copy link
Author

andboc commented Jun 4, 2012

Ok, you are right, not a good idea to have them loaded up by AnalyzeLayout. I saw there's a ResultIterator class ready made in the sources which can be used during Recognize phase, I'm experimenting on how to call it during recognition, but for now no luck on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants