Giter VIP home page Giter VIP logo

face_unlock's Introduction

Lock/Unlock Ubuntu OS

Introduction

We can lock and unlock our Ubuntu system using face recognition(currently only on Ubuntu).

Demo

Demo video

Requirements

Install below the required library in your local machine.

  1. python 3.7
  2. opencv 4.1.0
  3. numpy
  4. face-recognition
  5. sudo apt-get install gnome-screensaver
  6. sudo apt-get install xdotool

Quick Start

I have used three python files to solve this issue.

  1. face_generate.py  This will detect your face and save it in the dataset folder then the new folder will create with your name.  
  2. face_train.py  This python file will open the dataset folder and take your image from that and train your face using the K-nearest neighbor algorithm and face_recognition library.  
  3. face_unlock.py  This is an important python file that will detect your face using the webcam and unlock the system.

Having problems?

If you run into problems, Please feel free to connect me on Linkedin and Twitter

Contributing

Code contributions are also very welcome. feel free to open an issue for that too.

To do:

  • Support Windows and Mac OS.
  • Train face using browser(UI).
  • Increase performance and speed.

face_unlock's People

Contributors

balavenkatesh3322 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.