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.
PythonNumpyTensorflowScikit-LearnMatplotlibCV2ReactVite
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.

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

Accuracy of LSTM model is shown below :-

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

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.

Aayushman Gupta