Skip to content

AI-powered smart attendance system using facial recognition, built with React, Django, MySQL, and deep learning (ResNet-34) for automated, contactless, and accurate attendance management.

License

Notifications You must be signed in to change notification settings

nezchan0/Ai-tendify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Ai-tendify: AI-Powered Attendance Management System

Ai-tendify is an AI-driven, contactless attendance management system that uses facial recognition to automate attendance marking within seconds. Built using React.js, Django REST Framework, MySQL, and Deep Learning (ResNet-34), the system offers dedicated dashboards for Students, Teachers, HODs, and Admins with real-time analytics and a CMS panel.

πŸš€ Introduction

Ai-tendify replaces slow, error-prone, and manual attendance processes with a smart, automated, and fully digital approach.
It identifies students from classroom images and marks their attendance instantlyβ€”delivering speed, accuracy, and reliability.

🎯 Motivation

Traditional classroom attendance takes 3–5 minutes per class and interrupts teaching time.
Ai-tendify reduces this to 5–10 seconds, ensuring:

  • Zero manual effort
  • No roll-calls
  • No biometric touch devices
  • No RFID cards or proxies
  • Accurate and contactless attendance

Why Image-Based Instead of Video-Based?

  • Videos require continuous processing, high GPU/CPU load, and storage.
  • Images are lightweight, fast to process, easy to upload, and achieve high accuracy with minimal resources.
  • For a single classroom 3-4 image covering the whole classroom is enough to detect 50+ faces with optimized processing.

πŸ› οΈ Tech Stack

Category Tools & Technologies
🌐 Frontend βš›οΈ React.js Β· ⚑ Vite Β· 🎨 Material-UI Β· πŸ’¨ Tailwind CSS Β· πŸ“Š Recharts.js Β· πŸͺ React Hook Form Β· πŸ”” React-Toastify
πŸ–₯️ Backend 🐍 Django Β· πŸ”Œ Django REST Framework Β· 🧩 Django Jazmin Admin (CMS) Β· πŸ” CORS Headers Β· πŸ›‘οΈ JWT / Token Auth
πŸ€– AI & Image Processing πŸ‘οΈ face_recognition (dlib) Β· 🧭 HOG + SVM Detection Β· 🧠 ResNet-34 (Deep CNN Encodings)
πŸ—„οΈ Database πŸ›’οΈ MySQL Β· πŸ”— Django ORM

⭐ Key Features

πŸ€– AI Attendance Automation

  • Upload classroom images
  • Detect + recognize faces
  • Auto-mark attendance within seconds
  • 90%+ accuracy in real-world tests

πŸ‘©β€πŸ« Teacher Features

  • Upload images for auto-attendance
  • View weekly/monthly attendance
  • Download attendance (CSV/PDF)
  • Manual overrides
  • Class & schedule management

πŸŽ“ Student Features

  • Dashboard with subject-wise attendance
  • Graphical insights (Bar, Pie, Line)
  • View overall trends
  • Download personal attendance

πŸ›οΈ HOD Features

  • Department-wide analytics
  • Teacher-wise performance
  • Class-wise attendance summaries
  • Filtering based on department/semester/class/teacher

πŸ› οΈ Admin Features (Jazmin CMS)

  • Manage all users
  • Manage students, teachers, classes, subjects
  • Upload student images
  • Manage semesters & schedules
  • View logs and database objects

πŸ“Š Analytics & Visualization

  • Recharts-based analytical graphs
  • Automatic trend detection
  • Class-wise and department-wise comparisons

βš™οΈ Installation & Setup Guide

1️⃣ Clone the Repository

git clone https://github.com/nezchan0/Ai-tendify.git
cd Ai-tendify

πŸ–₯️ Frontend Setup (React.js)

cd Frontend/myreactapp
npm install
npm run dev

🐍 Backend Setup (Django)

1. Activate Virtual Environment

cd Backend
python -m venv myenv
source myenv/bin/activate

2. Install Dependencies

pip install -r requirements.txt

3. Run Migrations

cd Project
python manage.py makemigrations
python manage.py migrate

4. Create Superuser (Admin Login)

python manage.py createsuperuser

πŸ“₯ Import Dummy Data

python Util_ImportDummyData.py

Generate fresh attendance (optional):

python Util_GenerateDummyAttendance.py

Reset DB before reimport:

python Util_DeleteAllData.py

🧩 Database Schema

The system uses a normalized MySQL schema comprising 14 core tables that manage academic structure (Branch, Classes, Subjects), user roles (Students, Teachers, Users), scheduling (Session, TimeSlots, TimeTables), and Attendance logs. This design ensures referential integrity and optimized queries for analytics, dashboards, and automation pipelines. Database_Schema


πŸ—οΈ System Architecture

SystemArchitecture


πŸ”„ Data Flow Diagram

DataFlowDiagram


πŸ“Έ Project Preview

🌐 Landing Pages

Landing 1 Landing 2 Landing 3

πŸ‘¨β€πŸ« Teacher Module

Teacher Login Teacher Dashboard Upload Image Processed Attendance Class Table Weekly Sessions Trends

πŸŽ“ Student Module

Student Login Student Dashboard Class Summary Bar Graph Pie Chart Line Graph

πŸ›οΈ HOD Module

HOD Login Branch Overview Teacher-Class Overview Filter 1 Filter 2 Filter 3

πŸ› οΈ Admin CMS

Admin Jazmin


πŸ“œ License

This project is licensed under the MIT License β€” feel free to use, modify, and distribute it freely, with attribution.


About

AI-powered smart attendance system using facial recognition, built with React, Django, MySQL, and deep learning (ResNet-34) for automated, contactless, and accurate attendance management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published