![]() If the authorization process is done successfully, you will get the information as below.Ĭredentials saved: /path/to/.config/google-oauthlib-tool/credentials.json ![]() Please go to this URL: Enter the authorization code: Please visit this URL to authorize this application: Go to the URL, you are asked to log in your Google Account and get the authorization code by following guides, Copy the code to the terminal Then you will get an URL, please copy it and open it on browser of your PC. save -headless -client-secrets /path/to/client_secret_ client-id. (env) $ python -m pip install -upgrade google-auth-oauthlib (env) $ python -m pip install -upgrade google-assistant-sdk (env) $ sudo apt-get install portaudio19-dev libffi-dev libssl-dev Following the fourth step of the guide to register device model Install Google Assistant SDK Don't forget to copy the JSON file to your Raspberry Pi. Please follow the third step of the official guide to configure and create OAuth Client ID JSON file. asoundrc fileĪccoding to the official guide to install Google Assistant Service asoundrc file in /home/pi directory (the user directory)Īdd the following lines to the. INFO:snowboy:Keyword 1 detected at time: 11:30:16Ħ. Try to say snowboy, you will hear ding and the information below are printed on the mirror Python3 demo.py resources/models/smart_mirror.umdl Change from.import snowboydetect to import snowboydetect. Note: The following steps should be take in the virtual environment, if you close the terminal and restart it, you should use the command below to enter the environment again firstly Sudo apt-get install python3-dev python3-venvĮnv/bin/python -m pip install -upgrade pip setuptools wheel
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |