Access violation Error when initialize with my own train data file

39 views
Skip to first unread message

supriya Das

unread,
Jun 3, 2015, 8:41:30 AM6/3/15
to tesser...@googlegroups.com
Hello everyone,
 
   I am facing a problem when  i am trying to initialize tesseract engine language with my own traineddata. Please help me out.

Error is as follow,

Unhandled exception at 0x5e8638f5 in Test.exe: 0xC0000005: Access violation reading location 0x00000000.

tessdata_manager.SeekToStart(TESSDATA_INTTEMP):Error:Assert failed:in file ..\..
\classify\adaptmatch.cpp, line 555

I have initialized as follow,

if(api->Init(NULL, "eng+ABC", tesseract::OEM_DEFAULT))
               {
fprintf(stderr, "Could not initialize tesseract.\n");
exit(1);
}

where ABC.traineddata put into tessdata folder.




Reply all
Reply to author
Forward
0 new messages