Skip to content

Aayushman-Gupta/MelaSafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Crowd Predictor

This app uses many techniques and algorithms to predict future crowd patterns in a large gathering and provide details about where can emergency personnel like police and ambluance should be stationed for maximum efficiency. It also provides the shortest and the most efficient path through the crowd and obstacles.

Tech Stack

  • Python
  • Numpy
  • Tensorflow
  • Scikit-Learn
  • Matplotlib
  • CV2
  • React
  • Vite

Crowd Simulation with Heatmaps - Gaussian filter..

Crowd movement simulation using python numpy and plotting those movement with the help of matplotlib where the blue dots represent the people and the black dots represent the obstacles such as vehicles, walls etc. The crowd is represented internally with the use of 2D Array. Cumulative heatmap generation using gaussian filter where the less dense areas are represented in black and more densely populated areas are represented by bright red.

Simulation heatmap

Future Crowd - LSTM

Implemented future crowd predicition using the LSTM model due to crowd movement being a time series feature.

Future crowd

Accuracy of LSTM model is shown below :-

LSTM Accuracy

Shortest Pathfinding - A* Algorithm

Implemented shortest pathfinding algorithm using A*. It finds for us paths that avoid the obstacles and heavy crowds.

Pathfinding

Ambulance Distribution - DBSCAN Clustering

Implemented the distribution of emergency services using DBSCAN clustering algorithm so that the ambulances are distributed according to the density. More units in higher density areas and vice versa.

Ambulance1

๐Ÿ‘ค Developed by

Aayushman Gupta

About

: ๐Ÿšจ A Real-Time Stampede Prevention System built with โš™๏ธ Django, โš›๏ธ React, ๐Ÿ’ป Path Algorithms(A* & Djikstra), and ๐Ÿง  LSTM โ€” capable of monitoring ๐Ÿ‘ฅ 100,000+ individuals, predicting ๐Ÿ”ฎ crowd congestion with 90%+ accuracy, and computing ๐Ÿ›ฃ๏ธ optimal evacuation paths using ๐Ÿ…ฐ๏ธ* and ๐Ÿ“ Dijkstra.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors