-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
face liveliness test by blinking eye #2313
Comments
Hi @ersaurabh101, Could you please point us the MediaPipe use case in the above demo. Thanks! |
Use case will be attendance capture, Before capturing i need to ensure, its human not a picture |
Can you share your code changes which include MediaPipe scripts to understand the issue much better. Thanks! |
I tried to use this code but it doesnt trigger any message in console, if you can help and get it to work or something similar - https://gist.github.com/kleysonr/d75494f239ad0dce561a55a624920693 I just need a valid trigger on blink. |
Hi @ersaurabh101, I don't see any MediaPipe CDN scripts added in the codebase. And facemesh is taken from tensorflow model as stated below. @tyrmullen Does this need any support from MediaPipe.
|
I am sorry for that, I tried to tell you what i am doing and what i need to achieve. I came to mediapipe from here- https://blog.tensorflow.org/2020/11/iris-landmark-tracking-in-browser-with-MediaPipe-and-TensorFlowJS.html I just need help , want to catch when eye blinks, if possible. If not , you can close this |
Hey @ersaurabh101,
Unfortunately, I can't help you with other person's code. Please, contact that person directly to get a fix
That can be done using MediaPipe JS solution mentioned by @sgowroji (please, explore the links in #2313 (comment)). To detect if someone blinked, you probably need to work with landmarks from the Sorry for the lack of specifics, hopefully this rough outline of one possible algorithm is a good starting point for your project! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
I am looking at this demo - https://storage.googleapis.com/tfjs-models/demos/face-landmarks-detection/index.html
How can i get a trigger when eye is blinked ?
If you can provide me any direction , it will be very helpful.
The text was updated successfully, but these errors were encountered: