Same for me. Looking at the trained data files, there is no 'spa.tesseract_cube.nn' file. There is an eng.tesseract_cube.nn file and cube works fine on English. I have looked around but cannot find this file anywhere. Does anyone know where I might obtain a copy?
On Wednesday, June 22, 2016 at 8:35:45 PM UTC+1, Johnny ho wrote: > > I set the recognition mode to cube. > > I want to classify "spa". > > I use Tess4J to run tesseract. > > Here is the error message > > Cube ERROR (ConvNetCharClassifier::LoadNets): output count (121) and class > count (122) are not equal > Cube ERROR (CharClassifierFactory::Create): unable to Init() character > classifier object. > Cube ERROR (CubeRecoContext::Load): unable to load CharClassifierFactory > object from /usr/share/tesseract-ocr/tessdata/ > Cube ERROR (CubeRecoContext::Create): unable to init CubeRecoContext object > init_cube_objects(false, &tessdata_manager):Error:Assert failed:in file > tessedit.cpp, line 199 > > > Thanks. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/71d0ab01-5ee4-4d8e-84c8-0f1a69b6a411%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

