2017년 3월 6일 월요일

continuously speech recognition?


hi, i't possible to use the speech recognition in continuous mode? if the divide is waiting to hear you, and only get noise or nothing, it shows an error message. If you don't click on try again, the recognition doesn't works. It's possible not to show the error message and simply start another recognition?

--
With AI2 this is not possible.  In fact, I believe the Android SpeechRecognizer may have a built-in time out, so this is probably not an AI2 issue.  Be aware, the AI2 Recognizer control is very basic.  To control other features of the speech recognizer, you will have to use a different programming tool.   

This quote, from Google says it all:

The implementation of this API is likely to stream audio to remote servers to perform speech recognition. As such this API is not intended to be used for continuous recognition, which would consume a significant amount of battery and bandwidth.


--
:(
and any way to auto-retry if the recognittion show an alert? or any way to "if recognition errorlevel=2 then retry"? or something like that? any workaround?

--
This is not possible with the control in AI2.     You might be interested in asking questions in the following forums which are dedicated to speech recognition:  http://stackoverflow.com/questions/17616994/offline-speech-recognition-in-android-jellybean          and    http://stackoverflow.com/questions/tagged/speech-recognition    Someone there might be able to help you.

You may be able to do something in conjunction with and an existing App. 

 If you want continuous recognition, you may have to use Microsoft's Speech API and program your program in Windows. for a PC.

--

댓글 없음:

댓글 쓰기