I am trying to get the current external text module that uses Tesseract running in OpenCV. I tried all possible combinations and found some useful tips, but right now I have no ideas. I am using Windows 10 64-bit and Visual Studio 2013.
I have compiled everything to compile a basic example, but when I start the program I get the following output in the program window: Tesseract not found
Image: Tesseract error at runtime
I installed the program with all the libs enabled, and the Tesseract not found message is printed in the following two lines:
Ptr<OCRTesseract> ocr = OCRTesseract::create();
ocr->run(image, output);
I compile Tesseract for VS2013 and then compile OpenCV using CMake. I also found this Stackoverflow question: Tesseract + opencv 3.0 + windows, small text module, communication errors
I could reproduce this linker error and also fix it with this answer, but when I run the program, I get the message "Tesseract not found". I also added Tesseract and Leptonica manually in CMake and compiled with Tesseract, but I got the same message when I started my program. I compiled OpenCV in both Debug and Release 64 mode and installed my test program accordingly.
Why is Tesseract not found by OpenCV when it can compile correctly?
Thanks for the help!