Giter Site home page Giter Site logo

raspimotiondetect's Introduction

Intro

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!

Features

  • 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.

PreRequisites

  • 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
      
      tar -zxvf gdata-2.0.18.tar.gz 
      cd gdata-2.0.18
      sudo python setup.py install
    

TODO

  • It would be nice to allow uploads to other online providers.
  • The code definitely needs a bit of a cleanup.

raspimotiondetect's People

Contributors

zeronickname avatar maal avatar mikerr avatar

Stargazers

MUHAMMAD MANNIR AHMAD avatar

Watchers

MUHAMMAD MANNIR AHMAD avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.