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.
Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR) Found JPEG: C:/Users/Jihed Mestiri/Anaconda2/Library/lib/jpeg.lib Found ZLIB: C:/Users/Jihed Mestiri/Anaconda2/Library/lib/z.lib (found version "1.2.8") Found PNG: C:/Users/Jihed Mestiri/Anaconda2/Library/lib/png.lib (found version "1.6.17") Found TIFF: C:/Users/Jihed Mestiri/Anaconda2/Library/lib/tiff.lib (found version "4.0.6") Found PkgConfig: C:/cygwin64/bin/pkg-config.exe (found version "0.29.1") Checking for module 'libwebp' No package 'libwebp' found Configuring done
I couldn't put all the output