Issue 1505 in tesseract-ocr: ShapeClustering Assert Failed

22 views
Skip to first unread message

tesser...@googlecode.com

unread,
Aug 16, 2015, 7:15:09 PM8/16/15
to tesserac...@googlegroups.com
Status: New
Owner: ----

New issue 1505 by tra...@brunimail.com: ShapeClustering Assert Failed
https://code.google.com/p/tesseract-ocr/issues/detail?id=1505

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.unicharset
C:\Users\tbruni\Downloads\jTessBoxEditor-1.4\jTessBoxEditor\samples\eva\eva.arial.exp0.box.tr

Any help would be greatly appreciated! Thank you

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

tesser...@googlecode.com

unread,
Aug 18, 2015, 1:01:24 PM8/18/15
to tesserac...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 1505 by zde...@gmail.com: ShapeClustering Assert Failed
https://code.google.com/p/tesseract-ocr/issues/detail?id=1505

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

tesser...@googlecode.com

unread,
Aug 18, 2015, 1:35:16 PM8/18/15
to tesserac...@googlegroups.com

Comment #2 on issue 1505 by tra...@brunimail.com: ShapeClustering Assert
Failed
https://code.google.com/p/tesseract-ocr/issues/detail?id=1505

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?
Reply all
Reply to author
Forward
0 new messages