如何为iphone交叉编译tesseract ocr引擎? [英] How to cross compile tesseract ocr engine for iphone?

查看:147
本文介绍了如何为iphone交叉编译tesseract ocr引擎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在过去1周内一直在努力学习如何编写适用于iphone的tesseract ocr。我通过一些链接,但我找不到正确的方法。任何人都可以通过一步一步的程序帮助我。在此先感谢。

I am struggling from past 1 week that how to compile the tesseract ocr enging for iphone. I have gon through through some link, But i couldn't find the proper way. Can anyone help me through step by step procedure. Thanks in advance.

推荐答案

这可能还不够。我对Tesseract OCR库一无所知,但你需要include指令,并指定通过编译器开关(通常是-I)和(可能)与Tesseract库文件链接安装Tesseract头文件的目录。
如果将头文件安装到公共包含目录中,那么编译源代码就足够了。但是,如果头文件不包含所有函数/变量的定义(不仅仅是声明),那么将有一个库文件(如libtesseract.a或/和libtesseract.so)必须链接才能编译你的二进制文件。

That probably won't be enough. I know nothing about Tesseract OCR library but you will require the include directives, plus specify the directory to where the Tesseract header files are installed via a compiler switch (usually -I) and (possibly) link with the Tesseract library file(s). That would be enough to compile the sources if the header files are installed into common include directories. However, if the header files do not contain the definitions (not just declarations) for all functions/variables then there will be a library file(s) (like libtesseract.a or/and libtesseract.so) that must be linked in order to compile your binary.

这篇关于如何为iphone交叉编译tesseract ocr引擎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆