Skip to content

About

SafeSync is a smart accident severity prediction system powered by machine learning and weather/road data analysis. It consists of a mobile app for users and a web application for admins to analyze data and take preventive measures based on predicted accident severity.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

Repository files navigation

SafeSync - Accident Severity Prediction & Alert System

SafeSync is a smart accident severity prediction system powered by machine learning and weather/road data analysis. It consists of a mobile app for users and a web application for admins to analyze data and take preventive measures based on predicted accident severity.

Video Demonstration

safesync.mp4

Objectives

Users can use SafeSync to:

  • Predict accident severity of selected route, based on weather and road conditions.
  • Receive real-time accident severity alerts for each street by entering the street name.
  • View interactive dashboards with graphs displaying past accident data clearly.

Authorities can use SafeSync to:

  • Analyze accident trends and identify high risk areas for better infrastructure planning.
  • Monitor accidents prone locations based on historical data and severity predictions.
  • Improve emergency response times by prioritizing high severity accident areas.

Used Technologies

  • Languages
    • Dart - For frontend mobile application development
    • Python - For model development
    • Go - For backend service implementation
    • SQL - For managing data held in PostgreSQL database
  • Tools
    • Android Studio, Visual Studio Code, Kaggle, Google Colab
  • Libraries
    • Tensorflow, Scikit Learn, Pandas, Numpy, Matplotlib, Seaborn, nltk, Keras
  • Database / Storage
    • PostgreSQL
  • Authentication
    • Firebase Authentication
  • Dataset : https://www.kaggle.com/datasets/sobhanmoosavi/us-accidents?select=US_Accidents_March23.csv

Development Architecture Diagram

LSTM Model Architecture Diagram

Features

1. Login

This feature allows users and authority to create an account and log in to the system. And also have forgot password option. Once logged in, users will have access to all of the features of the system. And user can logout anytime.

2. Dashboard

The SafeSync system includes an interactive dashboard that provides comprehensive accident analysis through different data visualizations. The dashboard is designed to help users and authorities better understanding of accident trends based on multiple factors. And it allows for more informed decision making by including Weather-Based, Road-Based, Time-Based, and Location-Based Dashboards etc. So users and authorities can get understand of how these factors have influenced past accident data.

3. Route selection

The SafeSync system includes enhanced route selection capability, allowing users to choose safer travel routes depending on accident severity, real time weather and road data. Users can enter their starting location and destination, and the system will calculate the best route while indicating the severity levels along the way. Furthermore, the technology finds random spots throughout the path and provides real-time information at each one. Users can see the following for each checkpoint:

  • Weather Conditions (ex : temperature, humidity, visibility, and wind speed)
  • Road Features (ex : presence of speed bumps, junctions, crossings, railways)
  • Severity Value (indicating the severity level based on real time weather data and road data)
This feature empowers users to make informed travel decisions by avoiding high-risk areas, ensuring a safer and more efficient journey.

4. Warning System

The system allows users to enter a street name and receive important information such as the predicted severity level, real time weather data, and road features for that street. If the severity is high, the system will display a warning to alert users of potential risks. Otherwise, it will indicate that the conditions are normal. This helps users stay informed about the safety of a specific street based on current severity, weather and road conditions.

Authorities also can enter a street name to access detailed information, including the predicted severity level, real time weather data, and road features for that street. This feature enables authorities to monitor and assess current conditions that may affect road safety. By analyzing the severity, weather, and road features, authorities can make informed decisions to address potential risks and improve road safety in real time.

About

SafeSync is a smart accident severity prediction system powered by machine learning and weather/road data analysis. It consists of a mobile app for users and a web application for admins to analyze data and take preventive measures based on predicted accident severity.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages