Keith
Keith

Reputation: 1129

Translate a picture to text on Android?

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.....

Upvotes: 15

Views: 49262

Answers (2)

dimohamdy
dimohamdy

Reputation: 3053

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

Upvotes: 1

Chinmay Kanchi
Chinmay Kanchi

Reputation: 65903

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...

Upvotes: 13

Related Questions