It's illegal in NH for officials to use any electronic surveillance to identify you or your vehicle, unless specifically authorized by law, or for investigation of a particular crime, for viewing traffic conditions (but not recording), incidental to surveillance of a public building, bridge or to implement the EZ-pass toll system.
The use of automated number plate scanning devices is also prohibited, except IAW the above.
Your state and local laws may have something similar.