blob: 31235254ffa066e4bcf6d96c3aab5ddaad4f793b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
export PATH=/usr/local/bin:/usr/bin
export LC_TIME=de_DE.utf-8
image=/mnt/ramdisk/$(date +'%H_%M').jpg
#take photo
rpicam-still -o $image
#add date string
convert $image -resize 1024x768 -gravity SouthEast -font DejaVu-Sans -pointsize 50 -stroke black -undercolor black -fill "rgba(255,255,255,0.5)" -annotate +30+30 "$(date +\\'%Y-%m-%d %H:%M\')" $image
#read cpu temp
read_temperature.py
#plot cpu temp
plot.py $image $image
|