This repository contains code for voice control for the smart blinds capstone project.
sudo apt install -y git build-essential libatlas3-base libgfortran5 portaudio19-dev python3-dev
pip3 install -r requirements.txt
./download-models.sh
Install docker buildx if needing to build/run tests using docker.
To run the voice control script:
python3 src/voice_control.py
./docker-build.sh
./docker-run-tests.sh
Note: this doesn't work properly since docker container doesn't recognize microphone
./docker-run.sh
To see output:
docker logs --follow rpi-voice-control
To run an interactive container as other container runs for debugging:
./docker-run-interactive.sh
./docker-kill.sh
This script should usually only be run the CI/CD system.
./docker-push.sh
Note: requires you to run docker login
before you run this script.