File size: 1,104 Bytes
9d688be
 
 
 
 
 
 
8d5f1ef
9d688be
 
 
 
8d5f1ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
title: Face Recognition Attendance System
emoji: 👤
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
license: mit
---

# Face Recognition Attendance System

An advanced face recognition system for attendance management using DeepFace and OpenCV.

## Features

- **Student & Teacher Registration** with face capture
- **Face Recognition Login** 
- **Attendance Marking** with liveness detection
- **Real-time Analytics** and metrics dashboard
- **MongoDB Integration** for data storage

## Usage

1. Register as a student/teacher with face capture
2. Login using face recognition or credentials
3. Mark attendance with live face verification
4. View attendance records and analytics

## Technology Stack

- **Backend**: Flask, Python
- **Face Recognition**: DeepFace, OpenCV
- **Database**: MongoDB Atlas
- **Frontend**: HTML, CSS, JavaScript
- **Deployment**: Hugging Face Spaces (Docker)

## Environment Variables

Set these in your Hugging Face Space settings:
- `SECRET_KEY`: Your secret key
- `MONGO_URI`: MongoDB Atlas connection string
- `PORT`: 7860 (default)

## Local Development