SafeRoadsAI is an intelligent pothole detection and reporting platform that leverages AI to identify potholes from user-submitted images or camera feeds. It enables real-time pothole detection with geolocation tagging and seamless reporting to help municipal authorities maintain safer roads. The system empowers both users and administrators through a responsive interface and scalable backend.
- AI-Based Detection: Uses computer vision models to detect potholes in real-time.
- Geo-tagged Reporting: Automatically captures user location and submits pothole data to a centralized dashboard.
- User-Friendly Interface: Citizens can easily upload images and report road issues.
- Scalable & Secure: Built with modern tools to ensure fast and safe operations.
- Frontend: React Native (Expo)
- Backend: Node.js, Express.js
- Database: MongoDB
- Machine Learning: Python (OpenCV)
Before you begin, make sure you have the following installed:
- Node.js (v20 or higher)
- MongoDB or a MongoDB Atlas account
- Python 3.8+ for the AI model
- Git
- Clone the repository
git clone https://github.com/rishvant/Pothole-App
cd Pothole-App
- Install Frontend Dependencies
cd client
npm install
- Install Backend Dependencies
cd ../server
npm install
-
Set Up Environment Variables
-
Run Backend Server
cd ../server
node server.js
- Run Frontend Server
cd ../client
npx expo start