From b38914fddd73838c07258aa3d91decb09c0c5117 Mon Sep 17 00:00:00 2001 From: RochaLAJ <43121804+RochaLAJ@users.noreply.github.com> Date: Fri, 26 Nov 2021 23:22:56 -0300 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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/