An intelligent road monitoring system that uses AI, computer vision, and GPS to detect road anomalies such as potholes and speed breakers while automatically logging their locations to a backend server. The system also includes an SOS emergency alert feature that sends notifications to a Telegram bot with the vehicleβs location. Team - 11 - Suriyan Loganathan, Udhayadev G S, Dhakshnamoorthy J
Sample image for maps -
Telegram in emergency contacts phone when there is an SOS alert - 
This project uses Flutter, TensorFlow Lite, and a Node.js + MongoDB backend to build a real-time road monitoring system. The mobile app captures images, detects road conditions using an AI model, and sends the results with GPS coordinates to the backend. The server stores detections and visualizes them on a web dashboard and Google Maps.
An SOS emergency button allows users to send their location instantly, triggering a Telegram bot alert.
Flutter App β Camera + TensorFlow Lite β GPS Location (Geolocator) β Node.js API β MongoDB Database β Web Dashboard + Google Maps β Telegram SOS Alerts
- Detects Normal Road
- Detects Potholes
- Detects Speed Breakers
- Runs using TensorFlow Lite
- Captures latitude, longitude, timestamp
- Sends location with every detection
- Stores detections in MongoDB
- Displays logs in a web dashboard
-
Google Maps showing detected road issues
-
Color markers:
- π΄ Pothole
- π Speed Breaker
- π’ Normal Road
- SOS button in mobile app
- Sends GPS location to backend
- Backend triggers Telegram bot notification
Example alert:
π¨ SOS ALERT Vehicle TN07-XYX-123 sent an emergency alert
Latitude: 13.0827 Longitude: 80.2707
https://maps.google.com/?q=13.0827,80.2707
Mobile App
- Flutter
- Dart
- Camera
- Geolocator
- TensorFlow Lite
Backend
- Node.js
- Express
- MongoDB
- Mongoose
- Axios
Visualization
- HTML / CSS
- Google Maps API
Alerts
- Telegram Bot API
road_detector_project
β
βββ flutter_app
β βββ main.dart
β βββ model.tflite
β
βββ road_backend
β βββ server.js
β βββ package.json
β
βββ README.md
git clone https://github.com/yourusername/road-detector-ai.git
flutter pub get
flutter run
Required permissions:
- Camera
- Location
- Internet
cd road_backend
npm install
node server.js
Server runs at:
http://localhost:5000
Detection logs:
http://localhost:5000
Map visualization:
http://localhost:5000/map
Save Detection
POST /api/detection
Send SOS
POST /api/sos
Suriyan L

