This app requires Tesseract to work, so you need to create a folder named SimpleAndroidOCR inside the internal storage of your android device. Then, inside this folder, create a new directory named tessdate. Now copy the file eng.traineddata inside the tessdata folder.
Make sure you’ve granted all the permissions to the app.
Make sure you’re connected to the internet.
On the first screen, clink on TAKE PHOTO on top of your screen.
Then you can click picture on any english text. Make sure you’re close enough while clicking as the word should be clear.
Now a crop screen will open, you can crop one word which you want to translate and then click CROP at the bottom of the screen.
The extracted should appear in the text box on the next screen. Don’t worry if it doesn’t, it sometimes won’t. You can manually enter the text at this point of time.
Then click on Translate and the corresponding Hindi text will appear in the text box below.
This is mainly for practicing how to connect Tesseract and Yandex Translate APIs to an android application.
If you have access to IIIT Vadodara intranet, you can directly download the app
This is an experimental app and isn’t packaged yet, as it is still not fully developed. However, to have a look at my Android and Django skills, you can have a look at its code. Or feel free to contribute (Let me know.)
The server side is implemented with the help of Django, Redis queue and the Django Rest Framework.