Hello! I have a problem with the classify_save_adapted_templates option within SetVariable. I set this to "1" but when running tesseract I get the following error:
Saving adapted templates to .a ...Class->NumConfigs == this->fontset_table_.get( Class->font_set_id).size:Error:Assert failed:in file ..\..\classify\intproto.cpp , line 1199 This is on a windows 7 machine, Python Tesseract wrapper (https://code.google.com/p/python-tesseract/), using english only. When I try the same again from Ubuntu 14.04 I get: Saving adapted templates to .a ...Class->NumConfigs == this->fontset_table_.get( Class->font_set_id).size:Error:Assert failed:in file intproto.cpp, line 1216 Segmentation fault (core dumped) This time also using a different wrapper ( https://github.com/virtuald/python-tesseract-sip), still using english as only language. I have tried ordering the code differently but this has not made any difference. Example of Python code being used: import tesseract mImgFile = "example.jpg" mBuffer=open(mImgFile,"rb").read() api = tesseract.TessBaseAPI() api.Init(".","eng",tesseract.OEM_DEFAULT) api.SetVariable("tessedit_char_whitelist", "0123456789abcdefghijklmnopqrstuvwxyz") api.SetPageSegMode(tesseract.PSM_AUTO) api.SetVariable("classify_save_adapted_templates","1") What am I doing wrong? -- 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 http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/11525823-decb-4643-92bc-69d1915e8226%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

