Use of CCTV is on the rise in cities around the world. But cameras don't necessarily prevent crime. Researchers are now developing an automated alarm system that sends timely warnings when a situation appears dangerous or is escalating out of control.