是否有任何 iphone 类可以将图像转换为文本格式?
我想开发一个 iPhone 应用程序,将某种图像转换为文本格式。我想知道有没有内置的库可以实现这个目的?
I want to develop an iPhone application that is going to convert some sort of images to text formats. I want to know that is there any built-in library for achieving this purpose?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想您问的是从图像中识别文本 (OCR),而不是像将图像文件编码为 base64 之类的问题
iPhone 中没有内置 OCR 库。
根据您的预算和想要达到的准确度,您可以尝试
I suppose you are asking about recognizing text from images (OCR) and not about something like encoding image file into base64
There's no build-in OCR libraries in iPhone.
Depending on your budget and what accuracy you trying to achieve, you can try
我用过超立方体。其准确度范围为 0-100%,具体取决于图像捕获的程度、文本的字体和颜色等各种因素。
但如果您有非常清晰的图像和非常清晰的文本,它可以给您很好的结果。
I have used tesseract. Its accuracy ranges from 0-100% depending upon various factors like how well the image is captured,fonts and color of the text etc.
But it can give you very good result if you have a very clear image with very clear text.