Project Report
Project Report
1.INTRODUCTION
1.1. PROJECT OVERVIEW
Railways have been an essential mode of transportation to people all
over the world for centuries. They were critical to the industrial revolution and
played a major role in creating thriving, innovative societies.
Today, railways are more important than ever as country and city governments
are being asked to find innovative ways to safely get back to business post-
COVID, meet the changing needs of their citizens, address urban population
increases, and reduce their environmental impact.
To meet these challenges and position themselves for future success, many
forward-thinking governments and railway operators are looking for smart,
intelligent IoT technologies to modernize their railways.
1.2. PURPOSE
There are many types of smart devices that enable IoT in railways, such
as vibration and temperature sensors, vehicle and station cameras, digital
signage, machine learning libraries, security systems, and more. When these
intelligent devices work together in one end-to-end solution, railway operators
can:
2.LITERATURE SURVEY
2.1. EXISTING PROBLEM
Railways deal with an almost unmanageable number of assets
on a daily basis, including tracks, equipment, stations, and passenger assets, such
as luggage. Knowing where all assets are at all times is imperative to helping keep
everyone safe and operations efficient. Using computer vision to track assets in
near-real time can help reduce dwell time of stationary locomotives and increase
operational efficiency.
One of the biggest challenges operators face is getting
passengers from one place to another. Congestion, overcrowding, and the
potential for crime result in inefficient operations, lost revenue, and, ultimately,
passenger dissatisfaction. Using cameras in the station and onboard the train and
deep learning and AI through computer vision, operators can measure and
analyze passenger flow to help improve operations decision-making and station
planning.
2.2. REFERENCES
Author Title Source Findings
Naveen Bhargav et al. Automatic Fault International The sensor is used
(2016) Detection of Journal of to detect defect in
Railway Track Recent the train track and
System Based Research the ultraviolet
on PLC (ADOR Aspects sensor is used to
TAST) detect the
obstruction in front
of
the train.
B. Siva Rama Krishna Railway track Asian Journal of In the event of any
et al. (2017) fault detection Applied Science defect on the track
system using IR and Technology it will detect track
sensors and (AJAST) defect using IR
Bluetooth sensors and then it
technology sends a message to
the android phone
using Bluetooth
module.
Parvathy A. et al. Automatic IEEE The Automatic
(2017) Railway track Railway Route
fault detection automatically
for Indian detects the fares of
railways the Indian IEEE Rail
Automatically and
detects cracks very
quickly without
human
intervention.
Swati D. Patil & Train track fault International Rail crashes have
Pallavi. M. Taralkar detection Journal of been identified as a
(2018) system Current major cause of
Engineering accidents in the
and Scientific past. So, the
Research solution to this
(IJCESR) problem is using
the robot to detect
cracks in the train
track
and when the robot
detects an error it
sends a message to
the
base station
3.3.PROPOSED SOLUTION
S.NO. PARAMETER DESCRIPTION
FR Non-Functional Description
No. Requirement
NFR- Usability Users can navigate easily
1
NFR- Security The details are secured in the database
2
NFR- Reliability Reliable to the users without any
3 failure as it is not fixed to limited
number of users
NFR- Performance User-friendly
4
NFR- Availability Available any time at the time of ease
5
NFR- Scalability Support the users with their needs in
6 reserving ticket and tracking the
location.
5.PROJECT DESIGN
5.1.DATAFLOW DIAGRAM
5.2.SOLUTION & TECHNICAL ARCHITECTURE
5.3.USER STORIES
SPRINT PLAN
5. MAKE A PROTOTYPE
6. Test With The Created Code and check the
designed
PROTOTYPE
whileTrue:
_,frame=cap.read(0)
decodeObjects=pyzbar.decode(frame)
forobjindecodeObjects:
#print("Data",obj.data)
a=obj.data.decode('UTF-8')
cv2.putText(frame,"Ticket",(50,50),font,2,(255,0,0),3)
#print(a)
try:
responce=service.get_document(db='booking',doc_id=a
).get_result()
print(response)
time.sleep(5)
exceptExceptionase:
print("NotvalidTicket")
time.sleep(5)
cap.imshow("Frame",frame)
ifcv2.waitKey{1}&0XFF==ord('q'):
Break
cap.release()
cv2.destroyAllWindows()
client.disconnect()
7.2.FEATURE 2
importcv2
importnumpya
snp importtime
importpyzbar.pyzbaraspuzbar
fromibmcloudant.cloudant_v1importcloudantv1
fromibmcloudantimportcouchDbsessionAuthenticato
r
fromibm_cloud_sdk_core.AuthenticatorsimportBasic
Auhtenticator
authenticator=BasicAuthenticator('apikey-v2-
16u3crmdpkghhxefdikvpssoh5fwezrmuup5fv5g3ubz','b0ab119f45d3e6255eabb
978)
service=cloudantv1(authenticator=authenticator)
service.set_service_url('https://apikey-v2-
16u3crmdpkghhxefdikvpssoh5fwezrmuup5fv5g3ubz:b0ab119f45d3e6255eabb
978
cap=cv2.videoCapture(0)
font=cv2.FONT_HERSHEY_
PLAIN
whileTrue:
_,frame=cap.read(0)
decodeObjects=pyzbar.decode
(frame)
forobjindecodeObjects:
#print("Data",obj.dat
a)
a=obj.data.decode('U
TF-8')
cv2.putText(frame,"Ticket",(50,50),font,2,
(255,0,0),3) #print(a)
try:
responce=service.get_document(db='booking',doc_id=a).get_res
ult() print(response)
time.sleep
(5)
exceptException
ase:
print("NotvalidTic
ket") time.sleep(5)
cap.imshow("Frame",frame)
ifcv2.waitKey{1}&0XFF==
ord('q'): break
cap.release()
cv2.destroyAllWind
ows()
client.disconnect()
7.3.DATABASE SCHEME
This project presents its first ever digital event dedicated to rail
transport, the “Smart Mobility Experience” which will take place on
March 24th. This event will be the occasion for clients and partners of
the rail ecosystem, to discover new products and major innovations, as
well as to exchange about the digitalization and the future of rail.
8.TESTING
8.1.TEST CASES
Test cases contains:
1. GUI testing
2. Navigation testing
3. Functional testing
4. Non functional testing (Performance Security)
5. Data validation testing
6. Negative testing
7. Data Base Testing
Test cases for Railway Registration:
1. Check whether there is a train for your destination.
2. Check the availability of seats on the required date.
3. Check whether the available seats for required coach that is A/c or
Sleeper coaches.
Test Scenario: Train search with all route stations
1. Enter source and destination codes or source and destination
corresponding trains are displaying or not
2. Enter train number and date source and destination with all stations
are displaying or not
Scenario: check avaliablity of seats for required date
1. Search seats for Ac ,sleeper ,seat
2. Check upper middle ,lower births
3. Ticket fare for corresponding criteria
Booking :
Book the tickets with corresponding criteria
by cash or card
any concetion for senior citizen fi applicable
Scenario:
Print the ticket
same for cancelation of ticket
1. Check whether you have money.
2. Check the train is available & you have to go to the same destination.
3. Check working hours of booking office
Step1: Verify there is a train available to the destination.
Step2: Verify the seats are available on the particular date.
Step3: Verify the seats available of the coaches like sitting or berth and
check the fare of the particular system.
8.2.USER ACCEPTANCE TESTING
9.RESULTS
9.1.PERFORMANCE METRICES
Productivity.
Effectiveness, Upgrade / Renewal.
Demography, Staff Satisfaction,
Customer Satisfaction,
Efficiency, Rentability,
Performance, Capacity, Quality.
Enhanced safety: Computer vision and AI-enabled smart cameras help automate safety alerts
when there are potential water spills, fire and smoke, or accidents. They can also be used to help
locate missing children in crowds or detect if someone climbs onto conveyor belts, falls on
escalators or onto trackways, or enters restricted areas.
Increased passenger satisfaction: IoT technologies provide operators myriad possibilities for
creating new solutions and services to meet passenger expectations. Operators can personalize
travel for individual passengers with near-real-time data collection and analysis or provide strong
and reliable onboard Wi-Fi so passengers can stay connected throughout their journey.
11.CONCLUSION
As IoT has quite a few disadvantages, its advantages of saving
the consumer time and money can’t be ignored. So in the near future, it
will be very common when the Internet Of Things will be in everyday
use in daily lives. Efforts are going on already to overcome its
disadvantages. From the Project, we learned that it opens possibilities
to enhance the quality of life in various aspects. But it is essential that
we use this technology in a proper manner to make this technology
work the best for us.
12.FUTURE SCOPE
The railway management system offers improved and
controlled operations, data analytics, energy management, asset
management, and staff & passenger information management.
Furthermore, the railway management system also offers disaster
management, which is very vital for the protection of asset and human
lives.