Hi,
I am trying to include a custom word directory with a custom configuration
file and the user_words_suffix property.
My code looks like this:
TessBaseAPI tess;
char *configs[]={"myconfig"};
int configs_size = 1;
tess.Init(NULL, "deu", OEM_DEFAULT, configs, configs_size, NULL, NULL,
false );
My config file looks like this:
user_words_suffix user-words
The Problem is that my program exits with code 1 after the init call.
I tried both a simple deu.user-words file with one word in every line and
also converted the file into a dawg file. Nothing worked.
If I remove the user_words_suffix line in the config file everything works.
I am using Tesseract 3.02, Windows 8 and Visual Studio 2012.
I would really appreciate some help.
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en