Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kivy-garden/garden.facelock

It is a flower made for kivy-garden
https://github.com/kivy-garden/garden.facelock

Last synced: about 1 month ago
JSON representation

It is a flower made for kivy-garden

Awesome Lists containing this project

README

        

Face Lock
=============

![ScreenShot 1](https://github.com/kivy-garden/garden.facelock/blob/master/Screenshot%201.png)
![ScreenShot 2](https://github.com/kivy-garden/garden.facelock/blob/master/screenshot.png)

## Usage Summary

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.

## How It Works

Import in your python file or kivy file
```
from kivy.garden.facelock import FaceLock
```

### See example.py file for more.
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](https://www.youtube.com/watch?v=jG3bu0tjFbk&list=PLQVvvaa0QuDdttJXlLtAJxJetJcqmqlQq&index=17) is a link from which I learnt. You can even use [standard cascades](https://github.com/opencv/opencv/tree/master/data/haarcascades) licensed by intel.

## FaceLock Properties

- *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.

## Want to contribute or need to see some improvements?
I would love that, please create an issue or send a PR.