Giter VIP home page Giter VIP logo

attendance-management-system-using-face-recognition's Introduction

Project Logo

Attendance Management System Using Face Recognition ๐Ÿ’ป

Link To Presentation

This project involves building an attendance system which utilizes facial recognition to mark the presence, time-in, and time-out of employees. It covers areas such as facial detection, alignment, and recognition, along with the development of a web application to cater to various use cases of the system such as registration of new employees, addition of photos to the training dataset, viewing attendance reports, etc. This project intends to serve as an efficient substitute for traditional manual attendance systems. It can be used in corporate offices, schools, and organizations where security is essential.

This project aims to automate the traditional attendance system where the attendance is marked manually. It also enables an organization to maintain its records like in-time, out time, break time and attendance digitally. Digitalization of the system would also help in better visualization of the data using graphs to display the no. of employees present today, total work hours of each employee and their break time. Its added features serve as an efficient upgrade and replacement over the traditional attendance system.

Scope of the project ๐Ÿš€

Facial recognition is becoming more prominent in our society. It has made major progress in the field of security. It is a very effective tool that can help low enforcers to recognize criminals and software companies are leveraging the technology to help users access the technology. This technology can be further developed to be used in other avenues such as ATMs, accessing confidential files, or other sensitive materials. This project servers as a foundation for future projects based on facial detection and recognition. This project also convers web development and database management with a user-friendly UI. Using this system any corporate offices, school and organization can replace their traditional way of maintaining attendance of the employees and can also generate their availability(presence) report throughout the month.

The system mainly works around 2 types of users

  1. Employee
  2. Admin

Following functionalities can be performed by the admin:
โ€ข Login
โ€ข Register new employees to the system
โ€ข Add employee photos to the training data set
โ€ข Train the model
โ€ข View attendance report of all employees. Attendance can be filtered by date or employee.

Following functionalities can be performed by the employee:
โ€ข Login
โ€ข Mark his/her time-in and time-out by scanning their face
โ€ข View attendance report of self

Face Detection

Dlib's HOG facial detector.

Facial Landmark Detection

Dlib's 68 point shape predictor

Extraction of Facial Embeddings

face_recognition by Adam Geitgey

Classification of Unknown Embedding

using a Linear SVM (scikit-learn)

Documentation ๐Ÿ“ฐ

This folder contains all the related documents with UML Diagrams.

How To Run ?

  • clone it on your computer
  • make a separate python virtual environment or use the default one already installed on your machine
  • Download this file
  • put it inside \Attendance-System-Using-Face-Recognition\face_recognition_data directory
  • run pip install -r requirements.txt inside \Attendance-System-Using-Face-Recognition directory
  • Run python manage.py runserver inside \Attendance-System-Using-Face-Recognition directory to run the project
  • Enjoy !

UI ๐Ÿ’ป

Presentation ๐ŸŽ“

Link To Presentation


if (youEnjoyed) {
    starThisRepository();
}

Thank You

attendance-management-system-using-face-recognition's People

Contributors

dependabot[bot] avatar nevilparmar11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

attendance-management-system-using-face-recognition's Issues

Auto attendance & camera

I think it's better to let the system make an attendance automatically based on the time

Also, It's difficult to add an external camera as CCTV camera.

Please mention python Version

As the time passing by python version changes and comes up new error while installing the libraries . which python version did you use please mention it.

TypeError at /add_photos/

While adding photos to train this error occurred.

TypeError at /add_photos/
Can't parse 'center'. Sequence item with index 0 has a wrong type
Request Method: POST
Request URL: http://127.0.0.1:8000/add_photos/
Django Version: 3.1.2
Exception Type: TypeError
Exception Value:
Can't parse 'center'. Sequence item with index 0 has a wrong type
Exception Location: C:\Users\amber\anaconda3\envs\dj2\lib\site-packages\imutils\face_utils\facealigner.py, line 68, in align
Python Executable: C:\Users\amber\anaconda3\envs\dj2\python.exe
Python Version: 3.8.5
Python Path:
['C:\Users\amber\Documents\Attendance-Management-System-Using-Face-Recognition\Attendance-System-Using-Face-Recognition',
'C:\Users\amber\anaconda3\envs\dj2\python38.zip',
'C:\Users\amber\anaconda3\envs\dj2\DLLs',
'C:\Users\amber\anaconda3\envs\dj2\lib',
'C:\Users\amber\anaconda3\envs\dj2',
'C:\Users\amber\anaconda3\envs\dj2\lib\site-packages']
Server time: Wed, 01 Sep 2021 12:03:09 +0530

Traceback (most recent call last):
File "C:\Users\amber\anaconda3\envs\dj2\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\Users\amber\anaconda3\envs\dj2\lib\site-packages\django\core\handlers\base.py", line 179, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\amber\anaconda3\envs\dj2\lib\site-packages\django\contrib\auth\decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "C:\Users\amber\Documents\Attendance-Management-System-Using-Face-Recognition\Attendance-System-Using-Face-Recognition\recognition\views.py", line 561, in add_photos
create_dataset(username)
File "C:\Users\amber\Documents\Attendance-Management-System-Using-Face-Recognition\Attendance-System-Using-Face-Recognition\recognition\views.py", line 96, in create_dataset
face_aligned = fa.align(frame,gray_frame,face)
File "C:\Users\amber\anaconda3\envs\dj2\lib\site-packages\imutils\face_utils\facealigner.py", line 68, in align
M = cv2.getRotationMatrix2D(eyesCenter, angle, scale)

Exception Type: TypeError at /add_photos/
Exception Value: Can't parse 'center'. Sequence item with index 0 has a wrong type

WARNING ERROR

WARNINGS:

users.Present: (models.W842) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.

HINT: Configure the DEFAULT_AUTO_FIELD setting or the UsersConfig.default_auto_field attribute to point to a sub class of AutoField, e.g. 'django.db.models.BigAutoField'. users.Time: (models.we42) Auto-created primary key used when not defining a primary key type, by default 'django.db.mode 1s.AutoField'.

HINT: Configure the DEFAULT_AUTO_FIELD setting or the UsersConfig.default_auto_field attribute to point to a sub class of AutoField, e.g. 'django.db.models. BigAutoField'.

How do I solve this please

problem in runserver

C:\Users\Satendra\AppData\Roaming\Python\Python37\site-packages\django\dispatch\dispatcher.py:85: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
argspec = inspect.getargspec(receiver)

C:\Users\Satendra\AppData\Roaming\Python\Python37\site-packages\django\template\base.py:1108: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
params, varargs, varkw, defaults = getargspec(func)

C:\Users\Satendra\AppData\Roaming\Python\Python37\site-packages\django\utils\itercompat.py:30: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
return isinstance(x, collections.Iterator)

AttributeError: module 'html.parser' has no attribute 'HTMLParseError'

I am not Able to solve this error. Can you help me out

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.