[waffle js: 15min ver] kittycam: smile, you're on camera!
TRANSCRIPT
@girlie_mac
KittyCamSmile, you’re on camera!
Tomomi Imura (@girlie_mac)
@girlie_mac
Tomomi (@girlie_mac) is a:
● Front-End Engineer● Open Web + Tech Advocate● N00b Hardware Hacker● Sr. Developer Evangelist at
PubNub
@girlie_mac
KittyCamCamera app w/a motion sensor & cat facial detection
Hardware: Raspberry Pi, camera module, and PIR sensor
Software: Node.js + Open-source goodies
@girlie_mac
@girlie_mac
@girlie_mac
@girlie_mac
1. Raspberry Pi 2 (with WiFi adapter)
2. 5MP Camera Board Module
3. Pyroelectric Infrared (PIR) motion sensor
4. Female/Female wires
@girlie_mac
kittyCam.js1. Detect motion 2. Take photos3. Cat facial detection4. Store the photos5. Real-time view on web
@girlie_mac
kittyCam.js1. Detect motion (Johnny-Five IR.Motion obj) 2. Take photos (Raspistill, command line tool)3. Cat facial detection (KittyDar)4. Store the photos in Cloudinary5. Publish the url data to PubNub network &
subscribe them real-time to display on web
@girlie_mac
canvas
catDetect.js
app.js
kittyDar
Motion detected
take a photo
Store the photo if cats are detected
display photos on web browsers real-time anywhere
Johnny-Five w/ raspi-io
child process
Publish (the photo url)
Subscribe
@girlie_mac
PIR Motion Sensor
@girlie_mac
Raspistill for Camera Module
https://www.raspberrypi.org/documentation/usage/camera/raspicam/raspistill.md
@girlie_mac
PIR Sensor > Run Camera
motion detected!Take a photo!
@girlie_mac
Processing Photo
@girlie_mac
@girlie_mac
@girlie_mac
QA TeamLead QA:Jamie
Ginger Basil Alice YugiVenom@kittenVenom
@girlie_mac
https://twit.tv/shows/new-screen-savers/episodes/19
@girlie_mac
github.com/girliemac/RPi-KittyCam
@girlie_mac
Thank you!
@girlie_macgithub.com/girliemacgirliemac.comspeakerdeck.com/girlie_mac
Yes, I do feel pretty dumb using an underscore in my handle name in the first place...