Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to read numbers and text from camera in android?

Tags:

android

I'm working on android application and it should allow users to take photos using camera and the application reads the text and numbers in the photo.

I don't know where to start from android studio. is there any good suggestion on github that could help me???

thanks in advance.

like image 243
Khalil Rumman Avatar asked Sep 05 '15 08:09

Khalil Rumman


People also ask

Can Android scan text from image?

Place your phone's camera on the text and tap the Camera button. You can also choose an image from the gallery. Crop the image if you want and tap Scan to convert the image to editable text.

Is there an app that reads words from a picture?

Find an image with text on it, no matter the length, with one click, you can easily take a screenshot and sync it to your cloud. Speechify will read the text out loud.


1 Answers

As others said OpenCV or OCR is the way to go. Google maintains one OCR library called as "Tesseract" (reminds me of Avengers :P). To make the job little easier there is a fork of Tesseract called as Tess-Two

It combines some other useful tools like Leptonica (image processing library). Build instructions are given on the Readme file.

To get started you can check out very easy to use OCR library Easy OCR Library Android which uses Tess-Two under the hood.

Again usage instructions are in the Readme file. It is already built so you don't need to build Tess-Two.

like image 195
priyankvex Avatar answered Sep 22 '22 09:09

priyankvex