A real-time intelligent system that detects liquid spills and garbage using deep learning, notifies maintenance teams instantly through a connected dashboard and task management system.
Built for industrial and public safety, this solution ensures quick response and reduced hazard risk.
- Real-time Detection – Instantly identifies liquid spills and garbage using a custom-trained deep learning model
- Admin Dashboard – Centralized interface to monitor detections, alerts, and system activity in real-time
- Crew Management – Smart task assignment and tracking system for cleaning crew, ensuring timely resolution
- Firebase Integration – Secure authentication and real-time data synchronization using Firebase
- Scalable Architecture – Modular MERN stack integrated with Firebase for high performance and scalability
Aura_plus_plus_hackgenx/
├── backend/ # Node.js + Express backend with ML integration
├── admin-dashboard/
├── crew-dashboard/ # Frontend interface for cleaning crew
├── model_training/ # Google Colab notebook for training
├── realtime-detection/ # Real-time detection via webcam(OPEN CV)/CCTV (Python)
└── README.md
git clone https://github.com/darshanbagade/Aura_plus_plus_hackgenx.git
cd Aura_plus_plus_hackgenx- Open
model_training/spill_detection_colab.ipynbin Google Colab - Upload your spill dataset or link via Google Drive
Install dependencies:
!pip install tensorflow keras opencv-python matplotlibTrain and save the model:
model.save('spill_detection_model.h5')- Download
spill_detection_model.h5and place it in:
backend/models/spill_detection_model.h5
Navigate to the backend:
cd realtime-detectionInstall all dependencies
pip install opencv-python requests python-dotenv firebase-admin ultralyticsRun the Object Detection Model
python detection.pyAdd your Firebase Admin SDK JSON to:
backend/config/firebaseServiceAccountKey.json
Start the backend server:
npm startNavigate to the backend:
cd backend
npm installAdd your Firebase Admin SDK JSON to:
backend/config/firebaseServiceAccountKey.json
Start the backend server:
npm startNavigate to the frontend:
cd ../admin-dashboard
npm installUpdate API base URL in src/config.js:
export const API_BASE_URL = 'http://localhost:3000';Run the frontend development server:
npm run dev- Go to Firebase Console
- Create a new project or use an existing one
- Enable Firestore Database and Firebase Authentication
- Download the Admin SDK credentials and place them in:
backend/config/firebaseServiceAccountKey.json
Firebase init code in backend/index.js:
const admin = require('firebase-admin');
const serviceAccount = require('./config/firebaseServiceAccountKey.json');
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: 'https://<your-project-id>.firebaseio.com'
});| Layer | Technology |
|---|---|
| Frontend | React.js (JSX) |
| Backend | Node.js, Express.js |
| ML Model | Yolo, OpenCV |
| Database | Firebase Firestore |
| Mobile App | React Native, Expo |
| Auth | Firebase Auth |
| Training | Google Colab |
- Use
.envfiles to manage sensitive keys and secrets - Place trained model in
backend/models/spill_detection_model.h5 - Log model loading steps in backend for debugging


