Monitor voice recognition demo¶
- async test.demo_speech_recognize.test_speech_recognise()[source]¶
Monitor voice recognition demo
Monitor voice recognition events, and the robot reports the text after voice recognition
When the voice is recognized as “hello”, broadcast “Hello, I am alphamini, Lalila, Lalila”
When the voice is recognized as “stop”, stop monitoring
# SpeechRecogniseResponse.text
# SpeechRecogniseResponse.isSuccess
# SpeechRecogniseResponse.resultCode