Offline Speech Recognition on Android Wear - android

I am using the RecognizerIntent inside an Android Wear application I am developing to obtain Free-form Speech Input.
It is working great when my phone is connected online. However, when I turn off my Internet connection on the phone, the Watch is able to recognize the speech and the correct text is displayed in the intent while processing, but afterwards it states "Didn't Catch that".
I've also tried implementing the RecognitionListener interface and I had the same issue.
Some of the tutorials I have tried using include:
RecognitionListener interface
Voice Tutorial
I have the appropriate language packs downloaded on my phone. How can I solve this and fix the offline issue on my wearable device?
Thank you.

Speech recognition requires access to Google's servers hence it won't work without a valid internet connection. It is possible in Android to download languages to work offline (Settings). Although, I'm not sure if this works with Wear.

Related

Speech Recognition with MediaRecorder - Android

I am making an app in which I am recording a video and at the same time want to implement a speech-to-text recognition functionality without speech dialog, can someone tell me how to proceed.
I would recommend using the RecognizerIntent Class. The class sends the recorded speech to a Google cloud server. The server in turn converts the speech to text and sends the results to your app.
A worked out example can be found on the following site
right here.
Using this approach however does imply that your app will rely having a working internet connection. Only if the user decides to enable offline voice typing in the phone's settings, won't the app be relying on a working internet connection.

Sharing Data between Smart Devices without wifi

I have heard of communication between two android devices using that touch method or however that works. I understand that communication over WiFi is not a problem. I need to know if it is possible to create an app that would run on multiple devices but in the end would compile data collected on each device into one main database all done without WiFi. It just sounds like a hogwash idea in my mind but is this possible?
There is app call SuperBeam.You'll need SuperBeam installed on both devices and then you'll need to pair the devices using any of a number of methods, including QR Codes, NFC, or by typing a manual code.
https://www.youtube.com/watch?v=hGAAE7qru6g
youtube link if you want to see how to use SuperBeam app
Correction:I tought this app don't use wifi but i guess this app for devices aren't connect to the same Wifi

Exchange data between google-glass and a android device

The scenario:
I have a android app running my in cellphone. I´m the owner of this app.
I have a google-glass synced with this cellphone. I´m developing a my app for google-glass using the new GDK launch a few weeks ago.
I want to send a data from glass to cellphone and then receive a answer.
No internet connection is necessary, so i´m planning to use Bluetooth to this data communication.
I can create a Bluetooth socket connection, however this will obligate me to manage it.
There is no android high level abstraction that permit me to call a service or a activity directly on the cellphone?
AFAIK, there's no direct pipe between them, the glass is basically a phone with a different set of inputs and outputs. You can create and manage the connection, and it's yours.
AFAIK, there is no other way to do this, as Travis said there's no direct pipeline between them, seems to be true. You can use use BLUETOOTH Chat Application included in the Android SDK.
Just change the input method to voice input in the application
Install that Application in both the devices
Try It
change the code accordingly to send files too.

Android voice activity detection offline

I need to detect if there is voice in the environment, and I need to do all the processing in the phone without sending any sound information to a server because of privacy concerns.
I know there is a class in android called SpeechRecognizer http://developer.android.com/reference/android/speech/SpeechRecognizer.html
But as far as I know, it needs to be connected to a google server (or other server).
My question is if there is a way of using this class to detect voice without sending info through internet.
I read a tip from here http://www.itworld.com/mobile-wireless/327712/use-offline-speech-text-your-android-jelly-bean-device which says that I could "Download offline speech recognition", but I don't know if this is enough for my needs.
I have some knowledge of signal processing and classification and I think I could develop a voice activity detection by using the Android AudioRecord class, but I would like to know first if SpeechRecognizer permits the detection offline (And how it does) so I could save time.
Thanks in advance for your response.
SpeechRecognizer is a way of connecting apps to speech recognizers. These speech recognizers extend RecognitionService. Some of these speech recognizers might do offline recognition, some of them might claim that they do, but actually don't. So if you have privacy concerns then rather implement your own recognizer.
The other question is if speech recognition is the right tool for voice activity detection.
Regarding the API to the speech recognizer, i.e. the constants in RecognizerIntent, there is no boolean for online/offline or anything specific for voice activity.

Voice Recognition for Galaxy Tab - Offline

Is there any Voice recognition service that works in an offline mode (without intenet connectivity) for Samsung Galaxt tab?
Take a look at
Android: Speech Recognition without using google server
It's basically the same question
Android voice recognition requires Internet connectivity. The recognition is not performed on the device, but rather uses Google web services. So, you must be online. Some info on the web services is available at http://waxy.org/2008/11/deconstructing_google_mobiles_voice_search_on_the_iphone/.

Categories

Resources