Steering Anki Overdrive Cars via Speech Recognition on Bluemix

I’ve extended the Anki Overdrive demo so that you can steer the cars via voice. I’ve used a combination of the Watson Speech to Text service and the Watson Natural Language Classifier service on Bluemix to implement this. All of this is available as open source.

To convert speech to text an extended version of the Watson Speech to Text sample is used so that received text (which is marked as ‘final’) can be sent via MQTT to the Internet of Things foundation.

anki-speech-input

The Watson Speech to Text service has to be defined as device in the Internet of Things foundation. Check out the readme of the project for details.

anki-speech-iot

There is a new version of the Node-RED flow which includes the speech recognition functionality. The Watson classifier is used to basically map between the text received from the speech to text service to available commands. At this point there are four commands (move, stop, turn left, turn right) that the classifier understands based on the provided training data. The nice thing about the classifier is that you can even say things like ‘depart’ and the classifier figures out that it belongs to the classification ‘move’ even though it was not defined in the training data.

anki-speech-flow

Here is the series of blog articles about the Anki Overdrive with Bluemix demos.