149

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?

Utsav Gupta
  • 3,785
  • 5
  • 30
  • 52
user121196
  • 30,032
  • 57
  • 148
  • 198
  • 5
    Google recently released an OCR API: https://developers.google.com/vision/text-overview – Wirling Jun 28 '16 at 09:55
  • For people who coming from 2021, there is a great library for android/OS : https://developers.google.com/ml-kit – Karam Mar 16 '21 at 14:14

6 Answers6

38

OCR can be pretty CPU intensive, you might want to reconsider doing it on a smart phone.

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.

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.

So short answer: No.

Long answer: if you're willing to work for it.

BlueWizard
  • 372
  • 4
  • 19
Kevin Montrose
  • 22,191
  • 9
  • 88
  • 137
21

I am having quite a lot of luck with tesseract-android-tools

Ben Pearson
  • 7,532
  • 4
  • 30
  • 50
20

ANother option could be to post the image to a webapp (possibly at a later moment), and have it OCR-processed there without the C++ -> Java port issues and possibly clogging the mobile CPU.

Jaco
  • 247
  • 2
  • 2
7

Google Goggles is the perfect application for doing both OCR and translation.
And the good news is that Google Goggles to Become App Platform.

Until then, you can use IQ Engines.

harrymc
  • 1,069
  • 8
  • 33
4

Yes there is.

But OCR is very vast. I know an Android application that has an OCR feature, but that might not be the kind of OCR you are looking after.

This open-source application is called Aedict, and it does OCR on handwritten Japanese characters. It is not that slow.

If it is not what you are looking for, please precise which kind of characters, and which data input (image or X-Y touch history).

Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
2

You can use the google docs OCR reader.

Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
richardwiden
  • 1,584
  • 2
  • 12
  • 22