-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect eye blink? #345
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are the ret landmarks suitable to compute EAR?
more see https://pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/
def eye_aspect_ratio(eye):
# compute the euclidean distances between the two sets of
# vertical eye landmarks (x, y)-coordinates
A = dist.euclidean(eye[1], eye[5])
B = dist.euclidean(eye[2], eye[4])
The text was updated successfully, but these errors were encountered: