This is a Face Recognition-based Attendance System built using Streamlit and face_recognition library. The system allows users to register, log in, and view attendance records.
Key Features:
- Face recognition-based login and attendance marking.
- User registration via file upload or camera.
- Attendance records stored in text files.
- Simple and interactive Streamlit UI.
Ensure you have Python installed (>=3.7) and git installed.
git clone https://github.com/codderrrrr/Attendance_system.git
cd Attendance_systempip install -r requirements.txtStart the Streamlit application:
streamlit run app.py- Register as a new user
- Log in using face recognition
- View attendance records
- Enter personal details (name, roll number, degree, section)
- Choose registration method:
- Upload an image file
- Capture a photo using the webcam
- Capture an image using a webcam
- Face is matched with the stored dataset
- If recognized, attendance is marked
- If unrecognized, the user is prompted to register
- Users can enter their name to check past attendance records
To deploy on Streamlit Cloud:
- Push your repository to GitHub.
- Go to Streamlit Cloud.
- Select your GitHub repo and deploy.
- Ensure required dependencies are in
requirements.txt.
Attendance_system/
│── dataset/
│ ├── known/ # Stores registered user images
│ ├── unknown/ # Stores temp images for face matching
│── attendance/ # Stores attendance records as text files
│── app.py # Main Streamlit application
│── requirements.txt # Required Python libraries
│── README.md # Project documentation
This project is licensed under the MIT License.
- This project uses the face_recognition library by Adam Geitgey, licensed under the MIT License.