International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 08 Issue: 04 | Apr 2021 www.irjet.net p-ISSN: 2395-0072
© 2021, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 4740
Scan & Order
A Model for Ordering in Restaurant Based on QR Code

, 
, 
1-3
School of Engineering and Technology, Sharda University, Greater Noida 201308, India
-----------------------------------------------------------------------***------------------------------------------------------------------------
Abstract: QR codes were first used in 1994 in the automotive industry in Japan. Since then and today the technology of QR
code has come a long way and is now a household name. QR code scanning has found usage in many fields and industries over
the years. One of the latest and more exciting usage of QR code was found in the restaurant business. The methodology is
simple, customers scan a QR code provided to them with their smartphones, a menu shows up, they place orders via an app on
the smartphone. In today's world where social distancing is so necessary because of the pandemic, this process can prove to be
the saving grace of the restaurant industry.
Keywords - QR Code, Restaurant management system, android app
1. Introduction
One of the things that customers hate about restaurants is the waiting time. One a typical busy restaurant day, a customer has
to first wait for a table, after settling down the customer has to wait for the server to take the order [1], then the server takes
the order to the chef and the wait for food preparations begins. After all this the server brings the order to the customers and
they can finally enjoy their food. All this waiting time gives the patron a bad experience. If there was a way to reduce the
waiting time, it would give a major boost to the entire experience.
Restaurants are also one of the worst hit industries because of the global pandemic. People are wary of restaurants because
they are afraid that they will catch the virus from the staff of the restaurant or other patrons [2]. This is causing the
restaurants to incur heavy losses.
The traditional system of restaurants needs a revamp to account for all these problems. Restaurants need a way to reduce the
waiting time as well as reduce the human contact in any way possible.
A way to tackle these issues can be the Scan & Order” app. “Scan & Order” is a QR code-based food ordering and payment app
[3]. The user will be provided with a QR code in their table. The code can be scanned with any smartphone and will take the
customer to a menu page. With the help of this customers can order without waiters and can also pay for the food through the
app.
2. A brief study of the QR code technology
2.1 Background of QR
A QR (Quick Response) code is a scannable code encoded with data. In the case of QR codes, data (of various forms) is
converted into a unique two-dimensional arrangement of squares. When a QR code scanner is placed over those squares [4], it
decodes their marshalling back into that data’s original form.
2.2 Components of a QR code
Following are some important components of QR code
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 08 Issue: 04 | Apr 2021 www.irjet.net p-ISSN: 2395-0072
© 2021, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 4741
Figure 1: Mechanism for QR scanning
4.1Data Modules: A simple black square on white background (color composition can change) [5]. Most of the QR code
is composed of marshalling of these data modules.
Position Marker: Every QR code has three position markers [6]. The purpose of position markers is to help the code
scanner in identifying the position of data modules [7]. Position markers are composed of an inner eye and an outer
eye.
Quiet Zone: Quit zone is an empty area inside which the positions markers and data modules are present [8]. Its
purpose is also easy identification of code areas by the scanner.
3. System Designing
The Scan and Order app has to be installed in the user’s smartphones. The data flow is as follows: Once the user scans the QR
code, the data will be gathered by app and sent to a server running Node JS [9]. The backend server processes and verifies the
data and queries the database. The database sends requested data back to the backend which is transferred to the application.
Figure 2: System Design Overview of Scan and Order
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 08 Issue: 04 | Apr 2021 www.irjet.net p-ISSN: 2395-0072
© 2021, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 4742
3.1 System Implementation
The flow chart of scan and order app is depicted in figure 3. First step after opening the app is OTP login. In case of successful
login, the user can scan the QR code provided to them. The QR code data will provide a menu to users from which they can
order [10]. After ordering, the payment menu will pop up and after successful payment, the order is redirected to the chef.
Figure 3: System Implementation of Scan and Order
3.2 Use Case diagram
The Scan and Order app will have the following functionalities as shown in figure 4: OTP login, QR code scanning, ordering
from menu, payment using UPI.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 08 Issue: 04 | Apr 2021 www.irjet.net p-ISSN: 2395-0072
© 2021, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 4743
Figure 4: Use case diagram of scan and order
4. Methodology
4.1 Placing order without a server
In every table of the restaurant, there is a QR code unique to that restaurant. The patron requires to have a smartphone and
the Scan & Order” app present in the phone. The patron can scan the QR code with the app [11]. After scanning the code, a
menu will be displayed in the app. The user can see details about various food items, their price etc. and place orders directly
from the app. The chef and customer have a sort of direct connection which saves time by cutting the middleman [12]. The
chef also gets orders in a timely and ordered manner which reduces the chance of preparing the wrong order.
4.2 Payment without a cashier
After the customer is done with the ordering, they can enjoy their food [13]. The last part of the cycle is payment. The “Scan &
Order” app can also handle payment of orders. The user will automatically get a bill in the app which can be paid with the help
of UPI from the app itself [14].
5. Advantages and Challenges
5.1 Advantages
Saves time of restaurant staff
The customer can order at their own leisure
Hassle free electronic payments
Reduce contact of staff and customers (Covid precautions)
Option to rescue the restaurant workforce
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 08 Issue: 04 | Apr 2021 www.irjet.net p-ISSN: 2395-0072
© 2021, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 4744
5.2 Challenges
An active internet connection is required for the process
The loss of traditional restaurant face to face interactions
At least one time contact with staff when the server brings over the food
6. Conclusion
Although there is a certain charm and nostalgia attached with the traditional system of restaurants and face to face
interactions the times and conditions today demand a change in the system. With almost everyone in the world using a
smartphone and rapid technological advancement, restaurants should make use of technology to replace or better the
traditional system.
There are many improvements that can be made in the app itself for example adding some entertainment system for
customers while they wait, still the use of such technology can greatly improve the customer’s as well as staff's experience.
There is room for improvement in the system which will breed innovation and help the restaurant managers make the
experience of both customers and staff much better.
7. References
[1] Ching-Su Chang, Che-Chen Kung, and Tan-Hsu Tan, “Development and implementation of an e-restaurant for customer-
centric service using WLAN and RFID technologies,” presented at the 2008 International Conference on Machine Learning and
Cybernetics (ICMLC), Jul. 2008, doi: 10.1109/icmlc.2008.4620963.
[2] D. Boldureanu, I. Roman, D. Sardaru, and G. G. Andruseac, “Romanian Citizens’ Attitudes and Opinions over the Course of
the Covid-19 Pandemic,'' presented at the 2020 International Conference on e-Health and Bioengineering (EHB), Oct. 2020,
doi: 10.1109/ehb50910.2020.9280207.
[3] A. Yadav, D. Yadav, S. Gupta, D. Kumar, and P. Kumar, “Online Food Court Payment System using Blockchain Technology,”
presented at the 2018 5th IEEE Uttar Pradesh Section International Conference on Electrical, Electronics and Computer
Engineering (UPCON), Nov. 2018, doi: 10.1109/upcon.2018.8596794.
[4] P.-Y. Lin and Y.-H. Chen, “QR code steganography with secret payload enhancement,” presented at the 2016 IEEE
International Conference on Multimedia & Expo Workshops (ICMEW), Jul. 2016, doi: 10.1109/icmew.2016.7574744.
[5] H. Tribak, S. Moughyt, Y. Zaz, and G. Schaefer, “Remote QR code recognition based on HOG and SVM classifiers,” presented
at the 2016 International Conference on Informatics and Computing (ICIC), 2016, doi: 10.1109/iac.2016.7905704.
[6] G. Pan, A. H. Liang, J. Liu, M. Liu, and E. X. Wang, “3-D Positioning System Based QR Code and Monocular Vision,” presented
at the 2020 5th International Conference on Robotics and Automation Engineering (ICRAE), Nov. 2020, doi:
10.1109/icrae50850.2020.9310908.
[7] Z. Li and J. Huang, “Study on the use of Q-R codes as landmarks for indoor positioning: Preliminary results,” presented at
the 2018 IEEE/ION Position, Location and Navigation Symposium (PLANS), Apr. 2018, doi: 10.1109/plans.2018.8373516.
[18] M. Dirix and D. Heberling, Qualitative Quiet Zone comparison using spherical near-field scanning,” presented at the 2012
Loughborough Antennas & Propagation Conference (LAPC), Nov. 2012, doi: 10.1109/lapc.2012.6402969.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 08 Issue: 04 | Apr 2021 www.irjet.net p-ISSN: 2395-0072
© 2021, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 4745
[9] Y.-W. Kao, G.-H. Luo, H.-T. Lin, Y.-K. Huang, and S.-M. Yuan, “Physical Access Control Based on QR Code,” presented at the
2011 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), Oct. 2011, doi:
10.1109/cyberc.2011.55.
[10] Imamah, “One Time Password (OTP) Based on Advanced Encryption Standard (AES) and Linear Congruential Generator
(LCG),” presented at the 2018 Electrical Power, Electronics, Communications, Controls and Informatics Seminar (EECCIS), Oct.
2018, doi: 10.1109/eeccis.2018.8692931.
[11] K. Navin, A. Shanthini, and M. B. M. Krishnan, “A mobile based smart attendance system framework for tracking field
personals using a novel QR code-based technique,” presented at the 2017 International Conference On Smart Technologies For
Smart Nation (SmartTechCon), Aug. 2017, doi: 10.1109/smarttechcon.2017.8358623.
[12] M. Z. H. Noor, A. A. A. Rahman, M. F. Saaid, M. S. A. M. Ali, and M. Zolkapli, “The development of Self-Service Restaurant
Ordering System (SROS),” presented at the 2012 IEEE Control and System Graduate Research Colloquium (ICSGRC), Jul. 2012,
doi: 10.1109/icsgrc.2012.6287190.
[13] A. Abraham, A. Poly, T. Aishwarya, and A. George, “SPAQ: Secure PIN authentication using QR code,” presented at the 2017
International Conference on Intelligent Computing and Control Systems (ICICCS), Jun. 2017, doi:
10.1109/iccons.2017.8250661.
[14] S. Malladi, “Towards Formal Modeling and Analysis of UPI Protocols,” presented at the 2021 Third International
Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV), Feb. 2021, doi:
10.1109/icicv50876.2021.9388452.