Glasses, especially reflective sunglasses, can hinder an algorithm from finding the points of reference it needs when determining whether there is a face in a photo. If there has been no facial detection, there will clearly be no facial recognition.