Version: v1.0
This is the first version of the AI-powered Face Recognition Attendance System. It captures faces in real-time, matches them with stored identities, and marks attendance automatically in an Excel file.
- ✅ Real-time face detection using OpenCV
- ✅ Face recognition with high accuracy
- ✅ Automatic attendance marking in an Excel file
- Visual Studio C++ Build Tools: Required for installing
dlib
, which is essential for face recognition. - Conda Environment: The setup is done using a Conda environment with Python installed(Python 3.11.11).
git clone https://github.com/Raghulskr12/Smart-Face-Attendance.git
cd Smart-Face-Attendance
It is recommended to use a virtual environment to manage dependencies.
# Create and activate a new Conda environment
conda create --name face-attendance python=3.9 -y
conda activate face-attendance
All required dependencies are listed in the requirements
file. Install them using:
pip install -r requirements/requirements.txt
- Place training images inside the
Training_images
folder. - Each image should be named after the person's identity (e.g.,
Raghul.jpg
). - The more images you add, the better the accuracy.
python main.py
- Modify the face distance threshold in the script (
main.py
) as needed. - Lower values increase strictness, while higher values make recognition more flexible.
- The system will detect and recognize faces, marking attendance in
attendance.xlsx
.
Feel free to fork this repository, contribute, and suggest new features.
If you find this project useful, consider giving it a ⭐ on GitHub.