SmartPresence

A state-of-the-art attendance management system powered by Computer Vision, designed to automate classroom attendance with a premium "Dark Azure" experience.

Key Features

📸

Automated Attendance

Mark attendance seamlessly by uploading a classroom photo. Our advanced CV model detects and recognizes students instantly.

🔐

Face ID Registration

Students can securely register their face data via selfies, generating robust embeddings stored in our cross-platform database.

📊

Interactive Dashboards

Dedicated views for Faculty to manage classes and reports, and for Students to track personal attendance and performance metrics.

🎨

Premium UI/UX

Built with a sleek, responsive "Dark Azure" theme featuring smooth animations, glassmorphism, and intuitive navigation.

🛠️ Technology Stack

SmartPresence leverages a modern, decoupled architecture ensuring high performance, scalability, and maintainability.

⚛️Next.js 16 (App Router)
🎨Vanilla CSS Variables
🛡️NextAuth.js
🗄️Prisma ORM
🐍FastAPI (Python)
👁️OpenCV & YuNet
🐘PostgreSQL (Neon.tech)
🐳Docker

⚙️Setup & Configuration

Deploying SmartPresence requires configuring specific environment variables for both the frontend and backend services.

# Backend (.env)
DATABASE_URL="postgresql://user:pass@ep-restless-bird-1234.neon.tech/neondb"

# Frontend (.env)
DATABASE_URL="postgresql://user:pass@ep-restless-bird-1234.neon.tech/neondb"
NEXTAUTH_SECRET="your-super-secret-string-here"
NEXT_PUBLIC_CV_BACKEND_URL="https://smartpresence-cv.onrender.com"

🚀 Deployment Architecture

The system is designed for cloud-native deployment. The Next.js frontend is deployed edge-first on Vercel for optimal latency. The computationally intensive Computer Vision backend runs in a containerized environment on Render. All relational and embedding data is securely persisted in a serverless Neon.tech PostgreSQL database.