Smart Voting System Using Deep Learning and Computer Vision
Smart Voting System Using Deep Learning and Computer Vision
https://doi.org/10.22214/ijraset.2022.43430
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
Abstract: Since, India being the largest democracy in the world. Still uses voting machines to hold elections, which comes with
high costs and manual labour. But voting plays a crucial role in the election of high-ranking government officials and reflects
our view of how a governing body should be formed. Investigations are conducted from time to time to troubleshoot the central
voting system, increasing anonymity, credibility and security while preventing all types of fraud. In this paper, there is an
implementation of a method that uses deep learning techniques which develops a smart voting system. Due to its advanced
features, most researchers follow and use the Boosted Cascade framework. The enhanced Cascade Framework features help you
calculate and build a classifier that works more accurately. However, this accuracy rate requires a large number of Cascade
Stages to help reduce similar performance with the detection and recognition accuracy. This provides protection in the sense that
the most secure voter password is verified before a vote is received on the main database of the Indian Electoral Commission and
voters can verify that his or her vote has reached to correct participant of election. The votes counting is done automatically, thus
saving a lot of time and the results can be announced in a very short time by the Indian Electoral Commission. The user
verification process is enhanced by adding a face recognition to the app that will determine whether the voter is a certified user
or not.
Keywords: Online voting system, smart voting, face recognition, face detection, security, user authentication, deep learning, haar
cascade classifier, computer vision.
I. INTRODUCTION
In India, being voting system as online is a way for the people to elect their representatives and express their preferences on how
they will be governed. It is very important to have belief in the electoral process. The electoral process is secure in the event of an
election irregularity and the system will increase security levels. But there is a possibility of Maoist attacks and fraud problems in
some areas, there is a chance of losing votes and their lives. So the public needs a more secure voting system.
Elections are a process by which people can talk about their political feelings. They express these feelings in an open democracy to
elect a political pioneer. Besides, the political pioneer would have a responsibility, authority, and job. As we can see that election is
a conventional cooperative choice creation procedure. Additionally, the chosen political pioneer would hold an open office. The
political race is an important pillar of many legal systems. This is on the grounds that; Election gives guarantee that the
administration is of the individuals, by the individuals, and for the individuals. Constituent frameworks are having point by point
protected plans and casting ballot frameworks. These step by step established ideas and voting structures turn the vote into a
political decision.
The expected approach is to establish a firm online voting system using face recognition aimed at overcoming all drawbacks that
occur in the existing voting system. The proposed system has many powerful attributes such as accuracy, reliability, comfort, etc. In
this system, there is no need of an electoral officer, a ballot paper or any other electronic voting system but only a strong connection
of internet and face scanners are essential where one can vote from anywhere.
II. MOTIVATION
Elections are extremely extravagant in India so ordinary people may not be able to afford this. Only the wealthy people can run in
the elections. They also use political power and money in an illegal way. But election laws should address the misuse of official
equipment at the time of elections. However, the ruling party also uses government vehicles and workers to favour them. Again, on
the basis of racism and religion most of the votes are being casted. As a result the people are split up into fractions which is not a
good thing in the electoral system. Therefore, to avoid this conflict, an online voting system is proposed.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4462
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
A. Architecture
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4463
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
B. Methods
In this section, we have explained a detail information about the methodologies used in this proposed system. We focused on the
various factors regarding face detection and recognition from any image or video. So following are the methods used for face
detection as well as recognition.
1) LBPH Algorithm: Local Binary Patterns Histogram (LBPH) algorithm is used to authenticate the facial image of the voters
from the database afford by the election commission. Basically, Local binary Pattern works on the image having a basic
structure which compares every pixel with its neighborhood pixels.
2) CNN Algorithm: The CNN consists of an input and an output layer between these two layers there is more complex and that
includes the multiple convolution layers, pooling layers, fully connected layers and normalization layers which are called
hidden layer. CNN's have two components (1) hidden layers or feature extractor that is designed to take classify the 2D
structure of an input image and (2) the classification part which is fully connected layers. The convolution layer as it receives
an input from the previous layer then transforms the inputs that are specifically designed to process pixel data and then the
layer outputs the transformed input to the next convolution layer. These operations of the convolution layers called
convolution operation.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4464
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
3) Haar Cascade Classifier: Haar Cascading Algorithm is an Object Detection Algorithm which is used for image as well as
face recognition. It is explained based on two main factors that are Haar features and cascade classifier. Haar features are
calculated by considering a rectangular regions of an image and divide it into multiple parts, sums up the pixel intensities and
calculates the difference between these sums.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4465
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
V. REQUIREMENT SPECIFICATIONS
A. Software Requirements
1) Operating System : Windows 7+
2) GUI : Flask
3) IDE : PyCharm IDE
4) Libraries Used : Pandas, OS, Pillow, PyMySQL, NumPy.
B. Hardware Requirements
1) Processor : I3/Intel Processor
2) RAM : 4GB (min)
3) Hard Disk : 128 GB
4) Key Board : Standard Windows Keyboard
5) Mouse : Two or Three Button Mouse
A. Admin
B. User
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4466
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
The detail implementation of the proposed model that are Screenshots of the system are as follows…
1) Home Page/ Dashboard: It contains “Administrator”, “New Registration”, and “Update Details”.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4467
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
4) User Registration: Here User/Voter has to register first with his/her information.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4468
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
7) Capture Image: After Registration & email verification, voter’s image is captured and stored in the database.
8) Identify Voter: After clicking on vote, voter is identified by comparing the image stored in database and can vote
9) Entering Vote: By identifying the voter, he/she can enter their vote. If not identified then has to click on vote again.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4469
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
VIII. CONCLUSION
We have successfully developed an online voting system. The system has a new registration feature which takes in frontal facial
images of the person registering. The user needs to verify their emails using OTP for a successful registration. Once someone is
registered, the models has to be trained again by the admin in order to detect and recognize the new person. A registered user is
identified by their face and then allowed to vote unless they have already voted as no one can vote more than once. Frontal Face
Haar cascading algorithm is used for facial embedding generation. Computer Vision is employed for image pre-processing and
video streaming. Also Flask is used for the User Interface via Python. To detect and recognize a face of a person, in this paper we
have proposed both Convolution Neural Networks (CNN) and Local Binary Patterns Histograms (LBPH) approach for extracting
the features and matching the process for face detection, tracking and recognition. We have first shown that current measures used
in face detection, tracking and recognition jointly. In this proposed system, we have applied deep learning techniques to improve the
positive rate of recognition to identify the person. A training model was considered as a collection of training images and a testing
model was then obtained by our proposed technique. Experiments were tested on persons on a real time video and the recognition
tasks performed very well.
REFERENCES
[1] Md. Maminul Islam, Md. Sharif Uddin Azad, Md. Asfaqul Alam, Nazmul Hassan, “Raspberry Pi and image processing based Electronic Voting Machine
(EVM)”, 2014 International Journal of Scientific & Engineering Research, Volume 5, Issue 1, pp. 1506-1510, January-2014.
[2] G. Keerthana, P. Priyanka, K. Alise Jenifer, R. Rajadharashini, Aruna Devi. P, “Impressive Smart Card Based Electronic Voting System”, 2015 IJRET:
International Journal of Research in Engineering and Technology, Volume 4, Issue 3, pp. 284-288, March-2015.
[3] Ms.Ashwini Ashok Mandavkar, Prof. Rohini Vijay Agawane, “Mobile Based Facial Recognition Using OTP Verification for Voting System”, 2015 IEEE
International Advance Computing Conference (IACC), pp.644-649, 2015.
[4] Shekhar Mishra, Y. Roja Peter, Zaheed Ahmed Khan, M. Renuka, Abdul Wasay, S.V. Altaf, “Electronic Voting Machine using Biometric Finger Print with
Aadhar Card Authentication”, 2017 International Journal of Engineering Science and Computing, Volume 7, Issue 3, pp. 5897-5899, March-2017.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4470
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue V May 2022- Available at www.ijraset.com
[5] L. Vetrivendan, Dr. R. Viswanathan, J. Angelin Blessy, “Smart Voting System Support through Face Recognition”, 2018 International Journal of Engineering
Research in Computer Science and Engineering (IJERCSE) Vol 5, Issue 4, pp. 203-207, April-2018.
[6] Gowtham R , Harsha K N, Manjunatha B, Girish H S , Nithya Kumari R, “Smart Voting System”, 2019 International Journal of Engineering Research &
Technology (IJERT), Volume 8 Issue 4, pp. 294-296, April-2019.
[7] Ch. Chandra Mouli, M. Laasya Priya, J. Uttej, G. Pavan Sri Sai, DR. R. Vijay Kumar Reddy, “Smart Voting System”, 2020 International Journal for Innovative
Engineering and Management Research”, Volume 9 Issue 9, pp. 115-119, Sept 2020.
[8] Mahalakshmi Mabla Naik, Dr. Preethi N. Patil, “Smart Voting through Face Recognition”, 2020 International Journal of Creative Research Thoughts (IJCRT),
Volume 8, Issue 5, pp. 4031-4035, May 2020.
[9] Ganesh Prabhu S., Nizarahammed A., Prabu.S, Raghul S. , R. R. Thirrunavukkarasu, P. Jayarajan, “Smart Online Voting System”, 2021 7th International
Conference on Advanced Computing and Communication Systems (ICACCS), pp. 632-643, 2021.
[10] S. Jehovah Jitreh Arputhamoni, Dr. A. Gnana Saravanan, “Online Smart Voting System Using Biometrics Based Facial and Fingerprint Detection on Image
Processing and CNN”, 2021 3rd International Conference on Intelligent Communication Technologies and Virtual Mobile Networks, 2021.
BIOGRAPHIES
Miss Rutuja B. Ardak is pursuing M.E. in Computer Science & Engineering from Sipna College of
Engineering and Technology, amravati. She has received the degree in Bachelor of Engineering (B.E.)
from Sant Gadge Baba Amravati University, India, in 2020. She had granted work in her U.G. project B.E
level entitled “Detection of Malicious URL Using Machine Learning”. Her area of interests is Data
Mining, Deep learning and Embedded Systems.
Dr. Aashish A. Bardekar has received his M.E. degree in Computer Science and engineering and done Ph.
D from Sant Gadge Baba Amravati University (MS), India. Currently, he works as an Associate Professor
in Sipna College of Engineering and Technology, Amravati. He has 17 years of teaching experience. His
area of research was Music and its effect on Nervous system. His areas of interest are Cognitive
Psychology and Image processing.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4471