Skip to content
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

Clarification about Smile/Blink #3

Open
kur0saki opened this issue Feb 25, 2020 · 5 comments
Open

Clarification about Smile/Blink #3

kur0saki opened this issue Feb 25, 2020 · 5 comments

Comments

@kur0saki
Copy link

Can you please explain the liveness detection and how can we set it up correctly ?
I run your code , it labels my face as unknown although I encoded it before.
Smiling and blinking doesn't help either.

@kur0saki
Copy link
Author

Any Tips ?

@ms-shankar
Copy link
Contributor

Hello,

The face detection part works. Please check if the steps have been followed correctly.
Also, there is a new PR merged that enhances the liveness detection part. Let us know exactly what steps were followed.

@kur0saki
Copy link
Author

Thank you for replying.
It turns out it was a mistake from my side , my face gets detected correctly , yet "[info] invoking Hodor " doesn't get displayed even with smiling or blinking , which means it doesn't get through the liveliness process.

I read your article on medium , and it was mentioned that you could set up a liveliness pattern for each user , my question is how can I do that ?

Thank you again.

@ms-shankar
Copy link
Contributor

Thanks for using BRAN and also helping us improve it.

To answer your questions:

  1. The liveliness detection with pattern detection was an experimental idea that was included to support and validate a generic/common pattern among all users by not being user-specific. This could, however, be extended by storing personalized pattern for each user and using them to validate users

  2. Currently, the liveliness detection is limited to smiling and blinking of eyes as opposed to a pattern of blinks/smiles. print('INFO - {}'.format("Invoking Hodor"))gets executed when the user a) smiles and then b) stops smiling after holding the smile for at least a second. The most important point is to ensure that the smile is not a static one.

@kur0saki
Copy link
Author

kur0saki commented Feb 26, 2020

Alright. Understood.

One more thing , about the liveliness pattern we set up with the argument " -l " at execution.
For example :-l xxxooo

Means what exactly ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants