[cron] removed old blackcheck

This commit is contained in:
Felix Buehler 2017-12-23 23:59:30 +01:00
parent 6acc7d0f37
commit 56bac44c6b
3 changed files with 1 additions and 7 deletions

@ -1 +0,0 @@
Subproject commit fb5af1f8bb72c987c49c77ea8ed558196765f011

View file

@ -1 +0,0 @@
/home/felix/code/python/blackcheck/blackcheck.py

View file

@ -7,8 +7,4 @@ basename=$(dirname $(readlink -f $0))
mkdir -p $path mkdir -p $path
streamer -q -f jpeg -s $size -o $path/$now.jpeg -r 1 streamer -q -f jpeg -s $size -o $path/$now.jpeg -r 1
grey="$($basename/blackcheck/blackcheck.py -i $path/$now.jpeg -d 10)" exit $?
if [ "$grey" = "True" ] ; then
mv $path/$now.jpeg $path/black/$now.jpeg
fi
exit 0