Skip to content

aashutoshPanda/Face-Recognition-Based-Attendance-System

Repository files navigation

Face Recognition Based Attendance System

Makes attendance records in realtime using python's face recognition library. All we need is one image of the person to be detected by the camera.

_

Installing on Linux

First, make sure you have dlib already installed with Python bindings:

Cloning the repository

git clone https://github.com/aashutoshPanda/Face-Recognition-Based-Attendance-System.git
cd Face-Recognition-Based-Attendance-System

Making Virtual environment for the project

python3 -m venv <myvenv>
source <myvenv>/bin/activate

Installing the required packages to our virtual environment

pip install -r requirements.txt

Instructions

Put all the images in 'student_db' directory & run the 'db_maker.py' file

python3 db_maker.py

then excel file named 'people_db.xlsx' is made inside the 'student_db' directory

  • name of the person is extracted from the image name
  • second column has the file name (files are renamed by replacing spaces by underscores)
  • roll no. is given from 1 to N you can edit according to your needs

To run the facial recognition system run 'main.py'

python3 main.py
Press q to Quit

After running the program attendance record is generated with current timestamp (Ex. 'attendance_record Sun 06 Sep 2020 18:40:11 IST.xlsx' ) providing the details of the students recognised by the camera

Releases

No releases published

Packages

No packages published

Languages