Created
February 21, 2016 12:36
-
-
Save MickaelBergem/95a3d24d9f72966c033e to your computer and use it in GitHub Desktop.
Quick'n dirty script to capture images for a timelapse
This file contains 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
#!/usr/bin/python3 | |
import os | |
import time | |
from datetime import datetime | |
while(True): | |
os.system("/usr/bin/raspistill -o 'timelapse-{}.jpg'".format(datetime.now().isoformat())) | |
time.sleep(15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment