All Projects → warchildmd → Google Assistant Hotword Raspi

warchildmd / Google Assistant Hotword Raspi

Licence: mit
Simple Google Assistant with hotword activation from Snowboy setup for my Pi Zero W.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Google Assistant Hotword Raspi

Gassistpi
Google Assistant for Single Board Computers
Stars: ✭ 911 (+523.97%)
Mutual labels:  assistant, google-assistant, raspberry-pi
Assistants Pi
Headless Google Assistant and Alexa on Raspberry Pi
Stars: ✭ 280 (+91.78%)
Mutual labels:  assistant, google-assistant, raspberry-pi
Athena
A free and open source replacement for Google Assistant on Android devices, meant to integrate with the Sapphire Framework. It contains both speech-to-text and text-to-speech services. It does not require Google services or network connectivity
Stars: ✭ 73 (-50%)
Mutual labels:  assistant, google-assistant
Seeed Voicecard
2 Mic Hat, 4 Mic Array, 6-Mic Circular Array Kit, and 4-Mic Linear Array Kit for Raspberry Pi
Stars: ✭ 297 (+103.42%)
Mutual labels:  google-assistant, raspberry-pi
Assistant Relay
A Node.js server that allows for sending commands to Google Home/Assistant from endpoints
Stars: ✭ 638 (+336.99%)
Mutual labels:  assistant, google-assistant
Qtswissarmyknife
QSAK (Qt Swiss Army Knife) is a multi-functional, cross-platform debugging tool based on Qt.
Stars: ✭ 196 (+34.25%)
Mutual labels:  assistant, raspberry-pi
Asher.Ai
Welcome to the API side of Asher, where all the language processing happens.
Stars: ✭ 20 (-86.3%)
Mutual labels:  assistant, google-assistant
Assistantcomputercontrol
Control your computer with your Google Home or Amazon Alexa assistant!
Stars: ✭ 554 (+279.45%)
Mutual labels:  assistant, google-assistant
Smart Home
Phodal's Smart Home Setup Guide:HomeBridge + Home Assistant + Amazon Echo
Stars: ✭ 149 (+2.05%)
Mutual labels:  assistant, raspberry-pi
Google Assistant Java Demo
A simple Google Assistant Client in Java
Stars: ✭ 53 (-63.7%)
Mutual labels:  assistant, google-assistant
Mic hat
2 Mic Array for Raspberry Pi
Stars: ✭ 69 (-52.74%)
Mutual labels:  google-assistant, raspberry-pi
Tock
Tock - the open source conversational AI toolkit
Stars: ✭ 175 (+19.86%)
Mutual labels:  assistant, google-assistant
Naomi
The Naomi Project is an open source, technology agnostic platform for developing always-on, voice-controlled applications!
Stars: ✭ 171 (+17.12%)
Mutual labels:  assistant, raspberry-pi
Gbridge
gBridge.io allows you to control (almost) anything with Google Assistant, by translating voice commands to MQTT messages.
Stars: ✭ 152 (+4.11%)
Mutual labels:  assistant, google-assistant
Macassistant
Google Assistant for macOS!
Stars: ✭ 1,564 (+971.23%)
Mutual labels:  assistant, google-assistant
Flask Assistant
Framework for Building Virtual Assistants with Dialogflow and python
Stars: ✭ 358 (+145.21%)
Mutual labels:  assistant, google-assistant
Jarvis
Jarvis.sh is a simple configurable multi-lang assistant.
Stars: ✭ 701 (+380.14%)
Mutual labels:  assistant, raspberry-pi
Laibot Client
开源人工智能,基于开源软硬件构建语音对话机器人、智能音箱……人机对话、自然交互,来宝拥有无限可能。特别说明,来宝运行于Python 3!
Stars: ✭ 81 (-44.52%)
Mutual labels:  google-assistant, raspberry-pi
Gladys
A privacy-first, open-source home assistant
Stars: ✭ 1,874 (+1183.56%)
Mutual labels:  assistant, raspberry-pi
Blinker Doc
blinker中文文档
Stars: ✭ 139 (-4.79%)
Mutual labels:  raspberry-pi

google-assistant-hotword-raspi

Simple Google Assistant with hotword activation from Snowboy setup for RaspberryPi 1 and Zero W.

Setup

1. Google Assistant Python setup on Raspbery Pi

  • Configure a Developer Project and Account Settings
  • Configure and Test the Audio
  • Setup virtual environment
    -   (Recommended) For Python 3:
    
        sudo apt-get update
        sudo apt-get install python3-dev python3-venv
        python3 -m venv env
        env/bin/python -m pip install pip setuptools --upgrade
        source env/bin/activate
    
    -   For Python 2:
    
        sudo apt-get update
        sudo apt-get install python-dev python-virtualenv
        virtualenv env --no-site-packages
        env/bin/pip install pip setuptools --upgrade
        source env/bin/activate
    
  • Install dependencies sudo apt-get install portaudio19-dev libffi-dev libssl-dev
  • Install Google Assistant SDK + Samples python -m pip install google-assistant-sdk[samples]
  • Get credentials pip install --upgrade google-auth-oauthlib[tool] google-oauthlib-tool --client-secrets path/to/client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
  • Test using the sample python -m googlesamples.assistant Issue commands after pressing enter and if you did all the steps above Google Assistant should respond.

PS On Raspberry Pi Zero W this setup takes about 30-40 minutes.

2. Snowboy Python setup on Pi - Github

  • (Optional - The required files are already in this repo) Download Snowboy compiled library for all versions of Pi + demo
  • Install dependencies sudo apt-get install python-pyaudio python3-pyaudio sox
  • Install BLAS sudo apt-get install libatlas-base-dev
  • Install PyAudio pip install pyaudio You should be able to recored audio using: rec temp.wav

PS For Python 3 rename _snowboydetect.so_py3 to _snowboydetect.so.

Train your own hotwords or download existing ones from https://snowboy.kitt.ai/

3. Run gassistant.py and you should have a working Google Assistant with hotword activation

`python gassistant.py models/ok_google.pmdl`
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].