Sorry if I've missed something very basic. I've compiled Tesseract and the 
training tools, but when I try to run text2image I get as only output the 
line:

Segmentation fault: 11

I've tried different input text files, and they all give the same error. 
Same with different fonts. I'm using Mac OS X Yosemite. I'm just learning 
how this model training works and try to get it run for something, so my 
latest input file has just contained the English "Quick brown fox" example 
sentence I found from Tesseract wiki in GitHub 
<https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract>. 

This is the command I've run in tesseract-3.04.00 folder:

training/text2image --text=../training_texts/model.txt 
--outputbase=test.arial.exp0 --font='Arial Medium' 
--fonts_dir=~/Library/Fonts/


I installed Tesseract 3.04 from the release in GitHub.


https://github.com/tesseract-ocr/tesseract/releases


Here is the version information:


tesseract 3.04.00

 leptonica-1.71

  libgif 4.2.3 : libjpeg 9a : libpng 1.6.18 : libtiff 4.0.4 : zlib 1.2.8 : 
libwebp 0.4.3 : libopenjp2 2.1.0


It is difficult to find information about this segmentation fault 11 with 
Google, apparently it isn't so common. The book I want to OCR is in Komi 
language with rather specific but not very complicated orthography. I have 
lots of text in the same variant, and thought to try to develop a language 
model for the purpose.


I would appreciate any help! Can it be that I'm missing some dependency?


Best wishes,


Niko

-- 
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 http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/ded2b21a-227c-46b8-8ade-ce1d41028b81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to