This is the source code for the Dragon Detector project for more details of the electronics and build see https://www.element14.com/community/people/Workshopshed/blog and for the mechanical aspects see http://workshopshed.com/category/myprojects/dragon-detector/
Here it is in action, click image to see video
A short talk on the project https://skillsmatter.com/skillscasts/8225-linuxing-in-london
Dropbox API - https://www.dropbox.com/developers/documentation/python#install
piconzero - http://4tronix.co.uk/blog/?p=1224
IFTTT Maker API - https://ifttt.com/maker
OpenCV - http://opencv.org/