After detection of eyes next step is to estimate whether
the eyes are open or close. Earlier fatigue detection methods
based on eyes uses distance of eyelids to analyze eye state
[11, 12], but in our paper we are using the distance between
the two eyes to analyze eye state. Here we measure the
distance between the two peaks in the first frame and it is
referred as ‘eyedist’, then in each and every frame current
distance between the two peaks is calculated denoted by ‘d’
and it is compared with distance in previous frame and this
distance is referred as ‘dd’.