This project is an automated attendance system that uses facial recognition to mark attendance. The system captures photos, trains a facial recognition model, and then uses a webcam to recognize faces in real-time. Upon recognition, it records the attendance in a spreadsheet with a timestamp.
- Extracts photos for training directly from the
index.pyscript. - Uses OpenCV for webcam integration and face detection.
- Utilizes the
face-recognitionmodule to identify faces. - Records attendance with a timestamp in a spreadsheet.
- Python
- OpenCV
- face-recognition
- numpy
-
Clone the repository:
git clone https://github.com/kaushal380/attendance-project
install dependencies
pip install opencv-python face-recognition numpy
run the main script
python main.py
- Place the photos to be used for training in the
photosfolder. These photos are extracted automatically by theindex.pyscript. - Run the
main.pyscript. It will open the webcam and start recognizing faces. - When a face is recognized based on the training data, the system records the name along with the current timestamp in a spreadsheet.

- Enhance the system's ability to detect and recognize multiple people in a single frame.
- Improve the accuracy of face detection and recognition.
- Develop a graphical user interface (GUI) for easier interaction and management.
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas or improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or inquiries, please contact [kaushal] at [kaushal.sambanna@gmail.com].