因最近项目中使用到tesseract,因环境比较特殊,需要用x86的环境运行;
在Target CPU如果是选择了x86的情况下会出现:
Failed to find library "liblept172.dll" for platform x86.
的问题。
解决方法:
Google : stackoverflow
Obviously quite long after the fact, but in my situation it turns out the machine I deployed to didn’t have the VS2015 x86 & x64 runtimes installed.
The runtimes are dependencies as described here: https://recordnotfound.com/tesseract-charlesw-26531
过一段时间后我才发现;显然是我所部署的机器上没有安装vs2015 x86库和x64库的运行环境。
tesseract 的运行环境依赖在[链接](https://recordnotfound.com/tesseract-charlesw-26531)中有提到:
上述运行依赖可以在微软下载:https://www.microsoft.com/en-us/download/details.aspx?id=48145
本文介绍了解决Tesseract OCR在x86环境下缺失liblept172.dll库的问题,通过安装VS2015 x86和x64运行库来确保Tesseract正常运行。
1万+

被折叠的 条评论
为什么被折叠?



