Skip to content

An Attendance system which is detract face and take attendance. It make with Python

Notifications You must be signed in to change notification settings

devTarak/Smart-Attendance-System-by-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<Smart_Attendance_System/>

An Attendance system which detracts face and takes attendance. It makes with Python.

developed by Tarak's Team.


Features

  • Detects faces in real-time using the webcam feed.
  • Compares the detected faces with known faces to recognize individuals.
  • Tracks attendance by matching the recognized faces with a pre-defined list of known faces.
  • Records attendance in a CSV file with the format "YYYY-MM-DD.csv", where each row represents an attendance entry.

Prerequisites

  • Python 3.x

Installation

  1. Clone the repository or download the code files.
  2. Install the required dependencies using the following command:
pip install -r requirements.txt

This command will read the requirements.txt file and install the necessary modules (opencv-python, face_recognition, numpy).

Usage

  1. Place the images of the known individuals in the "photos" directory. Ensure that each image contains only one face.
  2. Update the known_faces_names list with the names and relevant information of the known individuals.
  3. Run the script using the following command:
python main.py

The webcam feed will open, and faces detected in real-time will be compared with the known faces.

If a recognized face matches a known face, their attendance will be marked in the CSV file for the current date.

Press 'q' to stop the program and close the webcam feed.

The attendance records for each day will be saved in separate CSV files with the format "YYYY-MM-DD.csv".

Customization

  • You can modify the code to include additional features or customize the user interface.
  • Adjust the window padding, font, font size, and colors according to your preferences.

Limitations

  • The accuracy of face recognition depends on the quality of the input images and environmental conditions (lighting, angles, etc.).
  • The script assumes that each person's image contains only one face.
  • In multi-face scenarios, the script may recognize the most similar face from the known faces.
  • Large-scale deployment may require additional optimizations and considerations.

License

This project is licensed under the MIT License.

Acknowledgments

  • This script was developed based on the face_recognition library by Adam Geitgey.
  • The script was created as a demonstration project for educational purposes.

Feel free to update the README.md file with any additional information or instructions as per your requirements.

About

An Attendance system which is detract face and take attendance. It make with Python

Resources

Stars

Watchers

Forks

Languages