Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shapeclustering and mftraining #11

Open
rodcaverly opened this issue Mar 19, 2014 · 1 comment
Open

Shapeclustering and mftraining #11

rodcaverly opened this issue Mar 19, 2014 · 1 comment

Comments

@rodcaverly
Copy link

I am running Tesseract 3.02 and trying to train with a new font. Having problems doing that, I downloaded and attempted to train Tesseract with the stardard TIF / BOX pairs. I did convert the .G4. versions of the TIF to uncompressed. Each subset of fonts I have attempted gets this error...

C:\Tesseract-OCR\tessdata>..\shapeclustering -F font_properties -U unicharset -O unicharset eng.arial.tr eng.arialbd.tr eng.arialbi.tr eng.ariali.tr
Reading eng.arial.tr ...
Reading eng.arialbd.tr ...
Reading eng.arialbi.tr ...
Reading eng.ariali.tr ...
Font id = -1/0, class id = 1/108 on sample 0
font_id >= 0 && font_id < font_id_map_.SparseSize():Error:Assert failed:in file ....\classify\trainingsampleset.cpp, line 622

Any assistance please.

@nagexiucai
Copy link

How is it going now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants