Jasper Selfie Module for my HAL9000 Raspberry PI Instructable
- Install the
fswebcam
package:
sudo apt-get install fswebcam
- run the following commands in order:
git clone https://github.com/ArtBIT/jasper-module-selfie.git
cp jasper-module-selfie/Selfie.py <path to jasper/client/modules>
cp jasper-module-selfie/shutter.wav ~/
#i.e. cp jasper-module-selfie/Selfie.py /usr/local/lib/jasper/client/modules/
- Edit
~/.jasper/profile.yml
and add the follwing at the bottom:
selfie:
email: 'email.to.send.pictures@whatever.com'
- Make sure you have mailgun or gmail account set-up for Jasper.
- Restart the Pi:
sudo reboot
Here are some examples:
YOU: Take a photo.
JASPER: *shutter sound* Nice.
YOU: Selfie.
JASPER: *shutter sound* Cute.
##Credits shutter.wav was sampled by Ben Johansen