How to implement arabic language in ocr library android app - android

How to extract arabic text from image in ocr libary android app

Try using google vision API: https://cloud.google.com/vision/
This API supports many languages including Arabic.
You can try the API online and upload an image that contains Arabic writing and see the results for yourself.

Related

Using Android-Vision to detect Hebrew

I'm trying to create a simple application such as in the tutorial for the android vision API, only to recognize Hebrew, instead of English.
so far, from what i searched mobile vision api, and from playing around with other languages, the application recognize many Latin based languages (French, Spanish, for example) but no non-Latin character languages i tried (Chinese, Hebrew, Arabic comes to mind).
the question is, is it possible to use Google's mobile vision to read non-Latin text? if yes, how would i change my simple app to read other type of characters? and if not, what are my alternatives? i have found tessaract and Google cloud vision, but i prefer to have as little interaction with outside sources as i can, i want the app to be installed and used freely without relaying on outside engines or servers, any help and pointing in the right direction is appreciated.
Mobile vision OCR doesn't support non-latin languages.
here's a link to official documentation.
https://developers.google.com/vision/text-overview
You can use Google Cloud Vision for the required purpose but it would require internet connectivity. For now, most of the OCR supported APIs require internet connectivity, If you find any with more language support as compared to Mobile vision, please answer to your question here.

google vision OCR text detection

I am using google vision API for text detection and I get the expected result for English but when test on Arabic I get no result, I found in google decumentation that it support many languages includes Arabic by using parameter languagehint ar
but i don't know where to use this parameter.
I use this tutorial.
Till the date Google Mobile Vision API does not support Arabic language. Please refer below link
https://developers.google.com/vision/text-overview

Can Mobile Vision API detect Chinese, Japanese and Korean?

Is it possible for Mobile Vision API to detect Chinese, Japanese and Korean?
If not, is there any way to detect these language in Android?
Google Cloud Vision API provides support for a much larger set of languages (i.e. Chinese) from an OCR standpoint:
https://cloud.google.com/vision/docs/languages
You can detect Chinese, Japanese and Korean Tesseract but you will not get 100% result.
Tutorial Link :
http://imperialsoup.com/2016/04/29/simple-ocr-android-app-using-tesseract-tutorial/
other Language Data files :
https://github.com/tesseract-ocr/tessdata
Sample Links:
https://github.com/rmtheis/tess-two
https://github.com/imperialsoup/SimpleTesseractExample

Google Vision API: OCR of non-language text

I'd like to write android application for text recognition in images from camera. However, text to be recognized does not consist of regular words, it's just a sequence of letters, digits, slashes, etc. Is it still possible to use Google Vision API for this task? Or should I look for some other tools? I have read about tessaract library, but Google Vision seems to be easier for beginner developer. Would it give significant boost in accuracy of recognition?
I can confirm that at least the sample OCR reader that google supplies can read non-language text strings. I have been using it to read VIN numbers, for instance.

Can I get speech recognition in language other than English on Android?

I am trying to build an application (which would use the Hindi language and other regional languages) to get speech voice commands.
I also need text to speech functionality in my application.
I was wondering if there was any way I could get a speech recognition library on Android? I did a quick Google search and found a couple of libraries for Hindi on the Internet but I am not sure if I can include them in my Android project. Can I?
You can use pocketsphinx for your app.It has JAVA and Python API's for capturing and recognizing speech. By default it recognizes only English. But if you provide your own Language Model (LM) and Dictionary File(.DIC), you should be able to get it working.
Not directly straightforward as using an API, but can be certainly doable
http://cmusphinx.sourceforge.net/wiki/tutorialandroid
Android does support a few languages but not very many, I think the list currently is US, Japanese and Chinese. Not Hindi yet though I would think they are working to add new language support soon.
Over on the Android Developers page they have a good example.

Categories

Resources