Giter VIP home page Giter VIP logo

facerec's Introduction

FaceRec

An innovative way to mark attenence using face recognition.

Table of Contents

Problem Statement

Online education, though the need of the hour, has also given rise to a lot of instances of students missing classes and cheating. So, we need a robust and innovative system for attendance marking, which is altered for this particular situation.

Our solution

The images are captured and saved during the registration of each student in a database. A model is trained to differentiate between real live fed video and photographs The model first predicts if it is a real human. If it is a real human face then the siamese network comes into action. The siamese network compares photo with all the photo using cosine similarity. If the similarity is above a certain threshold then the person is marked present and the date and time is also noted This data in turn will be saved as a csv file for future reference.

Machine Learning

  1. The face-recognition package which has more than 99% accuracy detects face and encodes them
  2. This encoding is fed into a siamese network to compare the cosine similarity
  3. A threshold (95%) is set. Faces above this similarity are recognized
  4. A model is trained to classify real live image from photos which checks the liveliness

Dependencies

To run the project locally make sure to have the following dependencies installed on your system.

  1. flask
  2. flask-lgoin
  3. flask SQL Alchemy
  4. OpenCV
  5. pandas
  6. Keras
  7. Tensorflow
  8. face-recognition
  9. pyhton-3.x

Instruction

  1. Clone the project
  2. Install all the dependencies
pip install -r requirements.txt
  1. Save photos in People folder
  2. execute while in the directory
python app.py

Demo

The model recognizes the person and marks his/her attendance while recognizing possible fakes like images. Demo

Important Links

Presentation

facerec's People

Contributors

hyperloop11 avatar old-school-kid avatar somyaj15 avatar

Watchers

 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.