I think there are two possibilities to correct this error. 1) Please check that you are using correct command. for example : - if your tif file name is "eng.digits.exp0.tif" and you want to make box file from it then use following command
*$ tesseract eng.digits.exp0.tif eng.digits.exp0 batch.nochop makebox* you should get one box file whose name would be "*eng.digits.exp0.box*". 2) tesseract would not be able to find correct path as cygwin throwed warning. Please use cygpath utility for paths correction. On Sunday, January 20, 2013 8:13:43 PM UTC+5:30, Firas almannaa wrote: > > Hello, > I'm trying to make a .traineddata file for tesseract to recognize only > digits with multiple fonts. > first I write the text and made the .tif image, then when I try to make > .box file from the .tif image with the *command* : > > tesseract [lang].[fontname].exp[num].tif [lang].[fontname].exp[num] > batch.nochop makebox > > *I get this error* : > > cygwin warning: > > MS-DOS style path detected: C:\Program Files > (x86)\Tesseract-OCR\tessdata/configs/batch.nochop > Preferred POSIX equivalent is: /cygdrive/c/Program Files > (x86)/Tesseract-OCR/tessdata/configs/batch.nochop > CYGWIN environment variable option "nodosfilewarning" turns off this > warning. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in > file tessdatamanager.cpp, line 55 > Segmentation fault (core dumped) > > *and if i tried again I get *: > actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert > failed:in file tessdatamanager.cpp, line 55 > Segmentation fault (core dumped) > I'm using win8 and cygwin cmd to do the work. > > > -- 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

