bah.tesseract returns [nothing ? ]
BlitzMax Forums/Brucey's Modules/bah.tesseract returns [nothing ? ]
| ||
Hello, I tested the tesseract module today, but the only text returned by both of the examples is something like. const unsigned short expTable[] = { 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, [...] } Is this really supposed to be returned (?!) Am I doing something wrong? (I'm using Windows XP 64 bit with BMax 1.38) Cheers, Daniel |
| ||
Example1 returns this for me: This is a lot of 12 point text to test the ocr code and see if it works on all types of file format. The quick brown dog jumped over the lazy fox. The quick brown dog jumped over the lazy fox. The quick brown dog jumped over the lazy fox. The quick brown dog jumped over the lazy fox. ...Like it should. Are you running the examples straight from the original example folder, or did you just copy/paste the text in a new file to run? There are some dependencies to the external dictionary files and such... |
| ||
Yes, I'm running them straight in the orginal example folder, strange... |
| ||
Have you tried rebuilding the module? bmk makemods -a bah.tesseract bmk makemods -a -h bah.tesseract |
| ||
Okay, now it works correctly! Thanks! :-) |