How to automatically generate .box files when using tesstrain.sh?

46 views
Skip to first unread message

Sraw Sraw

unread,
May 9, 2017, 5:15:06 AM5/9/17
to tesseract-ocr
When using tesstrain.sh, it will automatically generate .tif image files but not .box files. What's the use of it? So I  still need to manually generate .box file for every .tif?


Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.Century_Schoolbook_L_Medium.exp0.tif
Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.URW_Bookman_L_Bold.exp0.tif
Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.URW_Bookman_L_Italic.exp0.tif
Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.URW_Bookman_L_Bold_Italic.exp0.tif
Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.Century_Schoolbook_L_Bold.exp0.tif
Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.DejaVu_Sans_Ultra-Light.exp0.tif
Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.Century_Schoolbook_L_Italic.exp0.tif
Rendered page 0 to file /tmp/tmp.Vu25eURnxk/eng/eng.Century_Schoolbook_L_Bold_Italic.exp0.tif
ERROR
: /tmp/tmp.Vu25eURnxk/eng/eng.Arial_Bold.exp0.box does not exist or is not readable

The error output is showing above, and I have checked that .tif files exactly exist.

ShreeDevi Kumar

unread,
May 9, 2017, 7:13:49 AM5/9/17
to tesser...@googlegroups.com
Box files are generated after the tif. The script works on 8 fonts at a time.

ls -l /tmp/tmp.Vu25eURnxk/eng/*.*

will show you all generated files.




ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/6a9e2525-c534-45ae-8a1f-e62009642447%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages