Smart sensor could revolutionise crime and terrorism prevention