Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚨 RoadSOS — AI-Powered Road Safety & Emergency Response System

Build Status Category Python OpenCV Presentation License


📌 Executive Summary

RoadSOS is an AI-powered IoT road safety and emergency response system engineered to drastically reduce emergency response latency during vehicular collisions and road accidents. By uniting embedded sensor hardware, real-time computer vision, GPS geolocation, and automated GSM/Cloud alert pipelines, RoadSOS detects impacts immediately and dispatches critical situational telemetry to trauma centers, emergency services, and designated contacts.


📊 Project Presentation & Slide Deck Showcase

Important

📥 Official Presentation & Project Documentation:

  • 📄 Slide Deck (PowerPoint): ROADSOS (2).pptx (Full animated slide deck with hardware diagrams & performance metrics)
  • 📑 Technical Project Report (PDF): RoadSOS.pdf (Detailed engineering specifications & literature review)

📑 Presentation Slide Deck Overview

Slide # Slide Title Technical Content Highlighted
01 Title & Executive Summary Project vision, team credentials, and high-level problem statement.
02 The Problem: Response Latency Analysis of traffic accident mortality rates caused by delayed EMS dispatch in India.
03 System Architecture Hardware-software block diagram combining MPU6050, RPi, OpenCV, and GSM/GPS.
04 Impact & Crash Detection Dual-verification pipeline using G-force thresholding and OpenCV visual collision model.
05 Emergency Dispatch Pipeline Multi-channel SOS broadcasting via GSM (SMS/Calls) and MQTT cloud endpoints.
06 Trauma Center Dashboard Real-time web GIS interface displaying accident locations, severity, and nearest hospital routing.
07 Field Testing & Metrics Response latency reduction benchmarks (from 35 mins average down to < 3 mins automated dispatch).
08 Future Scope & Conclusion V2X vehicle communication integration and commercial deployment roadmap.

🏗️ System Architecture

graph TD
    subgraph Vehicle Hardware Unit
        A[Impact Accelerometer / MPU6050] --> D[Embedded Processing Unit]
        B[Dashcam Video Stream] --> C[YOLO / OpenCV Accident Detector]
        C --> D
        E[GPS Module] --> D
    end

    subgraph Emergency Dispatch & IoT Cloud
        D -->|Immediate Alert Payload| F[GSM / MQTT Gateway]
        F --> G[RoadSOS Central Dispatcher]
        G -->|SMS / Automated Calls| H[Emergency Response / Ambulance]
        G -->|Live Coordinates & Video Snapshot| I[Hospital Trauma Center Dashboard]
        G -->|SMS Notification| J[Emergency Contacts]
    end
Loading

✨ Key Features

  • ⚡ Zero-Latency Accident Detection: Combines hardware G-force threshold detection (MPU6050 accelerometer/gyroscope) with visual crash verification to prevent false positives.
  • 📍 Automated GPS Geolocation Tagging: Fetches real-time latitude and longitude coordinates during impact for pinpoint rescue mapping.
  • 📡 Multi-Channel Emergency Dispatching: Transmits SOS alerts over GSM (SMS/Calls) and MQTT/HTTP cloud services to guarantee message delivery even in low-bandwidth network environments.
  • 📹 Live Visual Incident Telemetry: Captures pre- and post-collision video snapshots to give emergency responders instant visibility into incident severity.
  • 🖥️ Emergency Response Dashboard: Web-based centralized dashboard displaying real-time incident locations, vehicle IDs, and nearest trauma center routing.

🛠️ Hardware & Software Stack

🔌 Hardware Components

  • Main Processing Board: Raspberry Pi 4 / ESP32 / Microcontroller Unit
  • Sensors: MPU6050 Accelerometer & Gyroscope, Piezo Impact Sensors
  • Connectivity: SIM800L / SIM900A GSM/GPRS Module, NEO-6M GPS Module
  • Imaging: Pi Camera Module / USB HD Dashcam

💻 Software & Libraries

  • Language: Python 3
  • Computer Vision: OpenCV, YOLO / Custom Detection Models
  • IoT & Protocols: MQTT, HTTP REST API, Serial Communication (pyserial)
  • Dashboard: HTML5, CSS3, JavaScript, Flask

⚙️ Installation & Running Guide

1. Prerequisites

Ensure Python 3.8+ is installed along with required packages:

pip install opencv-python numpy pyserial requests

2. Running Hardware & Sensor Interface

Connect the GPS and GSM modules to the serial UART pins (/dev/ttyUSB0 or /dev/ttyS0):

python main.py

📜 License

Distributed under the MIT License. See LICENSE for details.


Developed by A Sharath — ECE Placement Portfolio

About

RoadSOS is an AI-powered road safety and emergency response system designed to reduce emergency response time during road accidents. The platform combines embedded hardware, computer vision, IoT, and AI to detect accidents, monitor road conditions, and assist emergency services with real-time alerts.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors