None of this surprises me!There is, it's a device called Bridgeclear which detects such things. Unfortunately it costs money which is where the operator tends to lose interest.....
I was thinking a cheaper solution where the ticket machine could be programmed with vehicle height and use GPS (assuming modern kit has this for tracking anyway) and yelp out loud on roads approaching low bridges.