Millions of dollars have been spent on networks of sensors and cameras, but without proper analysis cities are no safer.