I'm trying to train tesseract with Serak Tesseract Trainer:https://code.google.com/p/serak-tesseract-trainer/ and I can't figure out why the following error in the CMD is happening while executing Train Tesseract. Any help?
Reading a.tr ...
Font id = -1/0, class id = 1/46 on sample 0
font_id >= 0 && font_id < font_id_map_.SparseSize():Error:Assert failed:in file
..\classify\trainingsampleset.cpp, line 622
Before writing your font data put '\n' char beginig of the file(just hit enter). Worked for me.