Manuel Koller 10 anni fa
commit
be65749e7e
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12 0
      capture

+ 12 - 0
capture

@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# set working dir to script's base dir
+cd ${0%/*}
+
+DATE=$(date +"%Y-%m-%d_%H%M%S")
+
+dir_path="./slides/`date -I`"
+
+mkdir -p $dir_path
+
+raspistill -vf -hf -o "$dir_path/$DATE.jpg"