Using PocketSphinx to accept your voice commands
Now that your robot can speak, you'll want it to also obey voice commands. This section will show 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 capabilities. Unfortunately, this is not quite as user friendly as the espeak
process, so follow along carefully. There are two possible ways to do this. If you have a keyboard, mouse, and display connected, or want to connect through ...
Get Raspberry Pi Robotic Projects - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.