Hi
I run:
/usr/local/bin/tesseract tesseract-ocr/eurotext.tif
tesseract-ocr/eurotext tesseract-ocr/tessdata/tessconfigs/batch.nochop
tesseract-ocr/tessdata/configs/makebox
and it created eurotext.box to tesseract-ocr/ (to the same directory
where image is located).
If you have problem to find on linux which (or where) file is opened by
program you can use tool 'strace'. E.g.
strace ./tesseract ~/fontname/eng.FONTNAME.exp0.tif ~/fontname/
eng.FONTNAME.exp0 ../tessdata/tessconfigs/batch.nochop ../tessdata/
configs/makebox 2>&1 | grep open
Zdenko
Dn(a 13.06.2011 07:07, Mike Reed wrote / napísal(a):
Ok, I managed to get past this error. It looks like I had a couple
things wrong. I didn't have libtiff in place, and my tiff wasn't
actually uncompressed, in spite of what my scanner software tells me.
I got the command line to run, but I can't find the .box file
anywhere. Where do they go?
Thanks,
Mike
On Jun 11, 2:21 pm, Mike Reed<[email protected]> wrote:
I am running on Ubuntu 11.04 and am getting an error when I try to
make a box file for a new font:
actual_tessdata_num_entries<= TESSDATA_NUM_ENTRIES:Error:Assert
failed: in file tessdatamanager.cpp, line 55
This is the same error when I give it garbage for the .tif file name.
Here's my command line:
./tesseract ~/fontname/eng.FONTNAME.exp0.tif ~/fontname/
eng.FONTNAME.exp0 ../tessdata/tessconfigs/batch.nochop ../tessdata/
configs/makebox
This is run from the tesseract-3.00/api directory.
I have successfully run make and make install on liblept and
tesseract. The .tif file is uncompressed, and the .exp0 file is UTF-8.
Any help to make a box file is greatly appreciated. I'm wondering if
there's a make install problem somehow that is causing me to have to
path out tesseract, nochop, and makebox -- and if that might be
causing other problems.
-Mike
--
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