ecit241 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

ShapeClustering Assert Failed #1505

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I have my files named as it says so in the wiki. My font_properties is like 
this:
arial 0 1 0 0 0
and still I get this error:
Font id = -1/0, class id = 1/34 on sample !
font_id >= 0 && font_id < font_id_map_.SparseSize():Error:Assert failed:in file 
..\..\classify\trainingsampleset.cpp, line 622

my .tr files are named like so:
eva.arial.exp0.box.tr
eva.arial.exp1.box.tr
eva.arial.exp2.box.tr

I run it in cmd:
shapeclustering -F 
C:\Users\tbruni\Downloads\jTessBoxEditor-1.4\jTessBoxEditor\samples\eva\eva.font
_properties -U 
C:\Users\tbruni\Downloads\jTessBoxEditor-1.4\jTessBoxEditor\samples\eva\eva.unic
harset 
C:\Users\tbruni\Downloads\jTessBoxEditor-1.4\jTessBoxEditor\samples\eva\eva.aria
l.exp0.box.tr

Any help would be greatly appreciated! Thank you

Original issue reported on code.google.com by tra...@brunimail.com on 16 Aug 2015 at 11:14