开发者

iPhone Tesseract lib error

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.

开发者_如何学Go

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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜