Created
March 8, 2022 23:39
-
-
Save m87carlson/b0855ecec607975453e7cf34d38ebf50 to your computer and use it in GitHub Desktop.
simple script to take a still, over lay datetime, remove original
This file contains hidden or 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
#!/bin/bash | |
DATETIME=$(printf "%(%Y-%m-%d_%H%M%S)T") | |
raspistill -o /data/SecurityPi/HerbsAndSpice/TMP_$DATETIME.jpg | |
convert -pointsize 36 -fill yellow -draw "text 20,60 \"`date`\"" /data/SecurityPi/HerbsAndSpice/TMP_$DATETIME.jpg /data/SecurityPi/HerbsAndSpice/$DATETIME.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment