Giter VIP home page Giter VIP logo

pi-hdr-timelapse's Introduction

pi-hdr-timelapse

Python scripts for capturing and merging HDR images on the Raspberry Pi and stringing them into a timelapse.

Installation

You'll need picamera (git source) for managing the camera, enblend/enfuse to generate the HDR images and avconv to generate the movie from the images.

sudo apt-get update
sudo apt-get install python-picamera enblend libav-tools

Then grab these files;

git clone https://github.com/KEClaytor/pi-hdr-timelapse.git

You should be good to go! Edit the first few lines of runhdrpi.py to your liking (exposure steps, time lapse steps) and go;

nano runhdrpi.py
python runhdrpi.py

Scheduled Run

You can also schedule timelapse images with cron (eg. for morning / afternoon timelapse). Make sure that the first line of runhdrpi.py points to your python install. Then just add the following line to your crontab (run crontab -e):

0 5,20 * * * /home/pi/path-to-script/runhdrpi.py >> /home/pi/path-to-log/runhdrpi.log

The above will run the script at 5 AM and 8 PM every day.

Note: It seems as though the pi's cron is a bit pecular about time zones. For instance, it should use the local time, however, I find mine only uses UTC (it seems like others have this problem too). So you may have to make allowances for that.

pi-hdr-timelapse's People

Contributors

keclaytor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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