opencv and tesseract on windows [closed]
Greetings!
I've built opencv-master-4.0.1 on windows/mingw and want to use tesseract. I found some hints how to build leptonica and tesseract (http://answers.opencv.org/question/17...) leptonica works fine, however tesseract cmake(mingw compiler) this fails with
Checking for module 'lept>=1.74' No package 'lept' found
the environment variable leptonica_dir=F:\leptonica-1.74.4 is set.
How can I make tesseract ocr working with c++ opencv and windows?
Thanks for hints, Wolf
Have you try https://docs.opencv.org/trunk/db/d4c/... ? change variable CMAKE_CONFIG_GENERATOR="Visual Studio 14 2015 Win64"
Thanks; however the installation
using git-bash
produces endless errors on my wind10 system; Like:No such a path neither in windows, nor with git-bash. I renamed 'sh.exe' in the above path. Next are the following errors:
I stopped the task.
To install git_bash
Yes, I've installed git-bash before.
@WolfG you can ping me if you still need help. (today i compiled text module with tesseract)
@sturkmen thanks for your offer to help :-) I'm using windows 10 (if that matters) cmake and code::blocks. Still running into problems as described in original post. How was your appreoach?
@sturkmen Would you write steps and prerequisites to build openCV + Tesseract I has cloned OpenCV 4.1.2 , Tesseract5.0 and leptonica1.79 i succeed to build opencv using Cmake gui without tesseract , but i can not configure cmake to build with leptionic and tesseract
@essamzaky do you use windows and Visual Studio ?
@sturkmen yes i'm using Window and Visual Studio
@essamzaky send me an e-mail maybe i will help you remotely.sorry i have no time to write step by step