Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help in OCR for Android/Java

 
Sadaqatullah Noonari
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am totally new to image processing and am developing an application for android that aims to read Barcode, QR code and Text from the camera. Is there any other set of steps other than this which I can follow to make the application?
And what formats do OpenCV and/or tesseract accept and how do I read them in java?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I, too, am unaware of a device-based OCR solution for Android, so one of the cloud-based ones may be your only choice.

And what formats do OpenCV and/or tesseract accept and how do I read them in java?

I'm not sure what you're asking - they work with images. The camera hands you an image as a byte array, which you can convert to a BitMap. From there on it should be relatively easy to create an image in whichever format you need for further processing.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!