Sensors aimed at curbing gun crimes