# lokeshwarmenati/ai-powered-face-recognition-attendance-system architecture

> Architecture diagram of the GitHub repository lokeshwarmenati/ai-powered-face-recognition-attendance-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system
- Repository: https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system

## Overview

This is a Django attendance platform for student self-service and administrator oversight. Students enroll face and fingerprint biometrics, then use facial recognition or a registered fingerprint for attendance; administrators authorize students, review attendance, and configure cameras. The app’s URL table dispatches requests to views, which access the domain models and attendance records. The README documents YuNet/SFace inference, WebAuthn hardware authentication, dashboards, and camera management. Some of those implementations are unsampled, so their links are documented rather than inferred from module names.

Main entry points: [`Project-Face-attandence-system-version-1.0/app1/views.py`](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/views.py) (Application views), [`Project-Face-attandence-system-version-1.0/app1/urls.py`](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/urls.py) (Request routing), [`Project-Face-attandence-system-version-1.0/app1/models.py`](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/models.py) (Student and attendance models), [`Project-Face-attandence-system-version-1.0/db_seed.sqlite3`](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/db_seed.sqlite3) (SQLite database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["User experience"]
  node_pages["Portals and forms<br/>[templates]"]
end

subgraph group_application["Django application"]
  node_routing["Request routing<br/>[urls.py]"]
  node_views["Application views<br/>[views.py]"]
  node_settings["Django configuration<br/>[settings.py]"]
end

subgraph group_biometrics["Biometric attendance"]
  node_face["Face recognition<br/>[views.py]"]
  node_face_models["YuNet and SFace models<br/>[models]"]
  node_fingerprint["Fingerprint and WebAuthn<br/>[views.py]"]
end

subgraph group_records["Attendance records"]
  node_domain["Student and attendance models<br/>[models.py]"]
  node_database[("SQLite database<br/>[db_seed.sqlite3]")]
end

node_student(("Student"))
node_admin(("Administrator"))
node_browser["Browser"]
node_sensor(("Fingerprint sensor"))
node_camera(("Camera feeds"))

node_student -->|"uses portal"| node_browser
node_admin -->|"uses console"| node_browser
node_browser -->|"views"| node_pages
node_browser -->|"requests routes"| node_routing
node_routing -->|"dispatches to"| node_views
node_views -->|"queries and updates"| node_domain
node_views -->|"runs recognition"| node_face
node_face -.->|"uses models"| node_face_models
node_views -->|"handles credentials"| node_fingerprint
node_fingerprint -.->|"verifies biometrics"| node_sensor
node_camera -.->|"supplies frames"| node_face
node_settings -->|"configures SQLite"| node_database
node_domain -.->|"persists records"| node_database

click node_pages "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/tree/main/Project-Face-attandence-system-version-1.0/templates"
click node_routing "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/urls.py"
click node_views "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/views.py"
click node_settings "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/Project101/settings.py"
click node_face "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/views.py"
click node_face_models "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/tree/main/Project-Face-attandence-system-version-1.0/models"
click node_fingerprint "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/views.py"
click node_domain "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/models.py"
click node_database "https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/db_seed.sqlite3"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_pages,node_browser toneBlue
class node_routing,node_views,node_settings toneAmber
class node_face,node_face_models,node_fingerprint toneMint
class node_domain,node_database toneRose
class node_student,node_admin,node_sensor,node_camera toneIndigo
```

## Components

### User experience

- [Portals and forms](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/tree/main/Project-Face-attandence-system-version-1.0/templates): `Project-Face-attandence-system-version-1.0/templates`

### Django application

- [Request routing](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/urls.py): `Project-Face-attandence-system-version-1.0/app1/urls.py`
- [Application views](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/views.py): `Project-Face-attandence-system-version-1.0/app1/views.py`
- [Django configuration](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/Project101/settings.py): `Project-Face-attandence-system-version-1.0/Project101/settings.py`

### Biometric attendance

- [Face recognition](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/views.py): `Project-Face-attandence-system-version-1.0/app1/views.py`
- [YuNet and SFace models](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/tree/main/Project-Face-attandence-system-version-1.0/models): `Project-Face-attandence-system-version-1.0/models`
- [Fingerprint and WebAuthn](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/views.py): `Project-Face-attandence-system-version-1.0/app1/views.py`

### Attendance records

- [Student and attendance models](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/app1/models.py): `Project-Face-attandence-system-version-1.0/app1/models.py`
- [SQLite database](https://github.com/lokeshwarmenati/ai-powered-face-recognition-attendance-system/blob/main/Project-Face-attandence-system-version-1.0/db_seed.sqlite3): `Project-Face-attandence-system-version-1.0/db_seed.sqlite3`

### Other components

- **Student**
- **Administrator**
- **Browser**
- **Fingerprint sensor**
- **Camera feeds**

## Connections

- Student → Browser: uses portal (evidence: `README.md`)
- Administrator → Browser: uses console (evidence: `README.md`)
- Browser → Portals and forms: views (evidence: `README.md`)
- Browser → Request routing: requests routes
- Request routing → Application views: dispatches to (evidence: `Project-Face-attandence-system-version-1.0/app1/urls.py`)
- Application views → Student and attendance models: queries and updates (evidence: `Project-Face-attandence-system-version-1.0/app1/views.py`)
- Application views → Face recognition: runs recognition (evidence: `Project-Face-attandence-system-version-1.0/app1/views.py`)
- Face recognition → YuNet and SFace models: uses models (evidence: `README.md`)
- Application views → Fingerprint and WebAuthn: handles credentials (evidence: `Project-Face-attandence-system-version-1.0/app1/views.py`)
- Fingerprint and WebAuthn → Fingerprint sensor: verifies biometrics (evidence: `README.md`)
- Camera feeds → Face recognition: supplies frames (evidence: `README.md`)
- Django configuration → SQLite database: configures SQLite (evidence: `Project-Face-attandence-system-version-1.0/Project101/settings.py`)
- Student and attendance models → SQLite database: persists records
