Having an all-seeing eyeball that you know will detect your driving transgression is presumably sufficient to cause people to drive more safely.
As an example of the quirkiness of human behavior, some locations that had a red-light camera have removed their red-light intersection cameras for the very reason that it was supposedly spurring drivers to rush the intersection. Here’s why. Not wanting to get caught by the red-light camera, drivers would intentionally attempt to zip through the intersection. This led to apparently more dangerous driving situations and actually increased the chances of car crashes.
That’s quite a dose of irony.