An AI-powered real-time face recognition-based attendance system that automates student attendance tracking with high accuracy and security.
- 🔐 Secure Authentication – Teacher/Student Login
- 👥 Real-time Face Recognition – Accurate attendance marking
- 📊 Attendance Tracking & Reports – Automated and organized data
- 📱 Responsive Dashboard – User-friendly UI for easy monitoring
- 📋 Excel Report Generation – One-click attendance export
- 🎥 Live Camera Feed – Monitor real-time attendance
- ⚡ Real-time Updates – Instant data synchronization
- 🔍 Spoof Detection – Prevents unauthorized access
- 📅 Date-wise Reports – Detailed history tracking.
- ⚛️ React 18
- 🟦 TypeScript
- 🎨 Tailwind CSS
- 🎞️ Framer Motion
- 🔌 Socket.io Client
- 🔄 Axios
- 🟢 Node.js
- 🚀 Express.js
- 🍃 MongoDB
- 📡 Socket.io
- 🔑 JWT Authentication
- 📜 Mongoose
- 🐍 Python
- 🎥 OpenCV
- 🤖 YOLO v8
- 🔥 PyTorch
- 👁️ Face Recognition
- 🎯 CVZone
Ensure you have the following installed before running the project:
🔹 🟢 Node.js (16+)
🔹 🐍 Python (3.10+)
🔹 🍃 MongoDB (Installed & running)
🔹 ⚡ CUDA-capable GPU (Optional, for faster AI processing)
🔹 🎥 Webcam (Required for face recognition)
git clone https://github.com/Student-Face-Attendance/Automated_face_attendance.git
cd Automated_face_attendancecd server
npm installcd src
npm installcd ai
pip install -r requirements.txtnpm run devnpm server/index.js
├── src/ # Frontend React application
│ ├── components/ # Reusable UI components
│ ├── pages/ # Page components
│ ├── services/ # API services
│ ├── utils/ # Utility functions
│ └── assets/ # Static assets (images, icons, etc.)
│
├── server/ # Backend Node.js server
│ ├── controllers/ # Route controllers
│ ├── models/ # MongoDB models
│ ├── routes/ # API routes
│ ├── middleware/ # Authentication & security middleware
│ └── utils/ # Helper functions
│
└── ai/ # AI and Machine Learning scripts
├── models/ # Trained AI model files
├── scripts/ # Face recognition & anti-spoofing scripts
└── utils/ # Supporting utilities
- Manually add teacher credentials to the database.
- Login with credentials.
- Add students to a class.
- Start attendance capture.
- Download attendance reports.
- Login with credentials.
- Upload face images for recognition.
- View attendance history.