Page 1 of 1

Python PiLapse - Timelapse code

Posted: Sat Nov 30, 2013 3:27 pm
by The HatMan
So I were bored today, and created a small bit of code that purely acts as a python script for doing timelapses. It is not all that great, I know, but I thought I would share it.

Please tell me if you see something unneeded in my code, and feel free to use the code if you feel like it, the code should work, and it works nicely here.
Link to pastebin

(requires the Pi camera module)

Re: Python PiLapse - Timelapse code

Posted: Sat Nov 30, 2013 7:34 pm
by TrevorAppleton
Good job!

I wrote a blog explaining how to program a time-lapse camera in Python last week. You may find it interesting as it works slightly differently to the way you have programmed yours.

http://trevorappleton.blogspot.co.uk/20 ... -with.html

Re: Python PiLapse - Timelapse code

Posted: Sun Dec 01, 2013 11:50 am
by The HatMan
Thanks!

I can see that your code is created for a slightly different purpose though, mine is created more for people who want to monitor an area with changes and the date, while yours is a lot easier to use for just creating a timelapse. Although I must say I do like the solutions in the code, and that it is alot more elegant than my patched together piece of code, though this is my first piece of code in python that does something more than just silly things.

Also, do you (or anyone else, for that matter) know about a simple way to use both the NoIR and the camera module? I find it interesting to see the IR values as well, and would really like a side by side comparison. And I don't really want to order another RasPi simply to do this (with the price here, and the post time from the states/the UK being quite long).

PS. Will you be mad at me for copying a tad of the code? ;)

Re: Python PiLapse - Timelapse code

Posted: Mon Dec 02, 2013 4:34 pm
by TrevorAppleton
Sorry, Cannot help you with NoIR as I am not sure what it is at the minute. Might get a chance to look into it later, and will feed back any info.

As for my code, please... help yourself :-)

Re: Python PiLapse - Timelapse code

Posted: Tue Dec 03, 2013 9:08 pm
by The HatMan
The NoIR is another camera module for the Pi, it takes (as the name suggests) images without IR, I personally have no use for it, but it would be really fun to mess around with.

Then I will steal some of it, I am also trying to make a small GUI and some settings and such, to make it less of a script and more of an actual program.