如果有人知道,请帮助我.解决方法 与其他人指出的类似,您需要使用一种称为OCR(光学字符识别)的技术来处理收据并将其转换为可用文本.已经有几个好的库,选择一个只取决于你的约束(时间,金钱等).我不建议在这里重新发明轮子并尝试自己的OCR库.
有关更详细的库列表,请参见this answer.
对于懒惰,这里是链接中的建议.
If you have plenty of time but zero budget – your choice is Tesseract. It is definitely the best among open source
If you have a small budget to spend and you only need run this recognition once – 07001 service would be your best choice. It is based on leading commercial grade OCR engine and offers quite affordable per-project prices. disclaimer: I work for ABBYY
In case you will need to run this recognition as ongoing process forever,then you may think that it is economically more efficIEnt to purchase dedicated conversion software,for example 07002,it has API and can be called from Java too. But there are actually a lot of alternatives,if you are prepared to invest some budget in licensing.
一旦集成了库,就可以编写逻辑来添加OCR库返回的值并将其显示给用户.在您选择使用哪个OCR库之前,我无法再让您了解如何执行此 *** 作,因为它高度依赖于库的输出格式.
总结以上是内存溢出为你收集整理的如何从Android手机扫描账单收据并从中获取数据?全部内容,希望文章能够帮你解决如何从Android手机扫描账单收据并从中获取数据?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)