Loading repository data…
Loading repository data…
ArshTiwari2004 / repository
Signal-X is an AI-powered traffic management system using advanced computer vision, edge computing, and geospatial intelligence. With real-time sensor fusion, machine learning algorithms, and adaptive signal control, it enables dynamic congestion management and emergency vehicle prioritization.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Signal-X is an AI-driven smart traffic management system that uses advanced computer vision, Arduino-controlled signals, and MapmyIndia’s geospatial analytics to optimize traffic flow in real-time. It prioritizes emergency vehicles, prevents congestion, and enhances road safety through dynamic signal adjustments using live video feeds. Scalable and future-ready, Signal-X is adaptable for cities of all sizes, making urban commuting smarter and more efficient.
With rapid urbanization and an ever-increasing number of vehicles, cities are choking under intense traffic congestion. What should be smooth commutes turn into daily nightmares, leading to:
Traditional traffic systems follow fixed-timer logic, blindly rotating signals without considering real-time traffic flow. This outdated mechanism leads to:
It’s time to move beyond timers and take the smart route to traffic management.
Signal-X is an AI-driven Smart Traffic Management System that transforms urban mobility using the power of computer vision, IoT, and geospatial intelligence. Designed to be scalable, real-time, and intelligent, Signal-X optimizes traffic flow, reduces congestion, and ensures faster emergency response through dynamic signal control.
🧠 AI-Powered Traffic Analysis
YOLOv8-based object detection continuously monitors vehicle flow across all junction lanes.
⏱️ Dynamic Signal Adjustment
Adaptive signal control based on real-time congestion and traffic density patterns.
🌐 IoT Integration
Raspberry Pi/Arduino-based controllers ensure seamless traffic light control and emergency detection.
🗺️ Geospatial Intelligence
Integration with MapMyIndia's API offers live congestion updates and smart rerouting.
🚑 Emergency Vehicle Prioritization
Automatically detects emergency vehicles (ambulance, fire brigade, police) and gives them green-light priority.
🔮 Congestion Prediction
AI models analyze historical + real-time data to predict and prevent traffic bottlenecks.
Signal-X operates through a seamless, AI-driven pipeline that integrates video processing, intelligent decision-making, and hardware-level execution.
🎥 Live Data Collection
🗺️ Traffic API Integration
🧠 Vehicle Detection using YOLOv8
🔄 Real-Time Multiprocessing
🧮 Smart Signal Optimization
🔌 IoT-Based Hardware Integration
🖥️ Real-Time Dashboard (React)
Unlike traditional fixed-timer systems, Signal-X uses real-time intelligence and automation to enhance traffic efficiency, reduce delays, and save lives.
✅ Smart
✅ Scalable
✅ Emergency-Ready
✅ Real-Time
✅ AI-Optimized
Data Collection Layer
AI Processing Layer
Backend Processing
Frontend Dashboard
Signal Control System
Signal-X is built using a powerful blend of AI, hardware, geospatial analytics, real-time systems, and scalable web technologies. Here's everything under the hood:
| Tech | Purpose |
|---|---|
| ⚛️ React.js | Dynamic, component-based UI |
| 🗺️ MapMyIndia SDK | Interactive maps & live traffic visualization |
| 🌈 Tailwind CSS | Modern utility-first styling |
| 📡 WebSocket | Real-time UI updates & traffic stats |
| 🔗 Axios | API requests and data fetching |
| 📱 React Native (Expo) | Mobile traffic monitor app (optional extension) |
| Tech | Purpose |
|---|---|
| 🧠 YOLOv8 | High-speed vehicle detection & classification |
| 🎥 OpenCV (cv2) | Image & video stream processing |
| 📊 NumPy, SciPy | Traffic data analytics |
| 📈 Matplotlib | Data visualization and graphs |
| 🔬 Ultralytics | YOLOv8 training and inference |
| 🧠 Reinforcement Learning | Intelligent signal timing optimization |
| Tech | Purpose |
|---|---|
| 🐍 Flask | RESTful API backend (Python) |
| 🌐 WebSocket (Flask-SocketIO) | Real-time data sync with frontend |
| 🍃 MongoDB | NoSQL database for storing traffic history & logs |
| ⚙️ Express.js + Node.js | API support for mobile & hardware integrations |
| Component | Role |
|---|---|
| 💡 Arduino UNO | Signal & sensor control unit |
| 🔊 CZN15E Sound Sensor | Detects approaching emergency sirens |
| 🎥 OV7670 Camera Module | Captures live video for CV analysis |
| 📏 HC-SR04 Ultrasonic Sensor | Measures distance & lane occupancy |
| 💡 LEDs, 🧲 Buzzer, 🔌 Jumper Wires, 🔳 Breadboard | Circuit components for signal light system |
| 🧠 Arduino IDE + Embedded C/C++ | Logic programming and testing |
| 🖥️ Serial Monitor | Debugging and communication with PC |
| Tool | Use |
|---|---|
| 🧩 Pygame | Simulating traffic flow for testing |
| 📈 Scikit-learn | Optional ML utilities |
| 🧪 Matplotlib | Data analysis visualization |
| 🧠 Gemini API | Optional AI assistance (integration idea) |
🚀 Signal-X combines real-world sensors, cutting-edge AI, and cloud-based data pipelines to create a future-ready traffic management solution.
git clone https://github.com/ArshTiwari2004/Signal-X.git
cd Signal-X
cd traffic-monitoring/frontend/web/signalx-web
npm install
VITE_MAPPLS_SDK_KEY=your_mapmy_india_sdk_key
npm run dev
python -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # Linux/Mac
pip install -r requirements.txt
python backend/flask_api.py