User Tools

Site Tools


iot:spz

OpenALPR

while [ 1 ]
do
wget --quiet http://@192.168.1.1/Streaming/channels/1/picture --output-document=/tmp/snapshot.jpg
status=$(alpr -c eu -p cz -n 5 -j /tmp/snapshot.jpg | grep confidence)
if [ "$status" != "" ]; then
curl --header "Content-Type: application/json" --request POST --data "$status"  https://{endpoint}
fi
sleep 2
done
iot/spz.txt · Last modified: 2020/01/22 12:09 by Jan Forman