This widget can be used to make your application secure and it gets unlocked by detecting faces. You can use different face cascades for granting different access to different people by adding multiple cascade.
Latest commit adds some new features.
Import in your python file or kivy file
from kivy.garden.facelock import FaceLock
I have added cascade for general frontal face so that anyone can unlock the example application.
You can make your own face's cascade here is a link from which I learnt. You can even use standard cascades licensed by intel.
- index - NumericProperty(0). Index of your camera that you'd use.
- cascade - StringProperty(). Name of the cascade file(.xml) that you want to be detected.
- on_match - Event dispatched when your cascade is detected.
I would love that, please create an issue or send a PR.