{"id":29022912,"url":"https://github.com/xharshit/face-recognition-based-student-attendance-system-using-ml","last_synced_at":"2026-04-12T18:04:56.535Z","repository":{"id":300977917,"uuid":"1007746845","full_name":"xHarshit/Face-Recognition-Based-Student-Attendance-System-Using-ML","owner":"xHarshit","description":"Automated attendance system using face recognition with Python, OpenCV, and machine learning. Real-time detection, logging, and GUI support.","archived":false,"fork":false,"pushed_at":"2025-06-24T14:45:52.000Z","size":96573,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-24T15:21:44.647Z","etag":null,"topics":["attendance-system","computer-vision","face-detection","face-recognition","keras","machine-learning","mtcnn-face-detection","opnecv","python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xHarshit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-24T13:17:57.000Z","updated_at":"2025-06-24T14:48:57.000Z","dependencies_parsed_at":"2025-06-24T15:32:30.711Z","dependency_job_id":null,"html_url":"https://github.com/xHarshit/Face-Recognition-Based-Student-Attendance-System-Using-ML","commit_stats":null,"previous_names":["xharshit/face-recognition-based-student-attendance-system-using-ml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xHarshit/Face-Recognition-Based-Student-Attendance-System-Using-ML","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xHarshit%2FFace-Recognition-Based-Student-Attendance-System-Using-ML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xHarshit%2FFace-Recognition-Based-Student-Attendance-System-Using-ML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xHarshit%2FFace-Recognition-Based-Student-Attendance-System-Using-ML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xHarshit%2FFace-Recognition-Based-Student-Attendance-System-Using-ML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xHarshit","download_url":"https://codeload.github.com/xHarshit/Face-Recognition-Based-Student-Attendance-System-Using-ML/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xHarshit%2FFace-Recognition-Based-Student-Attendance-System-Using-ML/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261990351,"owners_count":23241188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attendance-system","computer-vision","face-detection","face-recognition","keras","machine-learning","mtcnn-face-detection","opnecv","python","tensorflow"],"created_at":"2025-06-26T03:04:13.760Z","updated_at":"2026-04-12T18:04:51.497Z","avatar_url":"https://github.com/xHarshit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📸 Face Recognition Based Student Attendance System Using ML\n\nAn AI-powered attendance system that uses face recognition to automatically mark students' attendance. Built with Python and Machine Learning, the system integrates face detection, encoding, and classification models to log attendance securely and efficiently.\n\n---\n\n## 🧠 Technologies Used\n\n- Python  \n- OpenCV  \n- TensorFlow / Keras  \n- MTCNN for face detection  \n- FaceNet for face embeddings  \n- Support Vector Machine (SVM) for classification  \n- Tkinter (GUI)  \n- Firebase (optional)  \n- Pandas, NumPy  \n\n---\n\n## 🚀 Features\n\n- 🎯 Real-time face detection and recognition  \n- 🧑‍🎓 Auto-attendance logging with name and timestamp  \n- 📁 Dataset creation and embedding generation  \n- 🗃️ Secure model training and classification using SVM  \n- 📤 Export attendance logs to Excel  \n- 🖥️ GUI interface using Tkinter  \n\n---\n\n## 📁 Folder Structure\n\n```\n.\n├── Dataset/                  # Student face images\n├── Images_GUI/               # UI and app icons\n├── classifier/               # Trained SVM models\n├── encodings/                # Face embeddings\n├── architecture.py           # FaceNet model structure\n├── facenet_keras_weights.h5  # Pre-trained FaceNet weights\n├── generateDataset.py        # Script to capture student images\n├── homepage.py               # GUI application\n├── recognizer.py             # Face recognition and attendance logging\n├── train_v2.py               # Train SVM on embeddings\n├── requirements.txt          # Dependencies\n```\n\n---\n\n## ⚙️ Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/xHarshit/Face-Recognition-Based-Student-Attendance-System-Using-ML.git\ncd Face-Recognition-Based-Student-Attendance-System-Using-ML\n```\n\n2. Install the dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n3. Run the GUI application:\n\n```bash\npython homepage.py\n```\n\n---\n\n## 🖼️ Screenshots\n\n1. Homepage \n   ![Homepage](./screenshots/1.png)\n\n2. Face Recognition  \n   ![Face Recognition](./screenshots/2.png)\n\n3. Attendance Logging  \n   ![Attendance Logging](./screenshots/3.png)\n\n---\n\n## 🧪 How It Works\n\n1. Use generateDataset.py to capture images of each student.  \n2. Train the classifier using train_v2.py.  \n3. Launch the GUI with homepage.py.  \n4. Recognizer detects faces from webcam and marks attendance in Excel.\n\n---\n\n## 📈 Future Enhancements\n\n- Add liveness detection to prevent spoofing  \n- Create dashboard for admin analytics  \n- Add notification system for parents  \n- Mobile/web app integration for real-time access  \n\n---\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE). Feel free to use and modify it for your own learning or projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxharshit%2Fface-recognition-based-student-attendance-system-using-ml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxharshit%2Fface-recognition-based-student-attendance-system-using-ml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxharshit%2Fface-recognition-based-student-attendance-system-using-ml/lists"}