29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
|
|
apt install python3-flask python3-opencv v4l-utils alsa-utils python3-pip mplayer
|
|
|
|
pip3 install --upgrade ultralytics --break-system-packages
|
|
pip3 install --upgrade onnxruntime --break-system-packages
|
|
|
|
apt install -y piper
|
|
apt install -y espeak-ng speech-dispatcher
|
|
pip3 install --upgrade ultralytics vosk sounddevice
|
|
|
|
apt install -y libportaudio2 portaudio19-dev libsndfile1
|
|
pip3 install --upgrade sounddevice --break-system-packages
|
|
|
|
wget https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz
|
|
tar xvfz piper_amd64.tar.gz -C $ALFRED_FOLDER/piper
|
|
cd $ALFRED_FOLDER/piper/
|
|
mv piper piper-tts
|
|
|
|
ls -la /usr/bin/piper-tts/ | grep piper
|
|
-rwxr-xr-x 1 root root 461024 6 nov. 16:19 libpiper_phonemize.so
|
|
-rwxr-xr-x 1 root root 461024 6 nov. 16:19 libpiper_phonemize.so.1
|
|
-rwxr-xr-x 1 root root 461024 6 nov. 16:19 libpiper_phonemize.so.1.1.0
|
|
-rwxr-xr-x 1 root root 2825992 6 nov. 16:19 piper
|
|
|
|
|
|
ls -la /usr/bin/ | grep piper
|
|
lrwxrwxrwx 1 root root 15 6 nov. 16:21 piper -> piper-tts/piper
|
|
drwxr-xr-x 3 root root 4096 6 nov. 16:19 piper-tts
|