I've been having trouble getting DllTest.exe itself to product
anything useful.  In all cases I get a single (~) as output.

However, Tesseract.exe works just fine.  Also, I know the data is good
because I was passing in the exact same images to 2.04 with no issues
whatsoever.

Things I've tried:
1) Calling SetVariable("unlv_tilde_crunching", "false") before Init

2) Calling SetVariable("unlv_tilde_crunching", "false") after Init

3) Using the Tesseract 2.04 tessdll.cpp / .h with minor changes for
compatibility.

4) Making my own API which calls only:
_api.Init(NULL, lang);
_api.SetPageSegMode(tesseract::PSM_AUTO);
_api.SetAccuracyVSpeed( tesseract::AccuracyVSpeed::AVS_MOST_ACCURATE );
_api.SetImage(buf, xsize, ysize, bpp/8, (xsize*(bpp + 7))/8);
_api.Recognize(global_monitor);

5) Making my own API which calls only:
_api.Init(NULL, lang);
_api.SetPageSegMode(tesseract::PSM_AUTO);
_api.SetAccuracyVSpeed( tesseract::AccuracyVSpeed::AVS_MOST_ACCURATE );
_api.SetImage(buf, xsize, ysize, 0, xsize/8); //1bpp only
_api.Recognize(global_monitor);

Any ideas?  I'd just dump the contents of Tesseract.exe into my own
API but it doesn't provide any bounding boxes.  The next step after
that is to pull apart the API all the way down, something I'd rather
not have to do or maintain.

Thank you,
-Richard Minerich

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tesseract-ocr?hl=en.

Reply via email to