I'm able to compile the text2image training tool, however, I can't seem to get it to work. I've confirmed that the viewer works with the included tesseract tests. I've included the output below. Any help is much appreciated!
$ training/text2image --text=data/training_text.txt --outputbase=eng.TimesNewRoman.exp0 --font='Times New Roman' --fonts_dir=/Library/Fonts\ Disabled
Starting sh -c "trap 'kill %1' 0 1 2 ; java -Xms1024m -Xmx2048m -Djava.library.path=/Users/mikkyang/Documents/Development/Eyes/tess/tesseract-3.03/java -cp /Users/mikkyang/Documents/Development/Eyes/tess/tesseract-3.03/java/ScrollView.jar:/Users/mikkyang/Documents/Development/Eyes/tess/tesseract-3.03/java/piccolo2d-core-3.0.jar:/Users/mikkyang/Documents/Development/Eyes/tess/tesseract-3.03/java/piccolo2d-extras-3.0.jar com.google.scrollview.ScrollView & wait"
Socket started on port 8461
ScrollView: Waiting for server...
ScrollView: Waiting for server...
ScrollView: Waiting for server...
--
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 post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/07ebba5c-53aa-497b-a76b-567bb308945a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
brew install icu4c
brew link icu4c --force
brew install leptonica -v 1.70 --with-libtiff --with-jpeg --with-libpng
tar -xzvf tesseract-3.03-rc1.tar.gz
cd tesseract-3.03
./configure
make
make training
$ training/text2image --list_available_fonts
Error resolving name for ScrollView host --list_available_fonts:8461
Segmentation fault: 11
$ training/text2image localhost --list_available_fonts
Starting sh -c "trap 'kill %1' 0 1 2 ; java -Xms1024m -Xmx2048m -Djava.library.path=. -cp ./ScrollView.jar:./piccolo2d-core-3.0.jar:./piccolo2d-extras-3.0.jar com.google.scrollview.ScrollView & wait"
ScrollView: Waiting for server...
Error: Could not find or load main class com.google.scrollview.ScrollView
sh: line 0: kill: %1: no such job
ScrollView: Waiting for server...
ScrollView: Waiting for server...
ScrollView: Waiting for server...
ScrollView: Waiting for server...
ScrollView: Waiting for server...
^C