How can I implement an OCR function in my android app? I want to make an app that takes a picture and translates a text from it. Any APIS or tutorials for that? Thanks
问题:
回答1:
Update: Here some additional links I found that may assist you on configuring tesseract. I personally have not use this, as I personally opted for 2D code approach.
- http://rmtheis.wordpress.com/2011/08/06/using-tesseract-tools-for-android-to-create-a-basic-ocr-app/
- http://gaut.am/making-an-ocr-android-app-using-tesseract/
Original answer
Well without knowing anything about your app, I would like to note that you probably could not beat Google Googles when it comes to OCR features. Maybe you can add additional detail what kind of text do you want to be able to translate? So we know your not reinventing the wheel :)
I found a few links https://code.google.com/p/tesseract-ocr/ http://ocrsdk.com/producttour/many-more/
But if I may suggest, if you it specific message that can you want to parse, I would recommend actually using QR barcode. You can convert a CSV file into 2D code and then have your app scan it then parse it to do some custom feature.
Here library I used for 2D code and found it quite useful in the past. Zxing which is open source and free to use