visual studio 2015 and tesseract 3.05 on x64

家住魔仙堡 提交于 2020-01-01 19:14:11

问题


well i really need help here. my problem is how can i add tesseract 3.05 and leptonica 1.73 libraries to visual studio 2015 x64 (windows 10).

i manage to do that last summer with visual studio 2013 and the older version of leptonica and tesseract because it was kinda easy and all includes and lib was there i just had to give the path and download some dll. but now i couldn't even see the right include and lib that i should use. well i'm not pro in those things so please if anyone can help me and give me some steps to do.

some guys post this link: https://github.com/peirick/leptonica

but no idea how to use it.


回答1:


Given link working fine, there are few steps; you can compile tesseract and leptonica in visual studio 2015

Step1: Take material provided from this

Step2: Copy files from this into VS2015_Tesseract-master\leptonica\ folder

Step3: Copy files of tesseract from github into VS2015_Tesseract-master\tesseract_3.04 folder

Step4: Compile libtesseract or tesseract in x64 platform

Done!!




回答2:


Today I built Tesseract 3.05

  • Windows 10 64 bit

  • Visual Studio 2015

I cloned this Repository: https://github.com/peirick/VS2015_Tesseract

In the resulting directory ... VS2015_Tesseract I deleted

  • subdirectory leptonica

  • subdirectory tesseract_3.05

Then I opened a command prompt as administrator in VS2015_Tesseract and executed

build_tesseract.bat

1501 warnings

0 errors

To get the API work, I needed to add dependencies:

tesseract.lib;openjpeg.lib;libwebp.lib;libtiff.lib;libtesseract.lib;libpng.lib;liblept.lib;libjpeg.lib;jbig2enc.lib;giflib.lib;zlib.lib;



来源:https://stackoverflow.com/questions/35379453/visual-studio-2015-and-tesseract-3-05-on-x64

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!