Open sundar505 opened 4 years ago
I am not sure there is an API in face-api for this. All the relevant examples possible are given in the examples folder. Not seen one for eye lid detection. This is more aimed at the face itself.
You can use face landmark for eyes, and then find the vertical distance between the eyelids to recognize blink or closed eyes.
You can use face landmark for eyes, and then find the vertical distance between the eyelids to recognize blink or closed eyes.
No the model doesn't recognise whether eye is closed. The landmarks just show the position of eye.
You can use face landmark for eyes, and then find the vertical distance between the eyelids to recognize blink or closed eyes.
No the model doesn't recognise whether eye is closed. The landmarks just show the position of eye.
I am facing this issue now. The distance doesn't make too much difference when eyes are open and then closed. Just wondering what you did to address it.
Thanks for this awesome library.
I want to detect when user closes the eyes. I highly appreciate if I get code example.