-
Notifications
You must be signed in to change notification settings - Fork 25
Home
Pankaj edited this page Jun 9, 2017
·
5 revisions
Pocketsphinx is a lightweight speech recognition engine, specifically tuned for handheld and mobile devices. It is one of Carnegie Mellon University's open source large vocabulary, speaker-independent continuous speech recognition engine.
This repository is the ROS package for pocketsphinx which aims to provide ROS users with the same capabilities as offered by the original pocketsphinx.
- Install pyaudio
If this does not work, follow instructions below:
sudo pip install pyaudio
sudo apt-get install libasound-dev sudo apt-get install python-pyaudio
- Install pocketsphinx: You will need to have pip pre-installed for this to work
There are many dependencies which need to be met before installation of pocketsphinx through pip works. Use Synaptics package manager to install the unmet dependencies which would be mentioned as error messages on the terminal window in case installation fails. Some of them include:
sudo pip install pocketsphinx
libpulse-dev
swig - Clone this repository into the src folder of your catkin workspace using:
cd ~/catkin_ws/src
git clone https://github.com/Pankaj-Baranwal/pocketsphinx
To know more about catkin workspace and ROS, follow instructions at: http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
After everything is setup, open a terminal from your catkin workspace and type the following command:
catkin_make