Disclaimer: This is the result of a weekend hackathon on the Intel Joule and is not yet in an easily usable state. We will be working to improve this over time, but for now, use this only as a reference.
Contributing: You are welcome to contribute code using the Github Flow See issues for some ideas.
- Intel Joule with sensor kit and Real Sense camera
- IBM Bluemix account (free Trial available)
- Google cloud account
- Twilio account
- A hat and some method of fastening
- (optional) a battery pack with barrel adapter that can power the Joule
-
Set up your Joule with Ubuntu 16 (Xenial Xerus)
-
Install Git on the Joule
$ sudo apt-get update $ sudo apt-get install git
-
Install Node (6.x LTS) on the Joule - Instructions
-
From the github website, fork this repo to your own github account using the fork button on the top right.
-
Clone your new repo to the board - Instructions
-
Set up your free Bluemix trial account
-
Set up an OpenWhisk instance, translation service, and text to speech service (instructions on the way)
-
Set up Google account
-
Set up Google Vision (instructions on the way)
-
Navigate to the folder where you cloned the repository
-
Install dependencies in bluemix, google_vision, picToSpeech, playWavFile, twilio folders
$ npm install
- Refer to below instructions on how to get each service running ... To be continued ...
// node picToSpeech/itowave_spanish.js [path to image file] [path to generated wav file]
$ node picToSpeech/itowave_spanish.js picToSpeech/small.jpg test3.wav
// node picToSpeech/itowave.js [path to image file] [path to generated wav file]
$ node picToSpeech/itowave.js picToSpeech/small.jpg test3.wav
// aplay [wav file]
$ aplay test3.wav
// node twilio/index.js [message] [to number] [from number]
$ node twilio/index.js "word to your mother." "123-123-1234" "111-111-1111"
// Requires sudo because of GPIO
$ sudo sh blinker/blink_left.sh
// Requires sudo because of GPIO
$ sudo sh blinker/blink_right.sh