O'Reilly logo

Getting Started with Raspberry Pi Zero by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using pocketsphinx to accept your voice commands

Now that your robot can talk, you'll also want it to obey voice commands. This section shows you how to add speech recognition to your robotic projects. This isn't nearly as simple as the speaking part but, thankfully, you have some significant help from the open source development community. You are going to download a set of capabilities named pocketsphinx, which will allow our project to listen to our commands.

The first step is downloading the pocketsphinx software. Unfortunately, this is not quite as user-friendly as the eSpeak process, so follow these steps carefully. There are two ways to do this. If you have a keyboard, mouse, and display connected or want to connect through vncserver, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required