Created
August 26, 2013 20:41
-
-
Save tatic0/6346414 to your computer and use it in GitHub Desktop.
shell script to generate pictures for a timelapse with RaspberryPi camera module using raspistill
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "how many pictures you want to take?" | |
read hmany | |
echo "at which interval" | |
read interval | |
counter=1 | |
while [ $counter -le $hmany ] | |
do counter=$(($counter+1)) | |
pictname=`date +%s` | |
raspistill -o tl-$pictname.jpg -q 100 -v -ex off -awb off -mm average -t 100 | |
sleep $interval | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sample video:
http://youtu.be/49B9zRhSGrk