python3
opencv
tqdm
For long time-lapses, it may be useful to set it up on a Raspberry Pi
apt-get update
apt install python3-opencv
The following command
python3 -m pylaspe --itype=sec --dtype=day --night=10 --output=mylapse \
--webcam=0 3 10
Will take pictures with webcam 0 for 3 days every 10 seconds
(every 100 seconds during the night) and store the pictures in folder mylapse
The time types (--dtype
, --itype
) can be:
sec
min
hour
day
python3 -m pylaspe.make --fps=24 mylapse mylapse.mp4
Will make the video mylapse.mp4
from folder mylapse
.
It will automatically handle partially grey images (capture issues) and
remove black pictures. You may use the --start
and --end
options to make
a smaller clip.
Setup:
Result: