https://github.com/artbit/jasper-module-selfie
Jasper webcam snapshot module for my HAL9000 Raspberry PI project.
https://github.com/artbit/jasper-module-selfie
jasper jasper-module jasper-modules selfie webcam webcam-capture
Last synced: 7 months ago
JSON representation
Jasper webcam snapshot module for my HAL9000 Raspberry PI project.
- Host: GitHub
- URL: https://github.com/artbit/jasper-module-selfie
- Owner: ArtBIT
- License: mit
- Created: 2016-06-18T17:09:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T15:37:07.000Z (about 8 years ago)
- Last Synced: 2025-03-08T21:39:08.234Z (7 months ago)
- Topics: jasper, jasper-module, jasper-modules, selfie, webcam, webcam-capture
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Jasper-Module-Selfie
Jasper Selfie Module for my [HAL9000 Raspberry PI Instructable](http://www.instructables.com/id/RaspberryPI-HAL9000/)
## Steps to install Selfie Module
* 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
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](http://jasperproject.github.io/documentation/configuration/#mailgun) or gmail account set-up for Jasper.
* Restart the Pi:
```
sudo reboot
```
## Congrats, JASPER Selfie Module is now installed and ready for use.
Here are some examples:
```
YOU: Take a photo.
JASPER: *shutter sound* Nice.
YOU: Selfie.
JASPER: *shutter sound* Cute.
```##Credits
[shutter.wav](https://www.freesound.org/people/benjohansen/sounds/87149/) was sampled by Ben Johansen