I am creating an app which takes the picture and recognize the text from it and provides it as the output. I am using mlkit from the firebase for this purpose. So far I am able to detect the text in English. Now I want it to detect the text in Hindi. Also, I am using on-device detection for detecting the text.
Can anyone guide me with this hurdle?
Any help will be appreciated.
The Firebase overview of the text recognition API starts with this:
With ML Kit's text recognition APIs, you can recognize text in any Latin-based language (and more, with Cloud-based text recognition).
Since Hindi uses non Latin-based characters, it can't be recognized by ML Kit's on-device API. The Cloud-based API that is linked does support many more character sets, including Hindi.
So you'll either have to use the Cloud-based API, or train your own model to recognize Hindi text.
Related
Currently i am developing application related to speech text. For this i used text to speech of android. But it is not doing speech like a person speaks.
So there is any library or way to speech my text like real person's speaks. Please help.
Thanks in advance
Use IBM Watson's TTS For natural voices to be used
Make an account in IBM and use it's API..free for 1 month.
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.
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
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.
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.