Eyeglasses detection for real-time videos based on face alignment with Dlib and OpenCV-Python
To determine the presence of glasses, the edgeness value (y-direction) of two important regions on the aligned face are computed. Then a indicator is constructed based on these values to do the class…