How mohitradheuniyal/face-recognition-based-attendance-system-using-flask works
Project type and purpose
• This is a full-stack web application (“Face Recognition Based Attendance System”) that automates attendance in schools/colleges using facial recognition.
• It provides Admin, Teacher, and Student interfaces for managing users, taking attendance via real-time face detection, viewing/exporting records.
File structure
• app.py: Flask entry point implementing routes, controllers, and bootstrap logic.
• templates/: Jinja2 HTML templates for each role (admin_dashboard.html, teacher_dashboard.html, student_dashboard.html, login/signup, etc.) → the View layer.
• haarcascade_frontalface_default.xml + Python OpenCV imports → Face Detection module.
• requirements.txt → Python dependencies: Flask, OpenCV, scikit-learn, pandas, etc.
• SQLite DB (no separate folder; created/used at runtime) → the Model layer.
• .github/workflows/python-package.yml → CI to test and deploy the Python package.
README for additional insights
Web Interface → Flask Server → Face Detection
↘ SQLite DB
↘ Face Model
• Tech stack: Python/Flask backend, HTML/CSS/JS with Bootstrap frontend, SQLite, OpenCV+scikit-learn for face recognition, pandas for Excel exports.
Elements
• Clear, descriptive labels for each component (e.g., “Flask Server”, “Face Recognition Engine”).
• UI components (blue)
• Application server (green)
• ML/Detection modules (orange)
• Database/Storage (gray)
• Annotations of key technologies (e.g., “OpenCV Cascade”, “SQLite3”, “pandas Export”).