Red light cameras

I’m a little confused as to what red light cameras look like exactly?

I thought most of them have a tiny black camera on top but this one I saw last week looks like there is just a white box attached to the traffic lights…?

That camera is to check if pedestrians are still on the crossing,so it wont change to green until the crossing is clear

^^^^^^^^
Totally FALSE

Detect the presence of a vehicle
The flat white boxes mounted at intersections detect the presence of a vehicle. They’re also known as “stop boxes.” They function like the old induction loops or sensors buried in the concrete near a light letting the traffic signal know a vehicle is waiting there.