Ever vigilant: All CCTV cameras can do these days is watch, but soon they could be able to predict when targets are about to break the law