Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Offline google voice recognition on android

I am working on an android application which will listen to voice command and triggers actions accordingly.

Below are some doubts:

  1. Is google voice recognition offline library is available to use in android apps.
  2. Can we create our own dictionary of words & commands with wake up word.

  3. Application should work in offline mode(Without Internet).

like image 287
Vishwasrao Salunkhe Avatar asked Nov 17 '16 10:11

Vishwasrao Salunkhe


People also ask

Can voice assistant work offline?

Saying "Ok, Google" while offline still launches the Google Assistant, but, you may encounter some issues. Voice recognition may be less accurate while offline, and the Google Assistant may be unable to access the services you're asking for. To fix the second problem, you need to download any relevant data in advance.

Why is Google Assistant not working offline?

Check your internet connection Google Assistant not working could be due to a faulty internet connection. It is a service that relies heavily on data, after all. You can't really use Google Assistant offline, so you must ensure your internet is working.


1 Answers

Is Google voice recognition offline library is available to use in android apps.

I think this question is already answered here: Offline Speech Recognition In Android (JellyBean)

Can we create our own dictionary of words & commands with wake up word.

This is not possible with Google voice recognition. Therefore I would suggest you a different solution: PocketSphinx

Application should work in offline mode(Without Internet).

Possible with PocketSphinx

like image 178
Christopher Avatar answered Sep 27 '22 18:09

Christopher