Crowd monitoring and management using real-time CCTV footages as well as video footages from different sources which aims to provide users with insights into the crowd density at various locations espicially at local market places , shops ,malls.This proposed system will able to predict crowd on timel-basis and forecast the same on timely basis. This helps users make informed decisions about visiting places based on the level of crowdiness.
(
)
The goal of this project is to track and manage crowd density in real-time using CCTV footage. The system detects the number of people at a location, provides an option to input coordinates, and displays the crowd data on a map. It also shows peak and average crowd levels, using color coding to indicate crowd intensity.
max_crowd
, average_crowd
, and preffered_shop
To set up the project, clone the repository and install the required dependencies.
git clone https://github.com/erenyeager101/Crowd_monitoring.git
cd Crowd_monitoring
Ensure you have all dependencies installed by running:
dependencies.bat
To start the application, run the main script in the root directory:
start.bat
Access the web interface at http://localhost:3000
and follow the on-screen instructions to view and interact with the crowd data.
The system uses IP camera on android device or laptop camera footage to detect the number of people at a specific location. This data, along with coordinates and IP address, is sent to the server to update the map with the crowd information.
The project includes a visually appealing and user-friendly interface. The map visualization helps users easily identify crowded areas and make decisions accordingly.
import matplotlib.pyplot as plt
import seaborn as sns
plt.figure(figsize=(10, 6))
sns.barplot(x=locations, y=crowd_levels)
plt.xlabel("Locations")
plt.ylabel("Crowd Levels")
plt.show()
The server processes the incoming data, updates the crowd information on the map, and calculates the max_crowd
, average_crowd
, and preffered_shop
values. It also provides real-time updates to the UI.
Contributions are welcome! Please create a pull request or raise an issue to discuss your ideas. Ensure that your contributions follow the project’s coding standards and guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
dependencies.bat
file. To install all dependencies, simply run this .bat
file in the terminal.dependencies.bat
file, add your own IP address in the detection.py
file. To find the IP address, install the “IP Camera” app from the Play Store. Once the server starts on the IP Camera app, the IP address will be displayed.start.bat
https://vite-woad-two-83.vercel.app/