"Application - Google Assistant" 修訂間的差異

出自 flip the world
前往: 導覽搜尋
行 1: 行 1:
[[File:Alexa-logo-3.png|300px|Alexa Logo]] + [[File:Google-Assistant.png|300px|Google_assistant Logo]]
+
[[File:Alexa-logo-3.png|300px|Alexa Logo]] [[File:Sym plus.jpg]] [[File:Google-Assistant.png|300px|Google_assistant Logo]]
 
== Hardware ==
 
== Hardware ==
 
* PRi
 
* PRi

於 2018年8月23日 (四) 10:49 的修訂

Alexa Logo 檔案:Sym plus.jpg Google_assistant Logo

Hardware

  • PRi
  • Speake
  • Microphone

OS

  • Raspbian

Assistant Pi

AssistantPi is basically a tweak of AlexaPi allowing you to run Google Assistant and Amazon's Alexa on a Raspberry Pi. It includes the Google Assistant SDK and uses AlexaPi's hotword recognition to activate either Assistant or Alexa. The installer provides an easy way to get everything set up in just under an hour.

This is just an experimental proof-of-concept without broad support.

Credits / Further Resources:

    AlexaPi on Github
    AlexaPi Installation Guide
    Google Assistant SDK on Github
    Google Assistant SDK Getting Started Guide

Alexa

  • To start AssistantPi in debugging mode, stop the service (if running) and run the script with the -d flag:
    • sudo systemctl stop AlexaPi.service
    • python /opt/AlexaPi/src/main.py -d

Google assistant

  • To start the embedded Google Assistant SDK, run
    • /opt/AlexaPi/env/bin/python -m googlesamples.assistant --credentials /etc/opt/AlexaPi/assistant_credentials.json
# same as running
### source /opt/AlexaPi/env/bin/activate
### python -m googlesamples.assistant --credentials /etc/opt/AlexaPi/assistant_credentials.json

Reference