Skip to content

PurvalBhude/Police-Accident-Dashboard-with-machine-learning-and-face-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accident-Analysis-Prediction-and-Analysis-Team-VPY

A project developed while Karnataka State Police Hackathon on Road Accident Prediction using user's Location and weather conditions by applying Machine Learning concepts.

DataSet

You can access the dataset here.

To Run

pip install -r requirements.txt python app.py

Accident Prediction App

We have developed an accident prediction app using FlutterFlow. This app allows users to predict the severity of an accident by providing inputs such as District Name, Weather, Number of Vehicles involved, Latitude, and Longitude.

Features:

  • Prediction: Users can input the necessary parameters and receive the severity prediction for the potential accident.
  • Analysis: The app provides analysis of accident data and displays graphs for different comparisons.
  • Maps: Interactive heat maps and severity dot maps are available to visualize accident data.

Login/Signup and Face Authentication using OpenCV

We have implemented secure login/signup functionality with face authentication using FaceID. This ensures that only authorized users can access the system.

RESULTS AND DISCUSSIONS

Figure 1.0

User Page Accidental prediction app

The above image is the accidenatal prediction app that we have builded using flutterflow.

Figure 1.1

User Page User Page

The above image is the Home page of the website from where we can access the other parts of the website. To move further, we will have to scroll up and continue surfing.

Figure 1.2

Description Page Description Page

The above image shows the Description of the Project and here we can use the Prediction and Analysis option which gives the analysis of the accident data and the prediction of severity of the accident on the given input variables.

Figure 1.3

Prediction Page Prediction Page

The above image shows the prediction after we put in the input for District Name, Weather, Number of Vehicles involved, Latitude, and Longitude. This will predict the Severity over these inputs and would show as output.

Figure 1.4

Analysis Page Analysis Page

This image shows the Analysis part of the project and shows graphs of different comparisons as you would scroll down. There are two options shown named View Heat Map and View Severity Map which would open up an interactive map for Accident data.

Figure 1.5

Heat map Heat Map

This image shows the Heat map for accidents and also marks the hotspots for high accident areas from the website.

Figure 1.6

Heat map face authentication

This image shows the Heat map for accidents and also marks the hotspots for high accident areas from the website.

Figure 1.7

Severity dot map Severity Dot Map

This image shows the dot map for the accidents Severity wise and gives the required data throughout Karnataka.

AI-Bot

We have created an AI Bot that would give us information on the dataset provided and answer the required queries regarding the accidents. The Bot is in its Beta version.

To access the Bot, we can see it on the website at the bottom right corner on every page of the site.

Contributing

Contributions are welcome! If you have suggestions or improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Made with ❤️ by Purval Bhude. For more about me and my work, visit my Portfolio or LinkedIn.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages