Minor Project Draft Report - 2
Minor Project Draft Report - 2
A PROJECT REPORT
Submitted by
HARISH K (927622BAL014)
RAMANA M (927622BAL038)
of
BACHELOR OF TECHNOLOGY
IN
DECEMBER 2023
i
M. KUMARASAMY COLLEGE OF ENGINEERING
BONAFIDE CERTIFICATE
Certified that this project report “ A Two-Stage Bus Tracking System with Live
Tracking and AI-Powered Seat Availability ” is the Bonafide work of “
HARISH K (927622BAL014), RAMANA M (927622BAL038), SYED SAMI U
(927622BAL048) ” who carried out the minor project work under our supervision.
SIGNATURE SIGNATURE
Dr.R. Raja Guru, M.Tech.,Ph.D. Dr.T.Saravanan,
ASSOCIATE PROFFESSOR AND HEAD SUPERVISOR
Department of Artificial Intelligence Assistant Professor/AI
M.Kumarasamy College of Engineering, Department of Artificial Intelligence
Thalavapalayam, M.Kumarasamy College of Engineering
Karur-639113. Thalavapalayam,
Karur -639113.
ii
ABSTRACT
The Advanced Bus Tracking System with Live Tracking and Seat Detection AI
represents a cutting-edge solution to enhance the efficiency, safety, and overall
experience of public transportation. This system harnesses the power of real-time
tracking technology and artificial intelligence to revolutionize the way we interact
with and manage bus services. The core feature of this system is its live tracking
capability, which allows passengers to monitor the precise location of buses in real-
time through a user-friendly mobile application. This not only eliminates uncertainties
associated with bus arrival times but also aids in route planning, reducing waiting
times and ensuring a seamless travel experience. Additionally, the system
incorporates an innovative Seat Detection AI, which employs computer vision and
machine learning algorithms to automatically detect and report the occupancy of each
seat on the bus. Passengers can use the app to view seat availability and select
available seats if they want to be socially distant or prefer roomier seats. In addition,
the system can help drivers and transit authorities monitor overcrowding to ensure
safer travel conditions. Administrators and transit agencies benefit from the system's
comprehensive dashboard, which provides real-time data on bus locations, ridership
and route efficiency. This data-driven approach enables proactive decision making
and optimizes fleet management and service quality.
In summary, the Advanced Bus Tracking System with Live Tracking and Seat
Detection represents a technological leap forward in public transportation. Its
seamless live tracking feature guarantees passengers an enhanced travel experience,
while seat recognition AI promotes safety and social distancing. This system provides
a holistic solution to improve public transportation while promoting a more connected
and informed community.
TABLE OF CONTENTS
iii
CHAPTER
TITLE PAGE NO
NO
ABSTRACT iii
LIST OF FIGURES v
LIST OF TABLES vi
LIST OF ABBREVATIONS vii
1. INTRODUCTION 1
1.1 Problem Statement 1
1.1.1 Current Issues 2
1.1.2 Consequences 2
1.1.3 Proposed Solution 2
1.2 Objective 3
1.3 Benefits 3
2. LITERATURE SURVEY 4
3. FEASIBILITY STUDY 19
3.1 Web Development 19
3.2 App Development 20
3.3 Hardware Integration 20
4. PROJECT METHODOLOGY 21
4.1 Proposed Project 21
4.2 Project Evaluation 22
5. RESULTS AND DISCUSSION 23
6. CONCLUSION 26
7. REFERENCES 27
iv
LIST OF FIGURES
11 Home Page 2 24
12 About Page Insight into the Service 25
13 About Page How the system is integrated 25
v
LIST OF TABLES
1 Database Management 6
2 Communication Systems 9
3 Front-end Implementation 14
4 Hardware Implementation 17
vi
LIST OF ABBREVIATIONS
ABBREVIATION EXPANSIONS
vii
CHAPTER – 1
INTRODUCTION
In the bustling urban landscape, efficient public transportation is crucial for ensuring
smooth daily commutes. The Smart Bus Tracker project aims to revolutionize the public
transportation experience by introducing a real-time bus tracking system. This innovative
solution leverages cutting-edge technology to provide commuters with accurate, up-to-the-
minute information about the location and estimated arrival times of buses.A Bus Tracking
System represents a technological solution designed to address these needs, offering a
comprehensive approach to managing and monitoring bus fleets. This system leverages
cutting-edge technologies, such as GPS (Global Positioning System), mobile
communications, and data analytics, to provide real-time information about the location,
status, and performance of buses within a fleet.
Unreliable bus schedules: Passengers struggle to anticipate bus arrival times due to
inconsistencies in schedules and delays, leading to long waiting times and missed
connections.
Limited visibility into bus location: Lack of real-time information about bus
whereabouts hinders effective trip planning and increases uncertainty for passengers.
Inefficient fleet management: Bus operators lack comprehensive data on bus location,
performance, and ridership, making it difficult to optimize routes, schedules, and
resource allocation.
Negative passenger experience: The combination of these factors contributes to
passenger frustration, dissatisfaction, and reduced trust in public transportation.
1
1.1.2 Consequences:
Decreased use of public transportation: People turn to alternative modes of travel,
causing increased traffic congestion and environmental impact.
Lost productivity: Passengers waste time waiting for buses, impacting their work, school,
and personal lives.
Equipping buses with GPS tracking devices: Providing continuous data on bus location and
movement.
Providing data analytics tools: Allowing bus operators to optimize schedules, identify
issues, and improve service efficiency.
Expected benefits:
Improved passenger experience: Increased satisfaction through shorter waiting times,
better trip planning, and enhanced reliability.
2
1.2 OBJECTIVE:
1.3 BENEFITS
Enhanced Commuter Experience: Provide commuters with the ability to plan their
journeys more efficiently, reducing waiting times and improving overall satisfaction.
Operational Efficiency: Enable transportation authorities to monitor and optimize bus
routes based on real-time data, enhancing operational efficiency and resource
allocation.
Environmental Impact: Encourage the use of public transportation by making it more
reliable, contributing to reduced traffic congestion and environmental benefits.
As our cities evolve, the SmartBus Tracker project strives to create a smarter, more
connected public transportation system, ultimately enhancing the quality of life for
urban residents.
3
CHAPTER 2
LITERATURE SURVEY
Firebase is known for its ease of use, real-time capabilities, and seamless integration with
other Google Cloud services. It's widely adopted by developers for building modern
applications, especially those requiring real-time updates, authentication, and scalable
cloud infrastructure. Some of the features that were implemented in other findings as per
our research were live seat occupancy that was monitored by ultrasonic sensors and
cameras placed in the bus which could help us identify the capacity of a bus and use
specific algorithms to recommend the bus to fewer people to avoid overcrowding.
Firebase also allows us to focus on the front-end part of the project more as it handles the
majority of the heavy lifting with Google’s powerful APIs and also lets us host the
platform on the cloud so it is more accessible and has a integrated analytic feature which
could help improve the website based on feedback and usage of the users.
4
By leveraging these Firebase features, developers can build a robust and scalable live
tracking application that provides real-time location updates, secure authentication, and
efficient data storage and retrieval. The combination of Firebase services makes it easier
for developers to focus on building the application's unique features while relying on a
reliable and scalable backend infrastructure.
Below we have figure 2.1 where we have represented how we are going to implement the
database and how it is going to be connected to the servers. The website will be
constantly updated with real time data that is being managed by the cloud servers pushing
the data to the website.
5
Ref. No. Author Methodologies Used
[1] Faraz Ameen Data is constantly updated to the server and
Nechikkadan, real-time data is continuously provided to the
Jijesh Modon, user on the client device.
(2021)
6
[6] Md Marufi Rahman, In this work, real time Google map and
J. R. Mou, Arduino based vehicle tracking system is
(2016) implemented with Global Positioning
System (GPS) and Global system for mobile
communication (GSM) technology. GPS
module provides geographic coordinates at
regular time intervals. Then the GSM
module transmits the location of vehicle to
cell phone of owner/user in terms of latitude
and longitude.
[7] M. A Hafiizh Nur, In this paper, an integrated online system is
Sugondo Hadiyoso, designed to provide information, including
(2020) bus arrival time, bus position, and the
number of passengers on the bus. This
information system is a website application
that is connected to the Firebase real-time
database so that all data can be accessed in
real-time and then displayed at the bus stop.
Table 2.1 Database Management
The table 2.1 above consolidates the existing works in the field of database
management in vehicle tracking systems.
8
Figure 2.2 Diagrammatic representation of Communication System
9
transported in private vehicles in real time.
10
[14] S. S. Naik, Tracking of school bus is done by GPS
T. G. Harshitha, (Global Positioning System) technology.
H. D. Spoorthy, The system alerts parents by notifying them.
(2020) This is achieved through GSM (Global
System for Mobile applications). RFID
(Radio Frequency Identification) identifies
unique id given to each individual.Also an
algorithm is implemented to calculate the
arrival time of the bus in addition to
tracking.
[15] Zuhanis Mansor, the Malaysia Public Bus Monitoring Real-
Fatin Shahmira Binti Time System via GPS and GSM is
Zulfa’is Shah, implemented to help the bus user to track
(2020) the current location of the bus in the form of
latitude and longitude coordinates by using
GPS technology. This technology of Global
Positioning System and Global System for
Mobile communication is used where the
GPS module will track on the current
position of a particular bus by receiving
signal from at least three GPS satellites.
The table 2.2 above summarizes the research done on Communication Systems
in vehicle tracking systems.
11
2.3 RESEARCH ON FRONTEND IMPLEMENTATION
The front-end implementation in a bus tracking system involves the development of the
user interface (UI) and user experience (UX) components that allow end-users, such as
passengers and administrators, to interact with the tracking system.
The front-end should display real-time bus locations accurately. Users can see the
current position of buses on the map, and the system should update the positions
dynamically as buses move along their routes. Details about each bus, such as its route,
current speed, estimated time of arrival, and other relevant information, should be easily
accessible. This information helps passengers plan their journeys and stay informed
about bus movements. User authentication ensures that only authorized individuals can
access certain features. Personalization features allow users to save favorite routes, set
preferences, and receive customized notifications.
For passengers, the front-end may include route planning features. Users can input their
starting point and destination to receive suggested bus routes, stops, and estimated
arrival times.Passengers may be able to provide feedback or ratings for their bus
journeys directly through the front-end. This information can be valuable for improving
service quality. Administrators may have access to historical data and reporting features
in the front-end. This can include analytics on bus performance, ridership trends, and
other relevant metrics. In addition to passenger-facing features, the front-end may
include a separate interface for bus drivers. This interface provides drivers with real-
time information, route details, and any relevant alerts. The front-end may integrate
with other transportation services or third-party applications, such as payment systems,
to offer a seamless and integrated experience for users. The front-end of a bus tracking
system is a critical component that directly impacts the user experience. It should be
intuitive, responsive, and provide users with the information they need to make
informed decisions about their journeys.
12
Figure 2.3 Diagrammatic representation of Front-end Implementation using Firebase
Mr. Pradip Suresh Mane and Prof. Vaishali Khairnar’s report on Analysis of Bus
Tracking System Using GPS on Smartphones from June 2014 goes states The Website
is the main entry point for most riders when using for the first time. The homepage has
a description of the project, links to the various interfaces, and more details about the
research driven by application. There are three primary interfaces powered by the
website The standard desktop web interface, The Android-optimized mobile web
interface, The text-only web interface.
13
Ref. No. Author Methodologies Used
14
[18] C K Gomathy A Real-Time College Bus Tracking
(2021) Application which runson Android smart
phones. This enables students to find out
the location of the bus so that they won’t
get late or won’t arrive at the stop too
early. The main purpose of this
application is to provide exact location
of the student’s respective buses in
Google Maps besides providing
information like bus details, driver
details, stops, contact number, routes,
etc.
15
2.4 RESEARCH ON HARDWARE IMPLEMENTATION
The hardware implementation in bus tracking systems involves various components
to facilitate real-time tracking, data collection, and communication. Here are some
common hardware elements used in bus tracking systems:
When building a vehicle tracking system, it's important to consider the specific
requirements and features needed, as this will influence the choice of components and
their integration. Additionally, compliance with privacy and data protection
regulations should be taken into account during the system design.
16
Figure 2.4 Diagrammatic representation of Hardware Implementation using Firebase
18
CHAPTER-3
FEASIBILITY STUDY
This paper proposes a two-stage bus tracking system that addresses the limitations of
existing solutions and introduces novel features to improve the overall commuting
experience.
The first stage of the system involves developing a comprehensive website that serves as a
central repository of information for bus routes and stops. This website will provide users
with the following functionalities:
1.Route Map Visualization: Interactive maps will display the complete network of
bus routes, allowing users to easily identify their desired route and plan their journey
accordingly.
2.Bus Stop Information: Detailed information about each bus stop, including its
location, accessibility features, and scheduled arrival times for different routes, will be
readily available on the website.
19
3.2 App Development
Stage 2: Mobile App and Hardware for Live Tracking and AI-
Powered Seat Availability
The second stage of the system focuses on enhancing the user experience through a
mobile application and hardware integration. The mobile app will offer the following
features:
Live Bus Tracking: Users can track the real-time location of their desired bus on an
interactive map, allowing them to estimate arrival times and plan their journey
accordingly.
Real-Time Seat Availability: Utilizing AI algorithms and sensor data, the app will
provide real-time information about seat availability on each bus, enabling users to choose
the most convenient bus for their travel.
Push Notifications: The app will send push notifications to users regarding bus delays,
cancellations, or route changes, ensuring they stay informed and can adjust their plans
accordingly.
GPS Tracking Devices: Each bus will be equipped with GPS tracking devices
that continuously transmit their location data to the central server.
Seat Sensors: Sensors will be installed on each seat to detect occupancy, providing
real-time data about available seats.
20
CHAPTER-4
PROJECT METHODOLOGY
Fig
No:
4.1 –
1. Problem Initiation:
Project Scope Definition: Clearly define the scope, objectives, and features of the
Bus Tracking System, specifying what the platform should include.
Team Formation: Assemble a cross-functional team comprising of developers,
designers, project managers, and electronic engineers.
2. Requirements Gathering:
Market Research: Conduct market research to understand user preferences,
streaming trends, and competitor offerings.
User Stories: Create user stories and use cases to capture detailed functional and non-
functional requirements.
3. Architecture and Technology Selection:
Firebase choice: Confirm the selection of Firebase and its APIs as the Technology
stack for the project.
Database Design: Develop a database schema to store user data, content metadata,
and streaming-related information.
21
4. Development Phases;
Front-end Development: Design and implement the user interface(UI)
components using React for a responsive and engaging user experience.
Back-end Development: Develop server-side logic using Node.js and Express.js,
including user authentication, content management, and payment processsing.
5. Testing and Quality Assurance:
Unit Testing: Perform unit testing to validate individual components and functions.
Integration Testing: Verify the integration of front-end and back-end components
for seamless operation.
User Tesing: Conduct usability testing with real users to gather feedback and make
necessary improvements.
6. Deployment and Scaling:
Server Setup: Configure servers and deploy the application, ensuring scalability to
handle increasing user traffic.
Load Testing: Perform load testing to assess the system’s ability to handle
concurrent users and high traffic loads.
7. Security and Compliance:
Data Protection: Implement robust security measure to protect user data and
sensitive information.
Compliance: Ensure compliance with data privacy regulations and content
licensing agreements.
8. User Training and Documentation:
Creating user documentation and provide training materials to onboard
administrators and content managers.
9. Ongoing Maintenance and Updates:
Establish a maintenance plan for regular updates, bug fixes and security patches.
Continuously monitor the platform’s performance and user feedback to drive
improvements.
10. Project Evaluation:
Assess the project’s success based on predefined KPIs, such as user adoption rates
and revenue generation.
Identify areas for improvement and plan for future enhancements and feature
22
addition.
CHAPTER-5
RESULT AND DISCUSSION
In our project to create a Bus Tracking System using Firebase and IoT (Internet of
Things), we successfully developed a web application that tracks the live location of a bus
gives live feed to a cloud database which is intrepreted by a backend system and sent to
the website. This section of the report discusses the results we achieved and the key
points of discussion.
Results:
1. User Authentication: User authentication is a critical component of our Bus
Tracking System. It enables users to create accounts, log in, and maintain their private
information like location history, live location and personal information securely. We
employed JWT (JSON Web Tokens) for token-based authentication. This approach
enhances security and reduces the need for continuous database queries to check user
credentials.
24
Fig No: 5.3 – Home Page 2
3. About Page: The About page of a website is a critical component that provides visitors
with essential information about the purpose, mission, and identity of the website or the
organization it represents. Here it gives indepth on how our services work and the design
implentation of the wesite. It also gives information on the technologies used.
25
Fig No: 5.5 – About Page How the system is integrated
CHAPTER 6
CONCLUSION
A Bus Tracking System if implemented could be really helpful for the people that are
largely dependent on public transport and the surveys that we had taken also indicated
positive response for the idea. A Bus Tracking System that has all the necessary
features such as Live Tracking, Seat Occupancy, Bus Routes and the number of buses
operating a specific route could prove useful to the people living in urban areas. The
idea is implement it small scale over multiple cities that have a thriving public
transport system. This research investigated the future scope of the existing systems
and used them to understand what features, adaptations, and abilities should be
applied to the development. This paper presents survey work of research papers on
Database Management, Communication Systems , Software and Front end
Implementation, and Hardware Implementation.
Future work can be done on including better communication from the feeder services
and upgrading the hardware to suit the harsh condition and better transfer data rate
and the use of Cloud Services such as AWS, Salesforce and Oracle for their superior
data integration and features to get analytical data. Building of an User friendly
application on both Android and IOS platforms would get better reach. Another thing
to focus on in development of this project would be to integrate this system in large
scale across various cities that would help better inter-connectivity across buses
although this would be a difficult task to undertake as it requires a lot of funding as
well as the technology for this solution to be feasible would require better
uninterrupted internet access.
26
CHAPTER 7
REFERENCES
28
[16] Mane, Mr & Khairnar, Dr. Vaishali. (2014). Analysis of Bus Tracking System Using
GPS on Smartphones. IOSR Journal of Computer Engineering. 16. 10.9790/0661-
162128082.
[17] Sree, J. & Mamatha, T. & Sreekanth, B. & Mohammed, Noor. (2021). Integrated
College Bus Tracking System. International Journal of Scientific Research in Science
and Technology. 732-735. 10.32628/IJSRST2183164.
[18] Gomathy, C K. (2022). SMART VEHICLE TRACKING SYSTEM USING JAVA.
[19] Ganorkar, Ankur. (2020). Live Tracking System. International Journal of Engineering
Research and. V9. 10.17577/IJERTV9IS060770.
[20] Mishra, Aman & Manhar, Advin. (2020). Survey on Live Tracking Phone No. Via
Android/IOS Based App. International Journal of Scientific Research in Computer
Science, Engineering and Information Technology. 323-327. 10.32628/CSEIT206651.
[21] Abdul S. Shibghatullah, Abdurrahman Jalil, Mohd H. Abd Wahab, Joseph Ng Poh
Soon, Kasthuri Subaramaniam, and Tillal Eldabi, "Vehicle Tracking Application
Based on Real Time Traffic," International Journal of Electrical and Electronic
Engineering & Telecommunications, Vol. 11, No. 1, January 2022.
[22] Rahimi, M. K. H. ., Mohamad, R., Kassim, M. ., Abdullah, E. ., & Shuhaimi, N. I. .
(2022). DEVELOPMENT OF A BUS TRACKING AND MONITORING DEVICE
USING ARDUINO NODE MICROCONTROLLER. ASEAN Engineer
[23] Redmill, Keith A., Ekim Yurtsever, Rabi G. Mishalani, Benjamin Coifman, and Mark
R. McCord. 2023. "Automated Traffic Surveillance Using Existing Cameras on
Transit Buses" Sensors 23, no. 11: 5086
[24] Wanninayaka, Nivesh. (2023). Artificial Intelligence-related Mobile Application for
Smart Intercity Bus Tracking and Booking System in Sri Lanka.
[25] S. Akter, T. Islam, R. F. Olanrewaju and A. A. Binyamin, "A Cloud-Based Bus
Tracking System Based on Internet-of-Things Technology," 2019 7th International
Conference on Mechatronics Engineering (ICOM), Putrajaya, Malaysia, 2019.
[26] S. Eken and A. Sayar, "A smart bus tracking system based on location-aware services
and QR codes," 2014 IEEE International Symposium on Innovations in Intelligent
Systems and Applications (INISTA) Proceedings, Alberobello, Italy, 2014.
29
[27] S. Jain, A. Trivedi and S. Sharma, "Application Based Bus Tracking System," 2019
International Conference on Machine Learning, Big Data, Cloud and Parallel
Computing (COMITCon), Faridabad, India, 2019, pp. 152-154, doi:
10.1109/COMITCon.2019.8862254.
[28] S. Jain, A. Trivedi and S. Sharma, "Application Based Bus Tracking System," 2019
International Conference on Machine Learning, Big Data, Cloud and Parallel
Computing (COMITCon), Faridabad, India, 2019, pp. 152-154, doi:
10.1109/COMITCon.2019.8862254.
[29] Chheda Gaurav, Gajra Niket, Chhaya Manal, Deshpande Jitesh and Gharge Saylee,
"Real Time Bus monitoring and Passenger Information System", vol. 1, no. 6, pp.
2231-2307, January 2012.
[30] R. Maruthi and C. Jayakumari, "SMS based Bus Tracking System using Open Source
Technologies", International Journal of Computer Applications (0975–8887), vol. 86,
no. 9, January 2014.
[31] A. Salim and Idrees Ibrahim, "Design and Implementation of Web-Based GPS-GPRS
Vehicle Tracking System", International Journal of Computer Science and Information
Technologies, vol. 3, no. 12, pp. 443-448, December 2013.
[32] Yasha Sardey, Pranoti Deshmukh, Pooja Mandlik, Saurabh Shelar and Minal Nerkar,
"A Mobile Application for Bus Information System and Location Tracking using
Client-Server Technology", Presented at International Journal of Emerging
Technology and Advanced Engineering, vol. 4, no. 4, April 2014.
[33] B. Williams and L. Hoel, "Modeling and forecasting vehicle traffic flow as a seasonal
arima process: Theoretical basis and empirical results", Journal of Transportation
Engineering, vol. 129, no. 6, pp. 664-672, 2003.
[34] S.I.J. Chien, Y. Ding and C. Wei, "Dynamic Bus Arrival Time Prediction with
Artificial Neural Networks", Journal of Transportation Engineering, vol. 128, no. 5, pp.
429-438, 2002.
30