Skip to content
Adam Omar Saleh

Case studyAI & Computer Vision

AI Student Attendance System

Local facial recognition with policy-safe daily attendance.

Status
Prototype

Working software, not production-deployed.

Discipline
AI & Computer Vision
Role
Being confirmed
Year
2025–2026

Overview

An attendance-first school platform (by ARCH TEAM) that recognizes enrolled students with local facial recognition and records one policy-based attendance entry per student per school day.

Recognition

Problem

Manual roll-call is slow and error-prone; schools need reliable, private, offline-capable attendance that cannot be gamed by unknown faces.

Approach

FastAPI backend as the source of truth with a static dashboard; MediaPipe BlazeFace detection plus face_recognition embeddings, two-frame backend confirmation, a heuristic liveness gate, and a timezone-aware attendance policy.

Implemented

  • Enrollment → face capture → recognition → RecognitionEvent → attendance policy flow
  • Attendance rules (Asia/Amman): Present before 08:00, Late 08:00–09:00, Absent after 09:00; idempotent one-record-per-day
  • Unknown faces never create attendance; ambiguous matches shown to staff as 'Possible: <name>' without marking
  • Heuristic liveness/anti-spoof (Laplacian variance + gradient + FFT) with a designed ONNX upgrade path
  • JWT auth with role-based access, audit log, verified backup creation
  • Bilingual dashboard (English + Arabic); edge/Jetson Orin NX architecture scaffold with offline JSONL queue and HMAC-signed ingest

Technical challenges

  1. 01Preventing stale recognition after student edits/deletes (stable folder naming + model refresh)
  2. 02Routing live recognition through policy-backed attendance instead of a present-only writer
  3. 03Keeping recognition offline and reasonably fast (~345 ms/frame in-process)

Not yet implemented

Planned, scaffolded or out of scope in the current build — listed so the work is not overstated.

  • Backup restore (only verified backup creation exists)
  • ONNX anti-spoof model (upgrade path designed, model not bundled)
  • Deployment on NVIDIA Jetson (edge architecture is a scaffold)
  • Live webcam validation under normal school lighting

Current state

A working prototype with a documented end-to-end path from recognition to attendance record. Project documentation records 126 passing tests (July 2026). No real student records are shown in this portfolio.

  • Live recognition with a timed session and recent-recognition feed.
  • Training controls and live AI engine status.

Next project

Wane — Temporary Two-Person Messaging