Developing this from scratch in a week with no knowledge of pandas, tkinter, and face-recognition modules was challenging, yet exciting at the same time.
The project aims to streamline the attendance-taking process by accurately identifying students and marking their attendance on specific dates. Leveraging computer vision techniques, particularly face recognition, along with libraries such as OpenCV and pandas in Python, the system seeks to enhance efficiency, reduce errors, and provide a more effective means of managing attendance records.
- Data Collection: Gather images of students' faces for training the face recognition model.
- Training: Utilize OpenCV and the face-recognition module to train the model on the collected images to recognize specific individuals.
- Recognition: Capture images or video frames during attendance sessions and apply the trained model to recognize faces.
- Attendance Marking: Compare recognized faces with the database of students and mark them as present for the particular date using the Pandas library to manage attendance records.
- CMake
- Dlib
- Setuptools
git clone https://github.com/Amank-root/attendance_sys_using_opencv.git
cd attendance_sys_using_opencv
pip install virtualenv # Use only if venv is not installed
python -m venv env_name
env_name/Scripts/activate
virtualenv virtualenv_name
source virtualenv_name/bin/activate
# Command after setting up the environment
pip install -r requirement.txt
python main.py
Create an empty folder and add the images of the person you want to train. In the GUI interface, provide the path of the folder.
- Github (Face-recognition)
- Geek for Geeks
- YouTube (Tkinter Crash Course)