When I was trying to fine tune a few character for chi_sim, by typing in:

src/training/tesstrain.sh --fonts_dir /usr/share/fonts --lang chi_sim 
--linedata_only \

  --noextract_font_properties --langdata_dir ../langdata \

  --tessdata_dir ./tessdata --output_dir ~/tesstutorial/train

I'm getting an error:

Could not find font named 'AR PL UKai CN'.
Pango suggested font 'Arial'.

I checked what fonts I have using:
text2image --find_fonts --text ./langdata/chi_sim/chi_sim.training_text 
--outputbase ./langdata/chi_sim/  --min_coverage 0.999  
--fonts_dir=/usr/share/fonts/    

indeed didn't see AR PL UKai CN.   

Now my question is,
How do I install necessary fonts for chi_sim?

I couldn't find a way to do it from here:
https://github.com/tesseract-ocr/tesseract/wiki/Fonts

Thanks for your help!

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/5943b02f-03a4-4845-94fc-06b224ea128d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to