Minor Project Draft Report Finaldocx
Minor Project Draft Report Finaldocx
A PROJECT REPORT
Submitted by
HARISH K (927622BAL014)
RAMANA M
(927622BAL038)
of
BACHELOR OF TECHNOLOGY
IN
DECEMBER 2023
1
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.
iii
TABLE OF CONTENTS
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
4
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.
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. Author Methodologies Used
No.
[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
(2016) (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.
[8] Sachini Karunathilake GPS tracker on the bus is used to locate the
(2023) bus its coordinates and the speed of the bus are
pushed on to the server to calculate an accurate
arrival time to a user desired destination.
Moreover, the server uses the received
information on buses location and speed to
identify the moving patterns.
7
[9] Kapil Mundada, The system uses GPS and GSM technologies to
Sumedh Patti, track the location and estimated arrival time of
Tejas Rajguru, buses and transmit this information to
(2023) commuters’ mobile devices. This technology
addresses the common problem of long waiting
times at bus stops and the uncertainty of bus
arrival times.
8
the most popular algorithm in vehicular tracking
systems.
[13] Shusuke Kawai, A 480Mb/s wireless real-time bus trace system
Takayuki Ikari
with a pulse-based inductive coupling channel
(2009)
array was developed using a 0.25μm CMOS
digital process. The size and pitch of the
inductor array are determined by numerical
calculation to optimize the trade off between the
channel coupling and alignment tolerance.
[14] S. S. Naik, Tracking of school bus is done by GPS (Global
T. G. Harshitha, Positioning System) technology. The system
H. D. Spoorthy, alerts parents by notifying them. This is
(2020) 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-Time
Fatin Shahmira Binti System via GPS and GSM is implemented to
Zulfa’is Shah, help the bus user to track the current location of
(2020) 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.
9
[16] Mr. Pradip Suresh The standard desktop web interface is
Mane, designed to loosely mimic the interface of the
Dr. Vaishali D. main Google Maps website that many users
Khairnar are already familiar with. Specifically, the
(2014) primary view is a Google map view,with a
search field at the top and a search results
panel on the left. Users can browse the map
directly to see transit stops at a particular
location, Additionally, users can search by
route to display the map of that route and
stops along the route.
10
[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.
[20] Aman Mishra, In this paper they have discussed which will
Advin Manhar, be the feasible app and convenient for all of
(2020) us to track a cell no. via app.
11
[22] Mohamad Khairul, the goal of this research is to develop a bus
Hafizi Rahimi, tracking and monitoring system for the UiTM-
(2022) SAC. Arduino node micro controller unit and
global positioning system (GPS) sensors were
used to send and receive GPS location
information.
[23] Keith A. Redmill, Paper on operationalize this traffic surveillance
Ekim Yurtsever, methodology for practical applications,
(2023) leveraging the perception and localization
sensors already deployed on these vehicles.
[24] Nivesh Wanninayaka A passenger can track a preferred bus and
(2023) reserve seats by choosing destinations.
Artificial intelligence (AI)-based camera
technology is used to count passengers.
[25] Sharmin Akter, In this paper, a cloud-based bus tracking
Thouhedul Islam, system based on IoT is proposed to reduce
(2019) human intervention, waiting time andenergy.
The table 2.4 above briefs the prior work done on Hardware
Implementation of the Bus Tracking System.
12
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:
13
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.
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.
14
CHAPTER-4
PROJECT METHODOLOGY
Fig
No:
4.1
–
1. Problem Initiation:
15
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.
4. Development Phases;
16
data and sensitive information.
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 addition.
CHAPTER-5
RESULT AND DISCUSSION
17
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.
18
through that station. This uses HTML,CSS and JavaScript for the creation of
this webpage.
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
19
on how our services work and the design implentation of the wesite. It also
gives information on the technologies used.
20
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.
CHAPTER 7
REFERENCES
21
[1] Faraz Ameen Nechikkadan,Jijesh Modon,Mohamed Raihan N
V,Mohammed Fazel Faris,Sneha B K, "REAL TIME BUS TRACKING
AND SEAT UPDATING SYSTEM", International Journal of Creative
Research Thoughts (IJCRT), ISSN:2320-2882, Volume.9, Issue 10,
pp.43-47, October 2021.
[2] Eddie Chi-Wah Lau, ‘‘Simple Bus Tracking System’’, Journal of
Advanced Computer Science and Technology Research, vol.3, no.1,2013
[3] Dr. Khalifa A. Salim, Ibrahim Mohammed Idree, “Design and
Implementation of Web-Based GPS-GPRS Vehicle Tracking System”,
IJCSET | December 2013 | Vol 3, Issue 12, 443-448
[4] J. Ali, S. Nasim, T. Ali, N. Ahmed and S. R. un Nabi, "Implementation of
GSM based commercial automobile tracker using PIC 18F452 and
development of Google Earth embedded monitoring software," 2009
IEEE Student Conference on Research and Development (SCOReD),
Serdang, Malaysia, 2009, pp. 33-36, doi:
10.1109/SCORED.2009.5443760
[5] James Biagioni, Tomas Gerlich, Timothy Merrifield, and Jakob Eriksson.
2011. EasyTracker: automatic transit tracking, mapping, and arrival time
prediction using smartphones. In Proceedings of the 9th ACM Conference
on Embedded Networked Sensor Systems (SenSys '11).
[6] M. M. Rahman, J. R. Mou, K. Tara and M. I. Sarkar, "Real time Google
map and Arduino based vehicle tracking system," 2016 2nd International
Conference on Electrical, Computer & Telecommunication Engineering
(ICECTE), Rajshahi, Bangladesh, 2016.
22
on Information and Communication Technology (ICoICT), Yogyakarta,
Indonesia, 2020.
[8] Karunathilake, Sachini & Premadasa, T & Wickramasinghe, W &
Athulathmudali, Anushka & Koswatta, K & Mohamed, Husni &
Senavirathna, D & Abeygunawardhana, Pradeep. (2023). Bus Tracking
and Arrival Prediction System. 08. 10.5281/zenodo.10276701.
[9] Mundada, Kapil & Patti, Sumedh & Rajguru, Tejas & Savji, Puskraj &
Shambharkar, Sayali. (2023). Smart Bus Real-Time Tracking System
Using GSM and GPS Module. 10.1007/978-981-99-4932-8_46.
[10] Raad, M.W., Deriche, M. & Sheltami, T. An IoT-Based School Bus and
Vehicle Tracking System Using RFID Technology and Mobile Data
Networks. Arab J Sci Eng 46, 3087–3097 (2021).
[11] Dr. S. Nirmala, Dr. R. Mekala, Ms. Apurva. P, R. Chinnaiyan, Dr. Stalin
Alex, " Smart Vehicle Tracking System Using Internet of Things",
International Journal of Scientific Research in Science and
Technology(IJSRST), Print ISSN : 2395-6011, Online ISSN : 2395-602X,
Volume 9, Issue 2, pp.351-355, March-April-2022.
[12] Fernando, U. & Samarakkody, Ruwani & Halgamuge, Malka. (2020).
Smart Transportation Tracking Systems Based on the Internet of Things
Vision. 10.1007/978-3-030-36167-9_7.
[13] Shusuke Kawai, Takayuki Ikari, Yutaka Takikawa, Hiroki Ishikuro and
Tadahiro Kuroda, "A wireless real-time on-chip bus trace system," 2009
Asia and South Pacific Design Automation Conference, Yokohama,
Japan, 2009, pp. 91-92, doi: 10.1109/ASPDAC.2009.4796447.
[14] Naik, S., Harshitha, T., Spoorthy, H., Vedashree, B., Taj, G. & P, V.
(2020). IOT Based School Bus Monitoring System With Child Security.
Lecture Notes on Data Engineering and Communications Technologies,
44:668–678.
23
[15] Mansor, Zuhanis & Shah, Fatin & Abd Rahim, Irfan. (2020). Malaysia
public bus monitoring real-time system. AIP Conference Proceedings.
2291. 020005. 10.1063/5.0023496.
[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.
24
[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.
[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.
25
[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.
26