geomin76 / pilapse

A Raspberry Pi Python command line tool that records, compiles and emails timelapse video clips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PiLapse

Welcome to PiLapse!

sample time lapse demo!

PiLapse is a Raspberry Pi Python command line tool that records, compiles and emails time lapse video clips

Getting Started

Setting up the arducam

Open pilapse.py, go to line 40 and 41 and fill in the EMAIL ADDRESS OF THE SENDER and EMAIL PASSWORD OF THE SENDER

Ensure that your email is allowing "less secure apps" to access the email account

Open a command line, and type these commands

  • $ git clone https://github.com/geomin76/pilapse.git
  • $ cd pilapse
  • $ python -m venv venv
  • $ pip install -r requirements.txt

You're fully installed and ready to run the timelapse tool! Refer to the documentation below on how to run this application

Documentation

Usage:
  pilapse.py [-vq] [--interval INTERVAL] 
                   (--photos | --time | --cliplen) VALUE 
                   [--email EMAIL] ...
  pilapse.py --help
  pilapse.py --version

Arguments:
  VALUE                 Total number of time or photos
  EMAIL                 Email to send file to

Options:
  -v                    verbose mode
  -q                    quiet mode
  --photos              Number of photos to be taken
  --time                Total time to be elapsed
  --cliplen             Length of time lapse clip
  --interval=INTERVAL   Interval of photos [default: 5s]
  --email=EMAIL         Email to send file to
  --help                Show this scre

Examples

  • pilapse.py --interval 10s --photos 100 --email someone@email.com
    • This command will take 100 photos in 10 second intervals (1000 seconds or 16.67 minutes). After the time lapse is complete, it will email to someone@email.com
  • pilapse.py -v --cliplen 5m --email someone@email.com
    • This command will create a 5 minute timelapse video with default 5 second intervals. After the time lapse is complete, it will email to someone@email.com. The Python file will also provide verbose logging.
  • pilapse.py -q --interval 3s --time 4h --email someone@email.com
    • This command will take a timelapse of 4 hours with 3 second intervals. After the time lapse is complete, it will email to someone@email.com. The Python file will also provide quiet logging.

About

A Raspberry Pi Python command line tool that records, compiles and emails timelapse video clips


Languages

Language:Python 100.0%