Skip to content

Real-time public transport crowd monitoring and predictive analytics MVP. Designed to help authorities and commuters visualize crowd density, detect risks, and optimize train operations.

Notifications You must be signed in to change notification settings

5Amogh/crowd-pulse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚦 Crowd-Pulse

Real-time public transport crowd monitoring and predictive analytics MVP. Designed to help authorities and commuters visualize crowd density, detect risks, and optimize train operations.

Built collaboratively by Amoghavarsh Desai and ChatGPT (OpenAI) 🀝


🧠 What is Crowd-Pulse?

Crowd-Pulse is a demo prototype (MVP) that simulates how public transport systems (e.g., metros, subways) can:

  • πŸ“Š Track real-time platform crowd density
  • πŸš‡ Compare expected vs actual train loads
  • πŸ”” Raise alerts for overcrowding or sensor inconsistencies
  • πŸ“ˆ Visualize historical crowd trends
  • 🌐 Enable smart, data-driven transit decisions

It’s designed as a starting point for cities, researchers, or civic tech hackers who want to reduce stampedes, delays, and discomfort in public transport.


πŸ—οΈ Project Structure

Crowd-Pulse/
β”œβ”€β”€ backend/           # Express.js API for mock crowd simulation & risk analysis
β”‚   β”œβ”€β”€ index.js
β”‚   β”œβ”€β”€ crowd_history.json
β”‚   └── package.json
β”œβ”€β”€ frontend/          # React + Material UI + Chart.js dashboard
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   └── CrowdTrendDashboard.jsx
β”‚   β”œβ”€β”€ vite.config.js
β”‚   └── package.json
└── README.md

βš™οΈ Features

βœ… Crowd Estimation from:

  • Ticket check-ins
  • Device ping approximations (simulated)

βœ… Insights Engine:

  • Calculates density (people/mΒ²)
  • Computes train load vs capacity
  • Flags high-risk conditions (e.g., overcrowding)

βœ… Historical Logging:

  • Saves every simulation step to JSON
  • Visualized with line charts

βœ… Frontend Dashboard:

  • Station selector
  • Auto-refresh every 10s
  • Responsive and clean UI using Material UI

πŸš€ Getting Started

1. Backend Setup

cd backend
npm install
npm start

Starts the mock server at: http://localhost:8000/mock-crowd

2. Frontend Setup

cd frontend
npm install
npm run dev

Opens the dashboard at: http://localhost:5173


πŸ“Έ Screenshots

Coming soon!


🀝 Authors


πŸ’‘ Future Ideas

  • Live integration with metro check-in APIs or IoT devices
  • SMS/push alerts to passengers
  • Multi-station congestion forecasting
  • Admin panel for transport authorities

πŸ“„ License

MIT – Free to use, fork, or modify.

Let’s make cities safer, smarter, and commuter-friendly – one pulse at a time. πŸš¦πŸ“Š

About

Real-time public transport crowd monitoring and predictive analytics MVP. Designed to help authorities and commuters visualize crowd density, detect risks, and optimize train operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •