'A life of fear and danger': Living in the Cape Flats
22 December 2014 Last updated at 06:47 GMT
South Africa has one of the highest murder rates in the world and drugs and gun crime fuel the cycle of violence in the Cape Flats, an area notorious for gangs.
But technology is now being used to allow the police to intervene as soon as a gunshot is heard.
Nomsa Maseko reports from Cape Town.