https://github.com/rishvant/saferoadsai
AI-driven platform for real-time pothole detection, geolocation-based reporting, and centralized road issue management.
https://github.com/rishvant/saferoadsai
artificial-intelligence computer-vision expressjs machine-learning mongodb nodejs opencv pothole-detection react-native
Last synced: 3 months ago
JSON representation
AI-driven platform for real-time pothole detection, geolocation-based reporting, and centralized road issue management.
- Host: GitHub
- URL: https://github.com/rishvant/saferoadsai
- Owner: rishvant
- Created: 2025-02-06T18:22:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-31T18:42:40.000Z (11 months ago)
- Last Synced: 2025-07-31T21:57:45.735Z (11 months ago)
- Topics: artificial-intelligence, computer-vision, expressjs, machine-learning, mongodb, nodejs, opencv, pothole-detection, react-native
- Language: TypeScript
- Homepage:
- Size: 864 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SafeRoadsAI - AI-Powered Pothole Detection & Reporting Platform
**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.
## Features
- **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.
## Tech Stack
- **Frontend**: React Native (Expo)
- **Backend**: Node.js, Express.js
- **Database**: MongoDB
- **Machine Learning**: Python (OpenCV)
## Installation
### Prerequisites
Before you begin, make sure you have the following installed:
- [Node.js](https://nodejs.org/) (v20 or higher)
- [MongoDB](https://www.mongodb.com/) or a MongoDB Atlas account
- [Python 3.8+](https://www.python.org/downloads/) for the AI model
- [Git](https://git-scm.com/)
### Steps to Run Locally
1. Clone the repository
```
git clone https://github.com/rishvant/Pothole-App
cd Pothole-App
```
2. Install Frontend Dependencies
```
cd client
npm install
```
3. Install Backend Dependencies
```
cd ../server
npm install
```
4. Set Up Environment Variables
5. Run Backend Server
```
cd ../server
node server.js
```
6. Run Frontend Server
```
cd ../client
npx expo start
```