Currently I am trying to make sense of tesseract training and finially 
after days of diging finially managed to gain access to tesstrain.sh and 
lstmtraining commands in my cygwin. I was so happy because wiki is no help 
in setting up training for tesseract, but as soon as i wanted to start 
doing the minimal with training to have at least a working demo but the 
sample code from wiki 
<https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#creating-training-data>
 gave 
me the following error. PLS send help





kh@DSAD-6 /usr/share/tessdata/training
$ tesstrain.sh --fonts_dir /usr/share/fonts/microsoft --lang eng 
--linedata_only --noextract_font_properties --langdata_dir ~/langdata 
--tessdata_dir ../tessdata --output_dir ~/tesstutorial/engtrain

=== Starting training for language 'eng'
/usr/bin/language-specific.sh: line 1175: FONTS: unbound variable
Environment
   
   - Tesseract Version: 4.0.0
   - Platform: Win10 64 (cygwin)

Current Behavior: Confusing af (pls fix wiki, as soon as i can make my demo 
work i will have to document it so im gonna send it so you guys will be 
able to have a wiki)Expected Behavior: run as intended, copied from wiki

-- 
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-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
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/0e764ff2-35e9-4147-94b6-c428e8b01c04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to