# sunflower-timelapse

## Introduction ##
These files are part of the ```sunflower-timelapse``` project. Full details are available at https://tamboekie.github.io/sunflower-timelapse/.

## sunflowercam.sh ##
This script should be copied to your Raspberry Pi. Add a cron job to call it regurlarly - say once very 5 minutes.
* Uses ```raspistill``` which is standard on Raspbian Wheezy / Jesse
* Tested on Raspbian Jesse with a Raspberry Pi 3 and camera module v1

## mklapse.sh ##
This script is used to encode the images captured by the Raspberry Pi camera into a time-lapse video. It tries to compensate for exposure between images, as well as variations in white balance.
* Dependancies
  * ```autowhite``` script by [Fred Weinhaus](http://www.fmwconcepts.com/imagemagick/autowhite/index.php)
  * ```timelapse-deflicker``` script from https://github.com/cyberang3l/timelapse-deflicker
  * ```ffmpeg``` and ```imagemagick``` packages from the repo
* Options
  * ```-r|--rate <number>``` will set the output video frame rate to \<number\>. The default is 60
  * ```-o|--outfile <filename>``` sets the output video to \<filename\>. The default is out_mklapse.mp4
* Tested on Ubuntu 16.04

# sunflower-timelapse

## Introduction ##
These files are part of the ```sunflower-timelapse``` project. Full details are available at https://tamboekie.github.io/sunflower-timelapse/.

## sunflowercam.sh ##
This script should be copied to your Raspberry Pi. Add a cron job to call it regurlarly - say once very 5 minutes.
* Uses ```raspistill``` which is standard on Raspbian Wheezy / Jesse
* Tested on Raspbian Jesse with a Raspberry Pi 3 and camera module v1

## mklapse.sh ##
This script is used to encode the images captured by the Raspberry Pi camera into a time-lapse video. It tries to compensate for exposure between images, as well as variations in white balance.
* Dependancies
  * ```autowhite``` script by [Fred Weinhaus](http://www.fmwconcepts.com/imagemagick/autowhite/index.php).This script is Copyright © Fred Weinhaus and is used with permission
  * ```timelapse-deflicker``` script from https://github.com/cyberang3l/timelapse-deflicker
  * ```ffmpeg``` and ```imagemagick``` packages from the repo
* Options
  * ```-r|--rate <number>``` will set the output video frame rate to \<number\>. The default is 60
  * ```-o|--outfile <filename>``` sets the output video to \<filename\>. The default is out_mklapse.mp4
* Tested on Ubuntu 16.04

Add Copyright © Fred Weinhaus
Add Copyright © Fred Weinhaus

Emailed Fred Weinhaus on 30/8/2016 and obtained permission to use the 'autowhite' script