LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Android OCR and a computer (https://www.linuxquestions.org/questions/programming-9/android-ocr-and-a-computer-4175523082/)

moisespedro 10-22-2014 06:59 PM

Android OCR and a computer
 
Hi, I don't know exactly where to ask this but I think this subforum is the most appropriate one.

Recently, an app called PhotoMath has been released. It uses the phone camera and Android OCR APIs to recognize text and to solve simple math equations. That gave me an idea.

Going straight to the point: I own an Android phone (a Moto G running Android Kit Kat). Is it posible to use the phone's camera as an input source and have the output on the computer? I was thinking something like: I see an equation, I point the camera to it, it recognizes the text and send it to my PC (throught the internet or USB) so it can be solved e.g. a C or Python program receives it as an input, solve it and prints the result.

Is that posible?

ondoho 10-23-2014 02:36 AM

Quote:

Originally Posted by moisespedro (Post 5257985)
Is it posible to use the phone's camera as an input source and have the output on the computer?

iirc, i've seen how-tos for linux to "turn smart phone into web camera" or something like that.

moisespedro 10-23-2014 08:10 PM

Quote:

Originally Posted by ondoho (Post 5258143)
iirc, i've seen how-tos for linux to "turn smart phone into web camera" or something like that.

But would that work? OCR?

jefro 10-23-2014 08:34 PM

It could be possible. At some point you have to have a way to send the image into the ocr program.

Might be easier to take a photo and use it as input to ocr program?

propofol 10-24-2014 12:59 AM

Try this to stream the image to your pc for recording: IP Webcam.
Alternatively take a photo with your android phone & have it sync automatically with your Google drive or Dropbox account.

moisespedro 10-24-2014 06:20 PM

I will see what can I do but using a photo file as input would be tedious. I rather try to make it work directly.


All times are GMT -5. The time now is 10:14 AM.