在iPhone应用程序中的tesseract OCR [英] tesseract OCR in iphone application

查看:132
本文介绍了在iPhone应用程序中的tesseract OCR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用tesseract开源引擎进行OCR从图像中读取文本。
但我一次没有得到100%的结果。请使用tesseract提供有关OCR质量改进的建议。
谢谢

I am using tesseract open source engine for OCR to read text from image. But I didn't get 100% result for a single time. Please give your suggestions about quality improvement for OCR using tesseract. Thanks

推荐答案

这里是如何从tesseract获得最佳结果
请确保你已经完成对图像进行预处理。 OVR将为具有以下属性的图像产生最佳结果:

here is how to get best result from tesseract Please make sure that you have done preprocessing on image. OVR will produce best results for the images which have following properties:


  1. 修复DPI(如果需要)300 DPI最小

  2. 修复文字大小(例如12磅应该没问题)

  3. 尝试修复文本行(偏斜校正和去扭曲文本)

  4. 尝试修复图像的照明(例如,没有图像的暗部分)

  5. 二值化和去噪图像

  1. fix DPI (if needed) 300 DPI is minimum
  2. fix text size (e.g. 12 pt should be ok)
  3. try to fix text lines (deskew and dewarp text)
  4. try to fix illumination of image (e.g. no dark part of image
  5. binarize and de-noise image

https://groups.google.com/forum /?fromgroups =#!topic / tesseract-ocr / g5aE_OvgyTU

这篇关于在iPhone应用程序中的tesseract OCR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆