Mask spoofing in face recognition and countermeasures