A New Zealand university is using facial recognition on students at one of its overseas campuses in China.