diff --git a/README.md b/README.md index 5562723..740030c 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,15 @@ Known bugs and planned additions - HCS voicepacks ## Install -- $ pip3 install PyQt5 -- $ pip3 install python3-xlib -- $ pip3 install pyaudio -- $ pip3 install pocketsphinx +
pip3 install -r requirements.txt
+
+- $ pip3 install pyaudio pocketsphinx
+- NOTE: if any error returns, try your distro version.
+Fedora
+sudo dnf install python-pyaudio python-pocketsphinx
+Ubuntu
+sudo apt install python-pyaudio python-pocketsphinx
+
- $ sudo apt-get install swig3.0
- $ (optional) sudo apt install xdotool
- $ (optional) sudo apt install ffmpeg
@@ -78,4 +83,4 @@ If you own a HCS voicepack, copy the whole voicepack folder (like 'hcspack', 'hc
### Improve voice recognition accuracy
Please see this resource on how to train the acoustic model of pocketsphinx to match your voice:
-https://cmusphinx.github.io/wiki/tutorialadapt/
\ No newline at end of file
+https://cmusphinx.github.io/wiki/tutorialadapt/