AI can now make it easier for cars to see in the dark, while ensuring other vehicles won’t be blinded by the light.