This app enables sending voice commands to graphql-api. On that note, before installing this app please read and setup compose. This is mandatory for this application to work!
-
MacOSX setup:
brew install portaudio
- Necessary for capturing microphone input
brew install automake
-
Linux (including Raspberry Pi) setup:
sudo apt install libasound2-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg
sudo apt-get install python-pyaudio python3-pyaudio
- Necessary for capturing microphone input
sudo apt-get install -y python python-dev python-pip build-essential swig git libpulse-dev
-
For all OSs:
pip3 install -r requirements.txt
python3 main.py
-
This project is currently using
recognizer.recognize_google(audio)
. However, you can also userecognizer.recognize_sphinx
as an open source alternative. To do that follow the steps bellow:- Install PocketSpinx
- Raspberry Pi only: