The large flat one looks like radar to me. I hadn’t heard of radar being used with PTZ cameras. But you can also use it standalone to measure traffic flow.
If it isn’t radar, it’s something with a large, flat antenna (probably a phased array). The other two options I can think of are a long-range RFID scanner or a point-to-point network connection.



Because of how wide and thin it is, it looks like a phased antenna array to me. It’s a way to create cheaper, performant antennas. You see this form factor with a bunch of RF applications in UHF to EHF range.
Here’s an example of a random mmWave radar board. Imagine a plastic case over this to keep out dust and rain.
https://www.alibaba.com/product-detail/60Ghz-long-distance-Millimeter-wave-radar_1601046927371.html