Multiple Supreme Courts have also made it clear several times that they believe you do not have a right to privacy in public spaces. So all the traffic camera databases do is automate and make easier something that is currently definitively legal.
The more pertinent issue in this case is that driving patterns should not be grounds for detainment without a warrant. Especially if you have no evidence to link the driver to the car. But unfortunately, the recent Supreme Court decision made suspicion of being an illegal immigrant grounds for detainment.