Tess 3.02 English training set broken?

2012-02-05 Thread patrickq
I am running the latest Tess 3.02 with the new English training set and get the following crash at init with lang: actual_tessdata_num_entries_ = TESSDATA_NUM_ENTRIES:Error:Assert failed:in file tessdatamanager.cpp, line 48 Has anyone seen this? Note: I am not using the cube version, just eng

Re: Tess 3.02 English training set broken?

2012-02-05 Thread Zdenko Podobný
Can you please provide more details (OS, compiler, how to run/use tesseract)? Zdenko Dn(a 05.02.2012 15:38, patrickq wrote / napísal(a): I am running the latest Tess 3.02 with the new English training set and get the following crash at init with lang: actual_tessdata_num_entries_=

Re: Tess 3.02 English training set broken?

2012-02-05 Thread Patrick Questembert
This is running on iOS, within an app which has been running perfectly with Tesseract 2.04, 3.00 and 3.01 using the same init with lang API with eng.traineddata It's clearly not an issue of not being able to locate the file, the assert appears to state that the training set is inconsistent in

Re: Tess 3.02 English training set broken?

2012-02-05 Thread zdenko podobny
Just quick tests: I am able to run 'tesseract eurotext.tif eurotext' (it use eng.traineddata) and I got result on linux without any problem... Can you verify downloaded file? In attachment you can find my md5 checksum... tesseract 3.02 works also with 3.01 data file (as I tested it on linux), so

Re: Tess 3.02 English training set broken?

2012-02-05 Thread Sriranga(78yrsold)
My tests shows that it is not possible to use newer language data files -prepared in new version tesseract - in older version tesseract as clearly clarified by the Zdenko. However traineddata prepared in the older version will work in new version tesseract - according to my test.

Re: Tess 3.02 English training set broken?

2012-02-05 Thread zdenko podobny
yes new eng.traineddata has length 21,876,572. I created test file (in attachment) and calling API with: myTess-Init(NULL, eng, tesseract::OEM_DEFAULT, NULL, 0, false); it throw error: test_302.cpp:22:69: error: no matching function for call to ‘tesseract::TessBaseAPI::Init(NULL, const char [4],

Re: Tess 3.02 English training set broken?

2012-02-05 Thread Sriranga(78yrs)
Yes. I also got result in WinXP without any problem - vide attached output file. I used commandline as follows: I:\tesseract-ocr-665tesseract eurotext.tif eurotext -l eng Tesseract Open Source OCR Engine v3.02 with Leptonica Page 0 I:\tesseract-ocr-665 Cheers, -sriranga(79yrs) On Sun, Feb 5, 2012