The code runs using python 2.
Required modules:
- pyaudio (provides Python bindings for PortAudio, the cross-platform audio I/O library) Installation: pip install pyaudio
- pocketsphinx (python interface to CMU Sphinxbase and Pocketsphinx libraries) Installation: pip install pocketsphinx
- gtts (module and command line utility to save spoken text to mp3) Installation: pip install gTTS
- mpg321 (command-line mp3 player) Installation: sudo apt-get install mpg321
- pytz (python timezone module) Installation: pip install --user pytz
- Kivy (GUI module) Installation: https://kivy.org/#download
Run the code with the command: "python MainScreenUI.py"