你的位置:首页 > 软件开发 > ASP.net > tesseract 编译与使用(windows)

tesseract 编译与使用(windows)

发布时间:2016-09-27 10:00:03
tesseract是google的一个开源OCR项目,项目地址已经迁移到github(现在 2016/09),地址 https://github.com/tesseract-ocr/tesseract 首先使用git将代码clone到本地。使用最新的commit, S ...

tesseract 编译与使用(windows)

tesseract是google的一个开源OCR项目,项目地址已经迁移到github(现在 2016/09),地址 https://github.com/tesseract-ocr/tesseract

 

首先使用git将代码clone到本地。使用最新的commit, SHA-1: c943fc1a339d6378f34cccf4ff96949adb2f37ec

编译步骤参考 https://github.com/tesseract-ocr/tesseract/wiki/Compiling

下面是详细步骤和相关问题解决方法

我使用的VS2010

 

1.安装cmake 并添加到环境变量.下载地址 https://cmake.org/download/

2.安装cppan 并添加到环境变量,下载地址 https://cppan.org/client/cppan-master-get='_blank'>win32-client.zip

3.在你本地的源码目录tesseract下执行下列命令

cppanmkdir build && cd buildcmake .. -DSTATIC=1

原标题:tesseract 编译与使用(windows)

关键词:Windows

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。