Voice command “High Five” doesn’t work

I just finished assembling my PiDog Bear and I love him! The voice command feature via the app is very cool, but I cannot get “high five” to work. The transcribed text showed “hi five” and Bear did nothing. I asked different people to say it and it was the same.

Any idea on how to fix this? Thank you.

The python program decides which action to perform by simple text comparison, and you can modify the code to add similarly pronounced words and watch out for spaces.

I did notice that “hi five” was already on the list. It still doesn’t work for some reason. Same for voice not being recognized using OpenAI API even though I could record and play back audios.

First I want to make sure you are using the voice control from 12_app_control.py?
Add in the code Get a print of the STT text and see what you get.