Skip to content

fix: Responsive design

Kaila Harishwar Reddy requested to merge feat/smart_bus into main

Smart Bus Crowd Prediction is a Flask-based web application that helps monitor and manage bus occupancy in real time.

It simulates ticket scanning to count passengers as they board a bus. Each scan increases the passenger count, updates the occupancy percentage, and predicts the crowd level using three status categories:

  • Green: 0% to 50% occupancy
  • Yellow: 51% to 80% occupancy
  • Red: 81% to 100% occupancy

When the bus reaches its maximum capacity, the system automatically blocks further ticket issuing and displays “Bus Full.” The dashboard shows the bus number, capacity, current passenger count, occupancy percentage, and crowd status with clear color indicators.

The project uses Flask for the backend, SQLite for storing bus and passenger data, HTML/CSS for the interface, and JavaScript for live dashboard updates.

Merge request reports

Loading