real-time eye blink detection using facial landmarks (paper)
The Objectives of a paper
SVM classifier detects eye blinks as a pattern of EAR values
real-time eye blink detection using facial landmarks.pdf
What is EAR(Summary)?
The eye aspect ratio (EAR) between height and width of the eye is computed.


EXPERIMENT
For observation, i insert code to see EAR history
arr.append(ear)
...
plt.plot(arr)
plt.show()

we can know that if EAR is smaller than around 0.3~0.28, then blinking. --> EYE_AR_THRESH = 0.3
Additional
If you want more detailed study go to
https://www.pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/
If you want source code
Last updated
Was this helpful?