Created by Mike Kelly / @mikekellyio
it's a photobooth running on a Raspberry Pi!
Linux cli camera control
Photobooth Client
Use a framework for what its best at
Standing up something fast
Hardware Event Loop listening for button presses.
Photobooth page simply polls for the most recent images.
Need to run this to allow gphoto2 to connect to camera
#!/bin/bash
#
dev=`gphoto2 --auto-detect | grep usb | cut -b 36-42 | sed 's/,/\//'`
echo "/dev/bus/usb/${dev}"
sudo chmod 777 /dev/bus/usb/${dev}
exit 0