Facial recognition technology is now being used to make sure students are paying attention in school.