Code Monkey home page Code Monkey logo

priyansh-shukla / face-recognition-liveness-detection Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 6.0 31.23 MB

Using Google’s FaceNet (Inception) model to learn the mapping of face images into compact Euclidean space distances for face recognition, A multi-task cascaded framework (MTCNN) for feaure extraction, and Liveness detection by tracking the relative distances between these features.

Jupyter Notebook 97.88% Python 2.12%
face-verification face-recognition liveness-detection mtcnn

face-recognition-liveness-detection's Introduction

Face Verification with "Liveness" Detection

Flow of the Setup

Many developments have taken place in the field of face-recognition and liveness analysis to improvise various device securities and attendance verification systems. Many approaches have incorporated 3D scans of the face to predict the liveness of the person in front of it. Our method of analysis tries to account for this problem without using advanced 3D imaging techniques or hardware. It consists of two parts, the former helps in face verification and the latter to check the liveness of the face in front of it.

In the first part, we have used a model based on Google’s FaceNet (Inception) Model which learns a mapping from face images to compact Euclidean space distances, which directly correspond to the measure of similarity of the images. Once the space has been produced, face verification can be easily implemented using standard techniques with embeddings as feature vectors.

For the second part, we have employed a cascaded multi-task framework that extracts certain features from the facial image which are then used to check for liveness by tracking their relative displacements. In this case, Multi-Task Cascaded Convolutional Network (MTCNN) has been used. These extracted features were used to check the liveness of the person’s face by asking them to perform some tasks in a random order like moving their head towards right or smile etc.

Testing Video

Watch the video

face-recognition-liveness-detection's People

Contributors

priyansh-shukla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

face-recognition-liveness-detection's Issues

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.