Can software hooked up to a surveillance camera detect illegal activities? Can it tell when a cashier is giving a friend free items? Can it tell when someone on an airplane is about to commit a terrorist act? Researchers and a few companies are developing and selling such systems, but critics say their claims are overblown.