A university that says it can scan faces to predict if someone is a criminal has come under fire.