Multi-Tenant AI-Powered Cleanliness Monitoring Platform for Healthcare Facilities.
Move from guesswork to verified standards with real-time image analysis, multi-tenant role access, and automated alerts.
- Multi-Tenant Organizations — Platform Admin creates organizations, assigns Supervisors, each supervisor manages Workers, and Patients can request cleaning assistance.
- Server-Side Custom Claims — Role authority and organization scoping are enforced server-side via Firebase Custom Claims and Firestore Security Rules.
- Baseline Architecture — Register a room with a single reference photo stored securely in Firebase Storage.
- Real-time AI Scoring — Upload a photo and receive an immediate 0–100 cleanliness score with a clear status read powered by MobileNetV2.
- Pure Firebase Stack — Fully uses Firebase Auth + Firestore + Firebase Storage. No local disk persistent storage required on Render.
| Role | Scope | Key Capabilities |
|---|---|---|
| Admin | Platform-Wide | Create organizations, assign Supervisors, view platform stats |
| Supervisor | One Organization | Manage Workers, manage Rooms, view team reports & cleaning requests |
| Worker | Assigned Org | Room dashboard, scan flow, history, settings |
| Patient | Assigned Room/Ward | View ward cleanliness status, submit cleaning requests |
- Frontend: React 18, TypeScript, Tailwind CSS, Vite, TanStack Query
- Backend: Python, Flask, Firebase Admin SDK
- Database & Storage: Firebase Auth, Firestore, Firebase Storage
- AI/ML: TensorFlow / Keras (MobileNetV2 architecture)
cd backend
pip install -r requirements.txt
python seed_admin.py --email admin@cleanvision.com
python app.pycd frontend
npm install
npm run devMaintained by [Organization Name]. Licensed under the MIT License.