Police hope to curb gun violence in the city where more than 300 people have been killed in each of the past four years.