You are on page 1of 3

International Journal of Trend in Scientific Research and Development (IJTSRD)

Volume 5 Issue 6, September-October 2021 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470

Face Recognition Using ML in Public Transports


Mangal Kotkar, Shubham Gawade, Shubham Mandavkar, Prathamesh Gujar
IT Engineering, Dhole Patil College of Engineering, Pune, Maharashtra, India

ABSTRACT How to cite this paper: Mangal Kotkar |


Modernization of railways has forever been an issue focused on the Shubham Gawade | Shubham
development of the fundamental infrastructure of a nation. Since the Mandavkar | Prathamesh Gujar "Face
railways represent one of the most effective modes of transport Recognition Using ML in Public
offered to the people, It is important to keep a check on the security Transports" Published in International
Journal of Trend in
issues that are arising in todays world. According to the need there
Scientific Research
must be an upgradation in systems we use. One such upgradation is and Development
that the role of Artificial Intelligence and e-ticketing that is achieved (ijtsrd), ISSN: 2456-
with the assistance of face recognition technology. This technology 6470, Volume-5 |
has been extensively employed as a biometric method and hence can Issue-6, October
be used for passenger verification. 2021, pp.1605- IJTSRD47656
1607, URL:
KEYWORDS: face recognition, ticket verification, k-nearest www.ijtsrd.com/papers/ijtsrd47656.pdf
neighbours, OpenCV, haar cascade classifier
Copyright © 2021 by author (s) and
International Journal of Trend in
Scientific Research and Development
Journal. This is an
Open Access article
distributed under the
terms of the Creative Commons
Attribution License (CC BY 4.0)
(http://creativecommons.org/licenses/by/4.0)

1. INTRODUCTION
The main objective of the project is to design a and BLE, each of them having their own pros and
system for contactless verification of passenger and cons.
avoid black marketing in the ticket booking system so Quick Response (QR) Codes allow the storage of
that the passengers can enjoy a Hassle-free and information in a 2D barcode format, storing
delightful journey. information both horizontally and vertically, thus
Ticketing system for railways was introduced to carrying several hundred times more information than
manifest and authorize valid commuters to suit one’s regular barcodes. These codes can be read by
comfort, purpose or wants while travelling. In todays dedicated readers, or using smart phones as long as
scenario where the world is facing the Corona virus they have a camera and autofocus feature. Also, QR
pandemic customers wish to have a “frictionless Codes have the advantage of being easily created and
travel”, and a “frictionless experience”, whereas the can be printed using a regular printer, thus making the
current ticketing systems can discourage people from process of physical distribution not expensive. Near
utilizing public transport as there is no such facility Field Communication (NFC) is a short distance
available. To overcome the this issues, we propose a wireless technology, which comes embedded in some
ticket verification system using facial recognition that smart phones, that allows users to exchange
completely eliminates the idea of using paper tickets information with a smart card or other NFC devices.
and will also be use full for stoping illegal business in
A smart card consists of a passive NFC chip which
tickets booking.
can be read by a device called a reader which is an
1.1. Literature Survey active NFC device. An NFC tag is, for instance, a
Various technologies have already been introduced in small sticker containing an NFC chip, having stored
the past, some of them have been described in. data in it, that can be read or written by an active
According to some of the feasible technologies which device. Bluetooth is a wireless technology, that
can be used for railway ticketing are QR codes, NFC exchanges data over short distances using radio
transmissions. The most recent Bluetooth standard is

@ IJTSRD | Unique Paper ID – IJTSRD47656 | Volume – 5 | Issue – 6 | Sep-Oct 2021 Page 1605
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
called Bluetooth Smart, or Bluetooth Low Energy anytime and book a ticket. While booking a ticket the
(BLE); it has several advantages over the traditional user has to fill the basic details such as source,
standard, such as lower power consumption and destination, and date and so on.
enhanced range, and it is being adopted by the
When the user goes to the railway station and walks
recently released smart phones. These technologies through the gateway, the camera will detect the face
have their own flaws, some of them being usage of
of the user and check if the user has booked a ticket.
paper, high cost, high user interaction, less secure etc. If the user has booked a ticket, then the gateway
Another technology which was proposed in was the
opens and the user can pass through it and if the user
usage of RFID, this technology uses radio signals to hasn’t bought a ticket then the gateway will remain
exchange data between a mobile device equipped
closed. In this way this system prevents people
with memory and a host computer. RFID system
without a ticket from travelling and it also eliminates
consists of two essential components: a tag and a
the usage of a physical ticket.
reader. The tag is analogous to the barcode label and
it comes in different shapes and sizes. It contains an Step 1: Registration
antenna connected to a small microchip. The reader A new user has to register by entering the required
functions similar to a barcode scanner. However, details and the camera captures the image of the user
barcode scanner uses laser beams whereas the RFID which will be used for the verification.
reader uses electromagnetic waves. The drawback of Step 2: Login
this technology is that it is not cost effective as a huge The registered users can login to the portal to book
initial investment is required to install RFID readers the tickets by entering the username and password, if
in the Railway Stations. Therefore, in this paper facial either of the fields are incorrect then an error is
recognition technology is introduced to eliminate all thrown.
the issues faced due to the previously implemented
technologies. Step 3: Database Generation
A database is created and all the details of the users
MOTIVATION including their images are stored in it. The images of
In today’s world where everyone is facing Covid-19 the users will be trained using a specific algorithm.
pandemic people want a frictionless service to avoid
getting affected from the virus. The proposed system Step 4: Ticket Verification
helps us in providing the passenger a contact free This phase takes place when the user walks into the
service. gateway in the railway station. The camera installed
above the gateway detects the user’s face and it
Black marketing and using false identity document to checks with the database to verify if the user has
book tickets is increasing day-by-day. If there is any booked a ticket. If the verification is true, then the
illegal activity done by the passenger we can track user is permitted to enter the gateway otherwise the
him easily using the facial image. Also people gateway will remain closed thus preventing the users
travelling without ticket will not be allowed to board without a ticket from proceeding with their journey.
and hence it will reduce the corruption and provide
good travel experience to the passengers. Advantages
1. Less Corruption
1.2. The Proposed System 2. Time Saving
The proposed method is to use facial recognition. 3. Less Resources Consumption
Facial recognition system is a type of biometric 4. Faster and better process
identification which is used to identify a person from 5. Secure
the digital image of his/her face.
Application of the Proposed System
A complete process is divided into three steps where 1. Ticket Automation
the first step is to find or create a database of faces 2. Attendance System
with multiple images for each individual. The next
step is to detect the faces in the database and utilize
them to train the face recognizer and the final step is
to test the face recognizer which was trained to
recognize the images.
In the proposed system the new users have to register
themselves to the site. While doing the registration
images of the person will be captured and trained.
Once the registration is complete, the user can login System Architecture

@ IJTSRD | Unique Paper ID – IJTSRD47656 | Volume – 5 | Issue – 6 | Sep-Oct 2021 Page 1606
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
2. TECHNOLOGY STACK [2] Jannat Binta Alam, Md. Momarul Islam,
OpenCV Taskeed Jabid, Sabbir Ahmed, “System
It is a library of python bindings which is used to Development using Face Recognition” 2019
solve computer vision problems. The cv2 module of International Conference on Automation,
OpenCV is used for reading and writing images from Computational and Technology Management
the video stream. (ICACTM).
K Nearest Neighbors (KNN) [3] Vishakha Mehta, Sarika Khandelwal, Ashish
It is an algorithm used for classifying objects based Kumar Kumawat, “A Survey on Face
on the closest training examples in a feature space. Recognition” 2018 2nd International Conference
An object is classified by a majority vote of its on Trends in Electronics and Informatics
neighbors, with the object being assigned to the class (ICOEI).
most common amongst its k nearest neighbors. [4] Lingxiao Wang, Yali Li, Shengjin Wang,
Haar Cascade Classifier “Feature Learning for One-Shot Recognition”
It is used for object detection; it detects the face in an 2018 25th IEEE International Conference on
image based on various features. It has a cascade Image Processing (ICIP)
function which is trained from a lot of positive and
[5] Prasun Chowdhury, Poulami Bala, Diptadeep
negative images, based on the training objects can be Addy, Sumit Giri, Aritra Ray Chaudhuri,
detected from other images.
“RFID and Android based smart ticketing and
3. CONCLUSION destination announcement system” 2016
The system is expected to be fully automated, International Conference on Advances in
reliable, transparent and convenient. The whole Computing, Communications and Informatics
system can be practically implemented for luxury (ICACCI).
trains and buses, airport bounded buses, metro [6] Rui Couto, João Leal, Pedro Mauricio Costa,
stations, airports especially at cities in India. This Teresa Galvão, “Exploring Ticketing
helps to reduce chaos and ensures a smoother travel Approaches Using Mobile Technologies: QR
for passengers onboard. For commuters, traveling is Codes, NFC and BLE” 2015 IEEE 18th
unified, simplified, cost-effective and comfortable.
International Conference on Intelligent
Railway authorities only have to authorize Transportation Systems.
commuters’ travel, no wastage of paper, security of
[7] Florian Schroff, Dmitry Kalenichenko, James
commuters is ensured, no cash money transaction
Philbin, “FaceNet: A unified embedding for
needs to be done and less staff and resources are
face recognition and clustering’ 2015 IEEE
required. It is a practical and necessary upgradation to
Confernece on Computer Vision and Pattern
the Railways which solves a number of problems in
Recognition (CVPR).
the current system. Such advancements are necessary
considering the ever-increasing number of passengers [8] Rakesh Saini, Abhishek Saini, Deepak
in order to make travelling a more enjoyable Agarwal, “Analysis of Different Face
experience. Recognition Algorithms” 2014 International
Journal of Engineering Research & Technology
REFERENCES (IJERT).
[1] Sharmila, Raman Sharma, Dhanajay Kumar,
Kritika Gautham, “Performance Analysis Of [9] Neeti Jain, Nagesh Sharma, Nishant Kamboj,
Human Face Recognition Techniques” 2019 Ankur Kakani, “Analysis of Different Methods
4th Interational Conference on Internet Of for Face Recognition” 2014 Journal of
Things: Smart Innovation and Usages (IoT- Innovative Computer Science & Engineering
SIU) Volume 1 Issue 2.

@ IJTSRD | Unique Paper ID – IJTSRD47656 | Volume – 5 | Issue – 6 | Sep-Oct 2021 Page 1607

You might also like