Skip to content

Repository files navigation

Face Recognition Attendance System

🚀 Quick Start

1. Install Dependencies

pip install -r requirements.txt

2. Add Face Images

  • Put face images in the known_faces folder
  • Name format: PersonName.jpg (e.g., john.jpg, mary.png)
  • One clear photo per person is enough

3. Run the System

python main.py

4. Start Recognition

  1. Click "Start Recognition" button
  2. Camera window opens with confidence percentages
  3. System recognizes faces and logs attendance to attendance.xlsx
  4. Press 'q' or click "Stop" to quit

📁 Project Structure

├── main.py                    # Main application
├── face_recognition_engine.py # Face recognition logic
├── camera_manager.py          # Camera handling
├── attendance_logger.py       # Excel logging
├── known_faces_manager.py     # Face image processing
├── requirements.txt           # Dependencies
├── attendance.xlsx            # Attendance records
└── known_faces/              # Face images folder
    └── PersonName.jpg        # Add your face images here

✨ Features

  • High-FPS Recognition with confidence percentages
  • Screen Image Optimized - Works with Google Images/Internet photos
  • Color-coded Confidence - Green (>80%), Yellow (60-80%), Orange (40-60%), Red (<40%)
  • Excel Attendance Logging with duplicate prevention
  • Single Image Training - One photo per person handles all expressions
  • Real-time FPS Display for performance monitoring

🎯 Perfect For

  • Office attendance systems
  • School/university check-ins
  • Event registration
  • Security applications
  • Google Images recognition testing

Ready to use - just add face images and run! 🎉

About

Real-time face recognition attendance system with GUI - logs attendance to Excel, supports high-FPS detection with confidence scoring, and works with webcam or internet images.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages