Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Translate a picture to text on Android?

Tags:

android

ocr

I know that google goggles will translate a picture to text. What I want to do is allow the user to take a picture (no problem), translate that picture to text(?) and then do some processing on the text (no problem).

Is there any API on android that allows this? or is there any way to programtically communicate with google goggles? I would hate to have the user use goggles then select the saved file with my app.....

like image 725
Keith Avatar asked May 25 '10 12:05

Keith


2 Answers

Take a look at Is there any free OCR library for Android? and What kind of OCR Java library should I use in Android? if you want libraries that do the translation on the phone itself.

However, Google also provides a WebAPI that does this. http://googlesystem.blogspot.com/2009/09/google-docs-ocr.html

Just remember that OCR (optical character recognition) is, as of now, an inexact science and you won't get flawless transcription in all cases...

like image 113
Chinmay Kanchi Avatar answered Sep 23 '22 13:09

Chinmay Kanchi


check this example it's used in google translate to get text from image it's use google services

https://github.com/googlesamples/android-vision/tree/master/visionSamples/ocr-codelab

like image 27
dimohamdy Avatar answered Sep 24 '22 13:09

dimohamdy