Install and run tesseract OCR in visual studio 2013 and opencv 3
Hello community,
I hope you're all well. I noticed opencv 3 has a library for the tesseract ocr (Scene Text Recognition) and I was wondering how to call it and use it. I have downloaded and installed tesseract 3.02.02 from the google repository and set the necessary paths to lib includes C/C++: Additional include libraries: C:\Program Files\Tesseract-OCR\include C:\Program Files\Tesseract-OCR\include\tesseract C:\Program Files\Tesseract-OCR\include\leptonica
Linker-> General: Additional Librarires Directories C:\Program Files\Tesseract-OCR\lib
Linker -> Input: libtesseract302.lib libtesseract302d.lib liblept168.lib liblept168d.lib
environment variable: TESSDATA_PREFIX : C:\Program Files\Tesseract-OCR\
I tried running the examples from the link http://docs.opencv.org/3.0-beta/modul... but #include "opencv2/text.hpp", #include
Thanks !!
Update:
Using the advice provided by Steven below, I
created a directory in "C:\" called "CVmodules" where I put the zips downloaded from the Itseez link(opencv-master and opencv_contrib-master).
In the Cmake GUI selected the opencv source code folder (C:\CVmodules\opencv) and the folder where binaries will be built (C:\CVmodules\contribBuild) then pressed the configure button.
browsed the parameters in the interface and look for the form called OPENCV_EXTRA_MODULES_PATH
completed this OPENCV_EXTRA_MODULES_PATH by the proper pathname to the /modules value (C:\CVmodules\opencv_contrib\modules), then pressed the configure button
However, the picture below is all I see when research tessearct. There is no way to enable tesseract. I also realized that there seem not to be a tesseract library, in the tesseract that I installed,to point it to. I downloaded it from https://code.google.com/p/tesseract-o...
What am I doing wrong? Did download the wrong version of the tesseract. This is for visual studio 2013 on windows 8. I already have opencv 3 installed using the prebuilt libraries method. Should uninstall and build it instead?