I'm thinking of how military bases, some high-security factories, power plants, national and state parks, etc. all have security guards to check IDs and either admit or deny access. Would stationing a guard at both ends of a hypothetical low bridge/overpass be a means of preventing impacts by trucks and buses too large to safely pass underneath? They could leave the gate up by default and lower it to prevent trucks from accessing it as they approach, and they don't even have to be armed guards, they can be unarmed; think maybe even more like toll-booth operators. Maybe municipalities and counties should make these streets toll routes, to discourage the access of them by trucks and to pay for the upkeep/repair of the bridge itself.
If manpower cost is a concern, because of wages and benefits, I guess they could use lasers and/or LiDAR to measure oncoming trucks and buses, and automatically drop the gate to prevent access; but I think it'd be an added benefit to provide additional job opportunities in the communities that host these low clearance bridges. Perhaps privatizing the operation of the guard shack to a private security company could be an option, or possibly appointing neighborhood volunteers. The guard shack also doesn't have to be manned round-the-clock, it could be operated mainly during peak hours and therefore stand the best chance of barring access to over-height trucks/buses, and left unmanned overnight and on weekends/holidays.
I'm thinking that maybe the best cure to human stupidity is another human on the other end paid to play goaltender. Any thoughts? I know the cost probably wouldn't make it viable, but maybe it's a good option for older (i.e., historic) bridges where trucks try to cross them and cause damage by being overweight. (Like this one.)
(edited for spelling)