Last active
October 11, 2016 21:31
-
-
Save sunmockyang/555e6a6304b3384ed036c529bfd40e0e to your computer and use it in GitHub Desktop.
Single shot raspistill
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/sh | |
| WIDTH=1920 | |
| HEIGHT=1080 | |
| DIR="~/" | |
| mkdir -p $DIR | |
| FILE_NAME="${DIR}$(date +"%Y-%m-%d_%H%M%S").jpg" | |
| echo "TAKING PICTURE... ${FILE_NAME}" | |
| raspistill -w $WIDTH -h $HEIGHT -vf -hf -awb sun -n -o $FILE_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment