← All projects

// AI

ClassOS

  • featured
  • ongoing
  • 2024

Classroom attendance platform powered by FastAPI + PostgreSQL with computer-vision pipelines using OpenCV, deployed on Raspberry Pi.

  • Python
  • FastAPI
  • OpenCV
  • PostgreSQL
  • Raspberry Pi

ClassOS automates classroom attendance using a Raspberry Pi + camera module running an OpenCV face-recognition pipeline. A FastAPI backend talks to PostgreSQL for student rosters and attendance logs, with a per-class dashboard for instructors. It was designed to run on a single Pi per classroom, syncing attendance records back to a central server at the end of each session.

Highlights

  • OpenCV face-recognition pipeline tuned for classroom lighting and partial occlusion
  • FastAPI + PostgreSQL backend with per-class roster and session management
  • Edge deployment on Raspberry Pi with offline-tolerant local caching and end-of-session sync

Challenges

  • Keeping recognition latency under 800ms on Pi-class hardware without GPU acceleration
  • Handling classroom edge cases: masks, profile angles, partial face visibility

What I learned

  • Edge inference budgets are tighter than they look — profile, then optimise
  • Sync-friendly local caches beat always-online assumptions in real classrooms

// more work

Other projects