Last active
July 4, 2018 07:30
-
-
Save ali1234/2474ff0312094699b5d55ca707e52f20 to your computer and use it in GitHub Desktop.
How to run the google aiyprojects voice kit code on Ubuntu desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set up a python virtualenv: | |
virtualenv --system-site-packages -p python3 google-assistant-sdk | |
# enter the virtualenv: | |
source google-assistant-sdk/bin/activate | |
# install dependencies: | |
pip3 install google-assistant-sdk[auth_helpers]==0.1.0 grpc-google-cloud-speech-v1beta1==0.14.0 protobuf==3.1.0 | |
# the google code actually works out of the box on a default ubuntu install: | |
git clone git://github.com/google/aiyprojects-raspbian | |
# at this point you need to get credentials. this is explained on the aiyprojects site | |
# https://aiyprojects.withgoogle.com/voice/#users-guide-1-setting-up-your-device | |
# once you downloaded the credentials json file, run the assistant like this: | |
cd aiyprojects-raspbian/src | |
./main.py --assistant-secrets ~/assistant.json -T clap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found this is working on only raspberry pi 3
It would be better if I am able to use and edit this on my desktop and laptop
Thanks ali1234