Smart device with Raspberry Pi
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
camera
cloudspeech
trans
vision
README.md
button_action.py
button_count.py
buttond.service
meshlocal.json

README.md

Raspberry Pi Smart devices with Google APIs

Each programs are described in the articles in DevicePlus

How to setup the smart app and hardware

  1. Install Google AIY to your Raspberry Pi

  2. Make smart folder and copy examples from AIY python

mkdir ~/AIY-projects-python/src/smart
sudo cp ~/AIY-projects-python/src/examples/voice/* ~/AIY-projects-python/src/smart/
  1. Place each files to the smart folder

  2. Setup required software

  • Downlaod and install Seeed software
git clone https://github.com/respeaker/seeed-voicecard.git
cd seeed-voicecard
sudo ./install.sh
reboot
sudo pip install spidev
cd ~/
git clone https://github.com/respeaker/mic_hat.git
cd mic_hat
python pixels.py
wget https://www.a-quest.com/archive/package/aquestalkpi-20130827.tgz
tar xzvf aquestalkpi-*.tgz
  1. Setup Google SDK
  • Setup Google Vision
sudo nano ~/.bashrc

Add GOOGLE_APPLICATION_CREDENTIALS="/home/pi/visionxxx.json

echo $GOOGLE_APPLICATION_CREDENTIALS
  • Setup Google Translate
pip install --upgrade oauth2client
pip install --upgrade google-cloud-translate

How to use the apps