Code Monkey home page Code Monkey logo

present-sir's Introduction

Present-Sir

About the App :

This is an Attendance Tracking system using Real-time facial recognition. This app allows users to mark their attendance for any subject just by capturing their image using their phone's camera.

The app consists of a simple email password authentication system and takes your image when you sign up for the first time to verify your face. The next time you log in, you can choose the subject you want, capture your image, and the app verifies if the face is yours. If your face matches, your attendance for that subject gets marked; else, it shows you that your face didn't match. Once your attendance is marked, you cannot mark it again for the same day. The app also keeps a record of your attendance for every month and each subject for a year.

It also has a faculty screen (the faculty can only be added from the backend) that shows each student's data, and the teacher can know the attendance for a particular month and particular subject for any desired student.

Functionality & Concepts used :

The App has a very simple and interactive interface that helps the students mark their attendance and keeps the administration informed. Following are a few android concepts used to achieve the functionalities in App:

  • Simple & Easy Views Design: The App provide an intuitive and easy to use UI consisting of cards with interactive buttons, making it easier for students to track their attendance record.
  • Firebase Firestore: Student data, including their face (for recognition), are backed up online using Firebase Cloud Firestore.
  • Email Password Authentication: Student and faculty administration are being authenticated using Firebase Email-Password Authentication, where faculty can be added from the Firebase only.
  • RecyclerView: To present the list of all students and display their attendance records to faculty, an efficient RecyclerView is used.
  • DrawerLayout: The main activity uses a DrawerLayout to smoothly switch between various activities.
  • Google ML Kit: It is used to detect face from a given image which is then fed to the TensorFlow Lite model.
  • TensorFlow Lite: The Deep Neural Network-based model, with a high accuracy rate, compares faces and tells if they are of the same person or not.

Screenshots from App :

sampleImage

Real Time Face Recognition :

One of the main features of this app is Real-Time Face Recognition which is achieved using a Deep Neural network-based TensorFlow lite model. The working of the Facial Recognition system is as follows-

  1. Using Google ML Kit on an input image, the face is detected.
  2. The image is warped using the detected landmarks to align the face (so that all cropped faces have the eyes in the same position).
  3. Next, the face is cropped and resized adequately along with some image pre-processing operations like normalizing and whitening the face to feed the recognition Deep Learning model.
  4. The deep neural network DNN takes as input a face F and gives as output a D =128 dimensions vector (of floats). This vector E is known as embeddings. These embeddings are created such as the similarity between the two faces F1 and F2 can be computed simply as the euclidean distance between the embeddings E1 and E2.
  5. Then, the two faces, F1 and F2, are compared by computing their Similarity, and checked against some threshold. If lower, it says that both faces are from the same person. Although the model used is heavy, its high accuracy and great speed are tempting to try using it.

Additional Information :

Credentials of Faculty account for testing -

Application Link :

APK LINK HERE

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.