Skip to content

ArchismanKarmakar/Face-Recognition-based-attendance-python3.10

Repository files navigation

Face-Recognition-based-attendance-python3.10

Recognize The faces And Take Automatic Attandance. ✨

Face Recognition Logo

GitHub

Issues

Forks

Stars

Motivation 😲

We seek to provide a valuable attendance service for both teachers and students. Reduce manual process errors by provide automated and a reliable attendance system uses face recognition technology.

Features 📋

  • Capture Faces automatically
  • Train Faces directly by putting raw image of person
  • Automatic Recognition of Faces & Attendance
  • Live attendance tracking and 24x7 online

Tech Used 💻

Build With -
  • Python 3.10.x
Module Used -
certifi==2020.6.20
chardet==3.0.4
click==7.1.2
cmake==3.18.2.post1
decorator==4.4.2
dlib==19.18.0
face-recognition==1.3.0
face-recognition-models==0.3.0
idna==2.10
imageio==2.9.0
imageio-ffmpeg==0.4.2
moviepy==1.0.3
numpy==1.18.4
opencv-python==4.4.0.46
Pillow==8.0.1
proglog==0.1.9
requests==2.24.0
tqdm==4.51.0
urllib3==1.25.11
wincertstore==0.2
scikitlearn
python-csv
pytest-shutil
pandas

Face Recognition Algorithms -

  • Haar Cascade
  • LBPH (Local Binary Pattern Histogram)

Software Used -

  • Pycharm 2019.2
  • VS CODE
  • Git

Installation 🔑

Download or Clone the project

Download using GitHub Desktop

or

You can clone the project with git bash. To clone the project using git bash first open the git bash and write the following code

git clone https://github.com/ArchismanKarmakar/Face-Recognition-based-attendance-python3.10.git

After download, Open the project using Pycharm or VSCODE. Then we have to create an python enviroment to run the program.

create enviroment

First open the terminal or command line in the IDE.Then write the following code.

python -m venv env

Then activate the enviroment using the code below for windows.

.\env\Scripts\activate

[ Notice: If your pc don't have virtual enviroment or pip install the follow this link. How to create Virtual Enviroment ]

Installing the packages

After creating the enviroment on your project let's install the necessary packages.

To install those package open the terminal or command line and paste the code from below

pip install certifi==2020.6.20
pip install chardet==3.0.4
pip install click==7.1.2
pip install cmake==3.18.2.post1
pip install decorator==4.4.2
pip install dlib==19.18.0
pip install scikitlearn
pip install face-recognition==1.3.0
pip install face-recognition-models==0.3.0
pip install idna==2.10
pip install imageio==2.9.0
pip install imageio-ffmpeg==0.4.2
pip install moviepy==1.0.3
pip install numpy==1.18.4
pip install opencv-python==4.4.0.46
pip install Pillow==8.0.1
pip install proglog==0.1.9
pip install requests==2.24.0
pip install tqdm==4.51.0
pip install python-csv
pip install urllib3==1.25.11
pip install wincertstore==0.2
pip install pytest-shutil
pip install pandas

[ **Notice: During the package installization, sometime it shows some error, to avoid those error you can install those packages as admin. ]

Image Training & Working

Put your images in the folder called Training_images and the name of the image should be the name of the person. Attendance will be marked on the .csv file as per the name of the file on the trained image. Trained images are generally stored in Temp in AppData folder in Windows, but I am not sure about Linux & Mac.

Test Run 🚴

After creating the enviroment and installing the packages, open the IDE terminal/command line to run the program. Using the code below.

python -u "./main.py"

How To Use? 📝

If you want to use it just follow the steps below.

  1. First download or clone the project
  2. Import the project to your favourit IDE
  3. Create an python enviroment
  4. Install all the packages
  5. Change the mail information
  6. Run the project using the command line or your IDE Run Button

Known Bugs 🐛

Future Development & Working

Credits 💖

Thanks to Sumon Chatterjee for working with me.

Licence 📜

MIT © Archisman Karmakar Archisman Karmakar

About

Recognize The faces And Take Automatic Attandance. ✨

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages