A speed camera is being used to monitor traffic in a city.