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
contrast_detection_threshold = 0.3 skip_detection = 0 max_plate_width_percent = 100 max_plate_height_percent = 100