iPhone Tesseract 库错误

发布于 2024-11-02 01:36:56 字数 723 浏览 0 评论 0原文

我从此处克隆了tesseract代码并构建了iphone OCR 4.3 的演示

我知道已经有 一些之前有 tesseract 的问题,但我不认为我的问题是一样的。

应用程序正常启动(模拟器),单击“显示图像选择器”按钮后,将出现 UIImagePicker,允许我选择图像。选择图像会显示“OCRDEMO - 正在运行”警报 1-2 秒,然后应用程序崩溃,调试器输出如下:

检测到调用符号的尝试 在系统库中不是 iPhone 上存在:clock$UNIX2003 从函数调用 图像 OCRDemo 中的 _Z17edges_and_textordPKcP10BLOCK_LIST。如果你是 运行时遇到这个问题 gdb 中的模拟器二进制文件,请确保 您首先“将 start-with-shell 设置为关闭”。

我不完全知道如何“设置 start-with-shell off”,这并没有帮助。

我担心这是 4.3 引起的问题,因为对错误关键组件的搜索很短。

I cloned the tesseract code from here and built the iphone OCR demo for 4.3

I know there has been some issues with tesseract before but I don't think my issue is the same.

The application starts ok (Simulator), and on clicking the 'show image picker' button the UIImagePicker appears allowing me to select an image. Selecting the image shows a 'OCRDEMO - working' Alert for 1-2 seconds, then the app crashes with debugger output of this:

Detected an attempt to call a symbol
in system libraries that is not
present on the iPhone: clock$UNIX2003
called from function
_Z17edges_and_textordPKcP10BLOCK_LIST in image OCRDemo. If you are
encountering this problem running a
simulator binary within gdb, make sure
you 'set start-with-shell off' first.

It doesn't help that I don't exactly know how to 'set start-with-shell off'

My fear is that this is an issue caused by 4.3 since a search for the key components of the error come up short.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

油饼 2024-11-09 01:36:56

我遵循了与 Luke 相同的步骤,并在模拟器上运行时遇到了完全相同的问题。

但是,当我在我的设备上运行时(使用不要代码签名),它可以工作。存在很多内存问题(级别 1 -> 级别 2),但我是能够使用我的相机以及我的 iPhoto 库正确拍摄图像。

我到处研究“start-with-shell”,但找不到最好的方法。我认为模拟器没有安装正确的 .arm 库来处理这个问题。

希望有帮助

I followed the same steps you did Luke and ran into the exact same issue, while running on simulator.

However, it works when I run on my device (with Don't Code Sign.) There's memory issues a plenty (level 1 -> level 2) but I was able to take an image using my Camera as well as from my iPhoto Library properly.

I researched everywhere for the "start-with-shell" but wasn't able to find the best way. I think that the simulator doesn't have the proper .arm libraries installed to handle this.

Hope that helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文