Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Voice recognition in android app that is always listening [duplicate]

I am looking at doing speech recognition in android. The program needs to have continuous speech recognition. The library only needs to be about 10 words. I have considered using Googles api, but I don't think it will work. (I cannot have anything covering the screen). I have been looking into other ways but nothing seems like it will work. Is it possible to use java's speech recognition library, or is there any other way of going about this?

In summary
1. Need continuous speech input
2. 10 words at max
3. can train if necessary
4. overview of program - display screen, wait for voice input or touch input, update screen repeat
5. cannot cover what is being displayed on the screen

Any help would be appreciated.
Thanks in advance

like image 349
Joe Avatar asked Nov 22 '22 21:11

Joe


1 Answers

I think you would have to capture audio directly from the phone's microphone and stream it to your own recognition service. The Google recognition APIs are built as an Intent that launches their own Recognition dialog and gives you back results. If you want continuous recognition without a UI, you'll have to build that functionality yourself.

like image 110
Michael Levy Avatar answered Dec 16 '22 16:12

Michael Levy