Reputation: 809
I correctly installed OpenCV 3.2 using cmake to generate it from source code as in this link, installed Tesseract 3.05 and leptonica from here. Both work correctly on these sample example RedEyeRemover for OpenCV and opencv-tesseract for testing both together, target project x64 VS2017. But then when applied to end-to-end text recognition demo (Platform toolset VS2015 v140) provided by opencv, I have no error in compilation but get tesseract not found in runtime.
double t_r = (double)getTickCount();
Ptr<OCRTesseract> ocr = OCRTesseract::create();
cout << "TIME_OCR_INITIALIZATION = " << ((double)getTickCount() - t_r) * 1000 / getTickFrequency() << endl;
string output;
It occurs at OCRTesseract::create() level.
What can be the reason if I didn't get any compilation error? It's linked to opencv_text module.
Upvotes: 1
Views: 562
Reputation: 3550
just posting an answer stating there is some practical information in chat session about compiling leptonica tesseract and OpenCV
Upvotes: 1