Skip to content

shantanu-pande/Face-Recognition-Attendance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-Recognition-Attendance · GitHub license

A simple and easy to use Attendance System

Tech Stack

Language: Python

Packages: OpenCV, Tkinter, face_recognition, openpyxl, numpy

Installation

Supported Python 3.7-3.9

Clone the repo

git clone https://github.com/iam7t9/Face-Recognition-Attendance.git
cd Face-Recognition-Attendance

Create Environment

For Windows

python -m venv env
.\env\Scripts\activate

for Linux

python3 -m venv env
source ./env/bin/activate

Installing Packages

Download dlib compiled wheels suitable for your python version from Here

pip install <dlib compiled wheels>
pip install -r requirements.txt

Running the Application

  • Create folders faces and face_encodings.
  • Add images with ids as name in the faces directory.
  • For the first time, generate encoadings for faces. Uncomment the app.train() in main.py file
if __name__=="__main__":
    # Create the Tkinter window
    window = tk.Tk()
    # Create the CameraApp instance
    app = CameraApp(window)

    # Uncomment following line to generate encodings 
    # app.train()
    # Run the Tkinter event loop    
    window.mainloop()

Run the application

python main.py

The attendance record will be added in the database.xlsx file

Screenshots

App Screenshot

Contributing

Contributions are always welcome!

Authors