install tweepy, and launch che command inside the commandline program in the linux machine.
open your webcam program, set the apropriate directory to save the pictures, and take note of the keybinding for taking picture (i.e. spacebar or 'i')
modify charlie_tweetphotoboot.ino to emit this key by writing it in the keyTrigger variable, install it in an Arduino Leonardo and add a ping sensor and a neopixel led strip.
remember to bring the webcam program in focus.