Error training on new font

94 views
Skip to first unread message

Allan Gongora

unread,
Jun 12, 2022, 10:58:09 PM6/12/22
to tesseract-ocr
I am following this tutorial but when running this command (step 5):
```
mftraining -F font_properties -U unicharset -O eng.unicharset eng.dharma-gothic-e.exp0.tr
```
I get this error:
```
Warning: No shape table file present: shapetable
Reading eng.dharma-gothic-e.exp0.tr ...
Font id = -1/0, class id = 1/64 on sample 0
font_id >= 0 && font_id < font_id_map_.SparseSize():Error:Assert failed:in file ..\..\classify\trainingsampleset.cpp, line 622
```

I will attach a folder which contains all the files tesseract made
training.7z

Zdenko Podobny

unread,
Jun 13, 2022, 12:55:19 AM6/13/22
to tesser...@googlegroups.com
Please report your problems to the author of the tutorial you follow.

Official training procedure is at https://github.com/tesseract-ocr/tesstrain

Zdenko


po 13. 6. 2022 o 4:58 Allan Gongora <agongo...@gmail.com> napísal(a):
--
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 tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/0ed49389-c019-4069-9bb2-8497ca7ea0ffn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages