为 iOS 推荐一个 OCR 库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20902793/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 22:57:48  来源:igfitidea点击:

Suggest an OCR Library for iOS

iosiphoneimageocrscanning

提问by Vaisakh

I want to make an offline iPhone application that can grab text from a picture. Can anyone suggest the best library which I can use. I heard ZBAR and ZXING can be used only for barcode reading. Is there any other OCR Libraries for iOS to read text from images. I expect your valuable suggestions as soon as possible.

我想制作一个可以从图片中抓取文本的离线 iPhone 应用程序。谁能建议我可以使用的最好的图书馆。听说ZBAR和ZXING只能读条码。是否有其他适用于 iOS 的 OCR 库可以从图像中读取文本。我期待您尽快提出宝贵的建议。

Thanks in Advance..!

提前致谢..!

回答by Bhumeshwer katre

Currenlty offline OCRis possible only with Tesseract

Currency 离线OCR是可能的Tesseract

You can get source code here

你可以在这里获取源代码

Hereis the good tutorial about how to use Tesseract

是关于如何使用的好教程Tesseract

Also you can perform OCRon multiple language. You can dowlnoad other language trained data here

您也可以OCR使用多种语言进行表演。您可以在此处下载其他语言训练数据

回答by dehlen

You might want to look here. They offer a large variation of language they can detect and i heard only the best from their framework.

你可能想看看这里。他们提供了可以检测到的大量语言变化,我从他们的框架中只听到了最好的。

You can also test the framework live: live demo

您还可以现场测试框架:现场演示

Unfortunately i think it is very expensive to use this framework. But if you want an A1(all my Breaking Bad fans ;-)) framework this might be your best shot.

不幸的是,我认为使用这个框架非常昂贵。但是如果你想要一个 A1(我所有的绝命毒师 ;-)) 框架,这可能是你最好的选择。