Welcome to OccupyAI, the ultimate study room monitoring system!
Track, manage, and visualize university study room occupancy with computer vision, FastAPI, Docker, and Supabase.
- π΅οΈββοΈ Raspberry Pi Client: Detects room occupancy and sends data to the server.
- β‘ FastAPI Server: Receives, validates, and stores occupancy data.
- ποΈ Supabase Database: Securely stores rooms, logs, and user accounts.
- π³ Dockerized Deployment: Easy setup and scaling with Docker Compose.
- π Environment Security: Secrets managed via
.env(never committed!). - π₯ User Management: Authenticated access for students and admins.
- π Python (Computer Vision, FastAPI)
- π³ Docker & Docker Compose
- π¦Έ Supabase (PostgreSQL, Auth)
- π§ͺ PowerShell/Python scripts for testing
- ποΈ Set up Supabase and create tables (
study_rooms,users, etc.). - π Fill in your
.envfile with Supabase credentials. - π³ Build and run the FastAPI server:
docker compose up --build
- π€ Use the Pi client or test scripts to send occupancy data.
- π View and manage data in Supabase.
- π« Never commit your
.envor secrets! - π‘οΈ Enable Row Level Security (RLS) in Supabase for production.
- Carlos Guerrero β Electrial Engineering, UCSD
- Elijah Inamarga β Computer Science, SDSU
- Ruth Maggay β Bio Engineering, UCSD