Skip to content

AI-powered Student Attendance System using face recognition. Built with TensorFlow & OpenCV, featuring custom CNN and DenseNet121 implementations.

License

Notifications You must be signed in to change notification settings

kuldeep562/Student_Attendance_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Student Attendance System (Face Recognition Based)

This project is a face-recognition-based Student Attendance System built using deep learning and computer vision techniques. It detects and recognizes student faces from video or images and automatically logs attendance.

πŸ‘¨β€πŸ’» This repository contains two separate versions of the system β€” each in its own branch β€” using different deep learning approaches.


πŸ“Œ Project Features

  • πŸŽ₯ Face detection from images or video frames
  • 🧠 Deep learning-based face recognition
  • πŸ—‚οΈ Automated attendance logging
  • πŸ§ͺ Training pipeline for custom student datasets

🧠 System Versions

This repo includes two different implementations of the attendance system:

πŸ“ 1. cnn-version (Notebook 1)

Custom CNN-based face recognition system

  • Uses a basic Convolutional Neural Network.
  • Simple model architecture.
  • Trained from scratch on student face images.
  • Good for learning, prototyping, or smaller datasets.

πŸ“ 2. densenet-version (Notebook 2)

Advanced DenseNet121-based system using transfer learning

  • Uses DenseNet121, a powerful pre-trained CNN.
  • Higher accuracy and faster convergence.
  • Ideal for larger, real-world datasets.
  • Employs OpenCV for face detection and Keras for model training.

🌳 Branch Structure

Branch Description
main Project overview + README only
cnn-version Full project code for custom CNN approach
densenet-version Full project code using DenseNet121

πŸ“Έ System Flow (Both Versions)

graph TD;
    A[Capture Video or Images] --> B[Extract Frames]
    B --> C[Detect Faces using OpenCV]
    C --> D[Preprocess Faces]
    D --> E[Train CNN / DenseNet Model]
    E --> F[Recognize Faces in New Images]
    F --> G[Mark Attendance in CSV]
Loading

πŸ“‚ Folder Structure (per branch)

Each branch contains its own implementation:

.
β”œβ”€β”€ notebooks
β”œβ”€β”€ requirements.txt
└── README.md

πŸ›  Requirements

Each branch has its own requirements.txt, but common dependencies include:

  • Python 3.8+
  • TensorFlow / Keras
  • OpenCV
  • NumPy, Pandas

πŸ‘ Contributions

Contributions and improvements are welcome! If you'd like to improve the model, fix a bug, or enhance documentation, feel free to fork the repo and submit a pull request.

About

AI-powered Student Attendance System using face recognition. Built with TensorFlow & OpenCV, featuring custom CNN and DenseNet121 implementations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published