This is a demo android application developed to test various real-time speech-to-text third part solution available for Android Devices. Here, we considered 3 popular APIs to test:
- android.speech - Available in android devices offline. Its supports varied range of languages. More than 100+ languages.
- google.cloud - This API is provided by google. This works online and supports 100+ languages.
- livai.speech - This is developed by Liv.ai(an indian banaglore based startup). This supports 8+ indian laguages including Hindi and English.
However, In this demo, I have focused on developing real time speech-to-text for Hindi language.
- android.speech - Its ready to use.
- google.cloud - To use this, you have to avail Google Speech API. You will receive an credentials.json when you Enable the api in Google API Console. Follow these steps to generate credentails.json file:
- Checkout this link: https://console.cloud.google.com
- Create a project
- Enable Google Speech API service
- Generate credential.json
- livai.speech - Its ready to use. However, there is a passkey required to use this for commercial use. I have take passkey from their demo repo available on Github.
- Google.cloud provides best results among all for real-time STT Hindi languages. Followed by liv.ai then android.speech.
- You get audio files if you use google.cloud. This is not possible(easy way) in other two implementation.
- Google.cloud don't provide SDK specifically for Android so far. So, its most difficult to implement among all.