GithubHelp home page GithubHelp logo

rpi-timelapse's Introduction

rpi-timelapse

A timelapse camera controller for Raspberry Pi and Canon EOS 350d (should work with any camera supported by gphoto2 with minor tweaks), with an optional UI and controls on the Adafruit LCD Pi plate.

Installation

rpi-timelapse uses gphoto2 and imagemagick. To install these dependencies on your pi:

$ sudo apt-get install gphoto2
$ sudo apt-get install imagemagick

Run

python tl.py

Run on boot

Follow the instructions at http://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi/init-script using timelapse file from this repo instead of lcd.

Post-Processing

Here's how to post process the image frames (on Linux, can be run on the Pi itself, but faster on desktop).

Remove flicker if timelapse used many shutter values

for a in *; do echo $a;/opt/ImageMagick/bin/mogrify -auto-gamma $a;done

Be careful with auto-gamma - it works extremely well for sunset / sunrise but can make very dark areas of the scene very noisy.

Convert the resulting JPEGs to a timelapse movie

ffmpeg -r 18 -q:v 2 -start_number XXXX -i /tmp/timelapse/IMG_%d.JPG output.mp4

Demo Video on YouTube (view in HD)

rpi-timelapse's People

Contributors

dps avatar

Watchers

James Cloos avatar m3o 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.