Strategically placed microphones on poles that listen for gunfire and triangulate the area where the shots were fired.
A friend of mine helped develop some of the software for this system.
Impressive.
In Chicago it probably takes a supercomputer to analyze the volume of fire.