Where I'm at, there are "speed vans", these survey boxes are also used to determine where the speed vans should be placed, though the other uses such as vehicle weight/axle count others mentioned are the main function afaik.
These speed vans are equipped with cameras that can capture several lanes and directions, from a great distance. You just drive past these things and they have a sign on top saying "your speed has been checked".