Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quick'n dirty script to capture images for a timelapse
#!/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
You can’t perform that action at this time.