Last active
October 4, 2017 02:53
-
-
Save kevalpatel2106/84bd478b1f839a33f85e6aa7a74f459c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OUTPUT: | |
# speech recognization | |
# Hello earnest... | |
# Say something! | |
# Got it! Now to recognize it... | |
# You said hello | |
# Install speech recognisation | |
sudo pip install SpeechRecognition | |
# Install pi audio apt | |
sudo apt-get install python-pyaudio python3-pyaudio | |
# Uninstall any previous version of pi audio | |
sudo pip uninstall pyaudio | |
# Update the pi audio apt (Speech recognization requires piaudio 0.2.11 or above.) | |
apt-get install portaudio19-dev python-all-dev python3-all-dev | |
# Installing pi audio python wheel | |
# Make sure the first line in outout log is | |
# Collecting pyaudio | |
# Downloading PyAudio-0.2.11.tar.gz | |
sudo pip install pyaudio | |
sudo apt-get install flac | |
# Run the code... | |
python speech.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment