Raleigh tests an AI program to improve traffic light timing and safety, using real-time video data from cameras.