iPhone:如何使用Tesseract [英] iPhone: How to use Tesseract
问题描述
这与在iPhone应用程序中使用Tesseract有关.我按照此处提供的步骤进行操作:
This is regarding use of Tesseract in an iPhone app. I followed the steps provided here:
http://iphone.olipion.com/cross-compilation/tesseract-ocr
现在我有2个问题:
1)如何在我的iPhone项目中使用它(需要包含哪些文件,需要调用方法等)
1) How to use this in my iPhone project (which files need to be included, methods need to be called, etc.)
2)我搜索了一下,发现我必须包含libtesseract_api.a
2) I googled and found that I'll have to include libtesseract_api.a
但收到此消息:
file was built for unsupported file format which is not the architecture being linked (i386)
请帮助我理解这一点.
推荐答案
我想您已经尝试在Simulator中运行该应用程序,它将支持i386架构.
I guess you have tried to run the app in Simulator, which will support i386 architecture.
请按照此链接进行操作静态库.
Please follow this link to make the static library.
这篇关于iPhone:如何使用Tesseract的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!