Няма описание

Martin b189ac2494 refactor configuration structure преди 7 години
.vscode 307f0ca9f8 pythonpath преди 10 години
lib e6c142b0fe #21 add snowboy lib for rpi3 преди 9 години
resources d1beaef950 initial commit преди 10 години
voice_control b189ac2494 refactor configuration structure преди 7 години
.gitignore b189ac2494 refactor configuration structure преди 7 години
README.md 2e012e7455 better tts cache location, readmen doc преди 7 години
requirements.txt 60dac22f9b improved installation instructions преди 7 години

README.md

Voice Control

Linux:

aptitude install alsa-base alsa-utils alsa-tools libasound-dev python-virtualenv python-pip python-dev libportaudio2 flac libatlas-base-dev libsdl1.2-dev

enable apt src url(s)

aptitude build-dep python-pygame

PortAudio:

linux: http://portaudio.com/download.html, download, configure, make, make install
osx: brew install portaudio

add user to audio group: sudo usermod -a -G audio martin

set up a virtualenv, install python requirements, and link to a speech_recognition and snowboy dist folder from inside the venv python lib folder

environment variables:

  • PYTHONPATH (set to current dir)
  • GOOGLE_APPLICATION_CREDENTIALS (set to gcloud credentials path)