Init() returning -1

4 views
Skip to first unread message

MB

unread,
Aug 28, 2010, 4:54:43 PM8/28/10
to tesseract-ocr
When using the following code:

tesseract::TessBaseAPI tess;
int result = tesseract.Init(argv[0], lang);

Init will return -1, indication that something went wrong. I know the
tessdata is in the right location (if I move it I get an actual error
message), but I can't seem to figure out why Init() is not working
now. How can I get more info about what is going wrong?
Reply all
Reply to author
Forward
0 new messages