Application - Google Assistant:修訂間差異

出自flip the world
Tommy留言 | 貢獻
無編輯摘要
Tommy留言 | 貢獻
Refactor: add [[Category:Projects ]]
 
(未顯示同一使用者於中間所作的 4次修訂)
第1行: 第1行:
[[File:Alexa-logo-3.png|300px|Alexa Logo]] [[File:Sym plus.jpg]] [[File:Google-Assistant.png|300px|Google_assistant Logo]]
[[File:Alexa-logo-3.png|300px|Alexa Logo]] [[File:Sym add.jpg|100px]] [[File:Google-Assistant.png|300px|Google_assistant Logo]]
== Hardware ==
== Hardware ==
* PRi
* PRi
第40行: 第40行:
* [https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/config-dev-project-and-account, Configure a Developer Project and Account Settings]
* [https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/config-dev-project-and-account, Configure a Developer Project and Account Settings]
* [https://github.com/cmusphinx/pocketsphinx, PocketSphinx]
* [https://github.com/cmusphinx/pocketsphinx, PocketSphinx]
[[Category:Projects]]

2026年8月21日 (五) 13:17的最新修訂

Alexa Logo 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