Online Voting System Using Face Recognition and OTP (One-Time Password)
Online Voting System Using Face Recognition and OTP (One-Time Password)
https://doi.org/10.22214/ijraset.2023.49689
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
Abstract: The fundamental idea behind this system is to provide an online voting system that will aid in reducing fraud in
manual voting systems and earlier iterations of online voting that used a webcam for face recognition and OTP generating. Also,
we are introducing a location-free voting mechanism for voters who are unable to visit the polling location (hometown). Here,
we suggest a method that uses various layers of authentication, starting with face recognition and continuing with OTP
verification using validation data, to guarantee the device's dependability. Only after being identified and verified against the
provided database of registered voters may each voter access the system. When the information provided and the corresponding
face match, the voter will be permitted to move through with selecting their top candidate from the panel.
Keywords: Image Processing, Python, Voting System, Face Recognition, MySQL, OTP
I. INTRODUCTION
According to TOI records, 11 lakhs of fraudulent votes were discovered in Delhi on January 24, 2009. Later, in June 2013, 30000
illegal voters were discovered in the Sheila Dikshit constituency by the electoral commission, according to India News. Ram Vilas
Paswan, the leader of the Lok Janshakti Party, also claimed that 30% of the voter cards used in the Bihar elections were false.
Depending on the post, elections may involve both public and private voting. Some of the most crucial positions are held by local,
state, and federal governments. Voters cast their ballots in paper-based elections by placing them in sealed boxes placed throughout
the electoral circuits of a certain nation. After the election time is over, the boxes containing the ballot control unit are opened, and the
votes are counted. manually in front of the qualified electoral commission officers. Voting is therefore a time-consuming operation
that also uses a lot of resources. Using face recognition and OTP, we have suggested an online voting system in this study. The server
unit receives the information on the OTP and Face for further verification. The server then checks the database for data and compares
it to data that already exists there. The person is permitted to poll the vote if the data matches the information that has previously been
stored. If not, a message is shown on the screen, thus the user must do so. is forbidden from counting the votes. Representatives for
voting are chosen by electorates. In the current situation, a voter must present his or her voter ID card in order to cast a ballot.
Because the voter ID card needs to be authenticated by the authorities, this process takes time. Thus to speed up the voting process
and avoid such type of problems, we have proposed the new system.
II. BACKGROUND
Road networks are crucial for connecting communities and supporting economic growth, but regular usage and other factors can lead
to potholes and other road defects that pose safety risks and cause inconvenience for commuters. Traditional methods of pothole
detection can be time-consuming and inaccurate, but leveraging technology such as sensors and machine learning algorithms can
provide real-time and accurate data on pothole locations and severity. The development of an android pothole detection system that
can leverage smartphone sensors and machine learning algorithms has the potential to revolutionize road maintenance and safety. The
proposed system will use the smartphone's GPS sensors to detect potholes and distinguish between potholes and other road
irregularities. The system will also be integrated with a backend database that can store and analyze data on road conditions, allowing
authorities to prioritize maintenance and repairs. The android pothole detection system can provide several benefits, such as reducing
road accidents, lowering repair costs, and minimizing traffic congestion. The development of such a system has the potential to
revolutionize the transportation industry, providing safer and more efficient means of travel for all.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1742
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
For this implementation, an Ethereum smart contract is utilised. The concept behind this solution is to use homomorphic encryption,
blockchain technology, and private sharing protocols to keep trustworthy third parties out of the decentralised voting applications. It
provides the general public with a transparent voting procedure that safeguards voter anonymity, data transfer privacy, and ballot
verification during the billing phase.
1) Advantages
a) It improves voting transparency and guards against voter identity ambiguity.
b) During the paying phase, privacy protection for data transmission and ballot verification is offered.
2) Disadvantages
a) Security risk present.
3) Limitations
a) Issue of Compatibility can occur.
1) Advantages
a) Speed of counting of ballots is increased using this application.
b) Saves the cost of paying staff as there is no need tocount votes manually
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1743
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
V. DESCRIPTION
The user must first register in the system by entering information such their Aadhar number, mobile number, city, age, and password.
The voter dataset contains this data. When a user registers, the system uses a webcam to capture an input image of them. In order to
match templates, this image is kept in the face dataset. After logging into the system with their Aadhar number and password, they
may then vote. The user must then respond to a security question. Once the verification process is successful, the user advances to the
following page, where they may choose which candidate to vote for. After pressing the vote button, the camera turns on and checks
the user's face against the provided dataset. Upon satisfactory validation of when the face has been successfully verified, an OTP will
be sent to the user's registered cellphone number. Voting is successful if the OTP is validated.
A. Modules
1) Voter (User): Voters are crucial in this case because they choose which candidate to support. The voter is a confirmed user who
has been given admin permission to vote.
2) ML Process: The purpose of machine learning is to teach voter faces to recognise voting times for candidates.
3) Face and OTP Verification: The suggested architecture states that there are two methods of voting-time authentication: facial
recognition and OTP verification.
B. Algorithm used
1) Local Binary Pattern Histogram
A discernible descriptor style used for computer vision classification is called local binary patterns (LBP). LBP was made into a
special case from the 1990 Texture Spectrum model. The first time LBP was represented was in the year 1994. As a result, it has
been utilised as a texture for identifying solid components. Combining LBP with the descriptor histogram of directed gradients
improves the execution of identification on specific datasets (HOG). The flowchart for the LBPH algorithm is shown in Figure 1.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1744
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
To encode features, the input picture is partitioned into cells (4 × 4) of pixels. By carrying the surrounding pixel values either
clockwise or anticlockwise, the contrast is achieved. Every neighbor's intensity value is compared to the value of the focal pixel.
The location has been given a 1 or a 0 depending on whether the difference is higher or lower than 0. The results are an 8-bit value
in a single cell.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1745
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1746
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue III Mar 2023- Available at www.ijraset.com
VI. CONCLUSION
Our suggested approach combines facial identification with machine learning to enable voters to register and cast ballots from any
location, regardless of where they are. This technique offers security and prevents one individual from casting numerous votes. This
approach, in which we may cast our votes from many locations, is more dependable. Also, it reduces work, human needs, and time
resources.
VII. ACKNOWLEDGMENT
Our suggested approach combines facial identification with machine learning to enable voters to register and cast ballots from any
location, regardless of where they are. This technique offers security and prevents one individual from casting numerous votes. This
approach, in which we may cast our votes from many locations, is more dependable. Also, it reduces work, human needs, and time
resources.
REFERENCES
[1] Prof. KritiPatidar, Prof. Swapnil Jain “Decentralized E- Voting Portal Using Blockchain.”
[2] Prof. Shashank S Kadam, Ria N Choudhary, SujayDandekar, DebjeetBardhan, Namdeo B Vaidya “Electronic Voting Machine with Enhanced Security”
[3] RahilRezwan, Huzaifa Ahmed, M. R. N. Biplob, S. M. Shuvo, Md. AbdurRahman “Biometrically Secured Electronic Voting Machine”
[4] Z.A. Usmani, KaifPatanwala, MukeshPanigrahi, Ajay Nair “Multipurpose platform independent online voting system.”
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 1747