This repository built a simple CNN structure based on LeNet-5 to detect eye closure state. Given a facial image, the eye region is extracted through Dlib library and fed into the network for classification of open state or closed state.
eye region extraction using Dlib library
Using learning rate of 0.001, weight decay of 0.001, batch size of 32 and running 50 epochs: