This started off as a simple Intervalometer, but I pretty quickly came to the conclusion that without motion detection, a naive implementation of an intervalometer is kindof useless. You just wind up with either a lot of pictures, or you miss the really important ones.
So, this script now has some configurable parameters to tweak the motion sensitivity and as long as there is movement, it takes and uploads pics continuously to Picasa/Google Plus Photos. (python based motion detect code originally from here).
Picasa was chosen as an endpoint because photos less than 2048x2048 do not count towards your storage. Plus google kindly stitches together similar photos to create an animated gif, which is pretty awesome!
- Configurable motion detection sesitivity.
- Automatically stop monitoring and exit after a set time (makes it easy to start from cron daily)
- Monitor only parts of the image for motion (thanks Kesthal)
- Automatically create new albums on picasa every 1000 photos.
-
RaspberryPi with a camera board :)
-
raspistill installed and configured (part of RaspiCam)
http://www.raspberrypi.org/camera
-
Python 2.x
-
Python Imaging Library (PIL)
apt-get install python-imaging-tk
-
gdata-python-client, downloaded and installed
https://developers.google.com/gdata/articles/python_client_lib#library
- It would be nice to allow uploads to other online providers.
- The code definitely needs a bit of a cleanup.