是否有适用于Android的免费OCR库? [英] Is there any free OCR library for Android?
问题描述
我正在寻找可在Android上运行的Java OCR,但是Asprise似乎并不是独立于平台的OCR.我可以使用任何开源/免费的Java OCR进行android应用程序开发吗?
I'm looking for a Java OCR that runs on Android, however Asprise doesn't seem to be a platform independent OCR. is there any opensource/free Java OCR I can use for android application development?
推荐答案
OCR可能占用大量CPU,因此您可能需要重新考虑在智能手机上进行此操作.
OCR can be pretty CPU intensive, you might want to reconsider doing it on a smart phone.
此外,据我所知,流行的OCR库是 Aspire 和 Tesseract .两者都不是Java的直接版本,因此您不会获得直接使用的Android OCR库.
That aside, to my knowledge the popular OCR libraries are Aspire and Tesseract. Neither are straight up Java, so you're not going to get a drop-in Android OCR library.
但是,Tesseract是开源的(GitHub托管了);因此您可以花一些时间将所需的子集移植到Java.我的理解是它的不是疯狂的 C ++,所以根据您对OCR的需求量的不同,这可能是值得的.
However, Tesseract is open source (GitHub hosted infact); so you can throw some time at porting the subset you need to Java. My understanding is its not insane C++, so depending on how badly you need OCR it might be worth the time.
答案很简短:否.
长答案:如果您愿意为此工作.
Long answer: if you're willing to work for it.
这篇关于是否有适用于Android的免费OCR库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!