baopham1340 / tesseract-ocr

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

ShapeClustering Assert Failed #1505

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 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

GoogleCodeExporter commented 9 years ago
Please read the FAQ before postings issue:
https://code.google.com/p/tesseract-ocr/wiki/FAQ#error_message:_Font_id_=_-1/0,_
class_id_=_1/105_on_sample_0

Original comment by zde...@gmail.com on 18 Aug 2015 at 5:01

GoogleCodeExporter commented 9 years ago
Thanks for your reply,
I have read that but the problem still persists. However, I copied the files 
over to a linux Virtual Machine and ran the exact same command and it worked 
fine. Perhaps there is a bug in the windows version?

Original comment by tra...@brunimail.com on 18 Aug 2015 at 5:35