You are on page 1of 29

E - RESTAURANT

S.E. mini-project report submitted in partial

fulfilment of the requirements of the degree of

Information
Technology
by

Atharva Walam [EU1214008] (57)

Ritesh Chaubey [EU1214041] (04)

Viraj Bamne [EU1214013]

(01)

Under the guidance of

Ms. Soniya khatu

Department of Information Technology

St. John College of Engineering and Management,

PalgharUniversity of Mumbai

2022–2023
CERTIFICATE

This is to certify that the S.E. mini-project entitled “E - RESTAURANT” is a

bonafide work of “Atharva Walam” [EU1214008] (57) “ Ritesh

Chaubey”[EU1214041] (04) “Viraj Bamne” [EU1214013] (01)

submitted to University of Mumbai in partial fulfilment of the requirement for the

award of the degree of “Information Technology Engineering” during the

academic year 2022-2023.

Ms. Soniya Khatu

Guide

Dr. Arun Saxena Dr. G.V. Mulgund

Head of Department Principal

ii
S.E. Mini-Project Report Approval

This mini-project synopsis entitled E – RESTAURANT by Atharva Walam


[EU1214008],Viraj Bamne[EU1214013], Ritesh Chaubey [EU1214041] is
approved for the degree of Information Technology Engineering from
University of Mumbai.

Examiners

1.---------------------------------------------

2.---------------------------------------------

Date:

Place:

4
Declaration
We declare that this written submission represents our ideas in
our own words and where others’ ideas or words have been
included, we have adequately cited and referenced the original
sources. We also declare that we have adhered to all principles of
academic honesty and integrity and have not misrepresented or
fabricated or falsified any idea/data/fact/sourcein our submission.
We understand that any violation of the above will be cause for
disciplinary action by the Institute and can also evoke penal action
from the sources which have thus not been properly cited or from
whom proper permission has not been taken when needed.

Signature
Atharva Walam [EU1214008]

Signature
Ritesh Chaubey [EU1214041]

Signature
Viraj Bamne [EU1214013]

5
Date:11/11/22
Table Of contents

Abstract v

List of Figures vii

List of Tables viii

List of Abbreviations ix

Chapter 1 Introduction 10

1.1 Motivation 10

1.2 Problem Statement 10

1.3 Scope 10

1.4 Objective

Chapter 2 Review of Literature 12

Chapter 3 Requirement Analysis 14

3.1 Hardware and Software Requirements 14

Chapter 4 Report on Present Investigation 15

4.1 Proposed System 15

4.1.1 Block diagram of Proposed System 15

4.2 Implementation 16

4.2.1 Algorithm/Flowchart 16

4.2.2 Pseudo code 16

5
4.2.3 Screenshots of the output with 25
description
Chapter 5 Result and discussion 29

Chapter 6 Conclusion 30

6.1 Conclusion 30

Reference 31
s

Acknowledgement 32

5
Abstract

The idea represented in the paper focuses on efficient design of system to save customer’s
time and avoid the situation of long queues and billing hassle. The system explained in this
paper uses wireless communication and mobile application technology to enable
communication between restaurants and their target customers for order management and
billing that will ensure good customer relation management and improve overall performance
of restaurants.

v
List of Figures

Figure No. Figure Name Page


No.
1 Block Diagram 15

2 Flowchart 16

3 Home page 25

4 Attendance Tracker page 26

5 Face detection 26

6 Python page 27

7 Maths page 27

8 Automata Page 28
List of Tables

Table No. Table Page


Name No.
4.1 Block Diagram 15

4.2 Flowchart 16

ix
List of Abbreviations

SJCEM St. John College of Engineering and Management

x
Chapter 1

Introduction

The system discussed in this paper is for better management of food orders for the
food courts at malls. The main focus of the system is to save customers time of
ordering and billing. The aim of the idea explained further is to eradicate drawbacks of
the current queue system used for food ordering which leads to loss of valuable
customers time. The system functions by using wireless communication system at the
mall for connecting restaurant app and the mobile app which will be installed on the
customers handheld device like mobile , PDAs Furthermore, the list of food item along
with the details of price and description can be viewed by the customer. The customer
can use the cart option to add items to the cart or remove items from the cart. This will
enable the customer to decide which items they want to order and compare menu
cards of different food courts. Once the order is placed, the customer will get the
acknowledgement and can proceed for the payment after which the user will get the
confirmation message from the server

1.1Motivation

These days, one of the most serious issue eateries and food courts are confronting is
the current queueing framework which makes the circumstance of long lines and
charging difficulty. Clients need to hold up extended periods to arrange their
sustenance which brings about losing the clients' enthusiasm because of long hold up
in the line. The framework clarified in this undertaking utilizes portable application
innovation to empower correspondence between nourishment courts and their
objective clients for request administration and charging that will guarantee great
client connection administration and enhance general execution of eateries.
Information science is the entire procedure of finding important examples and
connections in information by utilizing strategies like machine learning and insights by
means of complex information examination apparatuses. The point of this proposal
11
framework is to kill downsides of the current line framework and self-administrations;
increment productivity of nourishment court and sparing client's time.

12
1.2 Problem Statement

Many people visit mall for shopping on weekdays and weekends. It is observed
[6] that on an average the footfall of about 20,000-25,000 people to the food court on
weekdays. It is seen that lots of people eat at the food courts. Thus a good food court
management is necessary. Current system is in efficient in quick orders and delivery.
This motivated us to find a system based on smart phone app which makes it smooth
to place the order, give feedback and pay bill. Only requirement will be to go and collect
food since food court counter will be self-service.

1.3 Scope

Food court are known for their tasty food varieties, and people swarm around them like
bees to experience their taste . Hence, a proper food court management system is
needed for maintaining a hassle-free and hospitable environment for customers.

1.4 Objective

These days, one of the most serious issue eateries food court are confronting is the
current queueing framework which makes the circumstance of long lines and changing
difficulty. Clients need to hold up extended periods to arrange their sustenance which
brings about losing the clients enthusiasm because of long hold up in the lines. The
point of this proposal framework is to kill downsides of the current lines framework
and self-administrations increment productivity of nourishment court and sparing
client’s time.

13
Chapter 2

Review of Literature

Sr Paper title Authors name Conclusion Remark


no
1 Automatic Navesh Sallawar, With the help of MATLAB, International
attendance shubham Yende, they have implemented an research journal
system by using Vaibhav attendance system for of engineering
face recognition Padgilwar, Vishal lectures, section, and technology
kale, Parag laboratories by which the (IRJET)
Gorlewar, Gaurav teaching assistant can
Varma. record student attendance
which will gradually save
time and effort where there
are a huge number of
students

2 Attendance Sandhya Potadar, The proposed method International


management Riya Fale, uses face detection and journal of
system using prajakta faces recognition that engineering
face recognition kothawade, Arati helps to maintain the research &
padale automated attendance technology
system. Paul-viola jones (IJERT)
algorithm is used for
detection and the linear
binary pattern histogram
(LPBH) algorithm is
applied for face
recognition. The unique ID
and name of the student
are displayed along with
the confidence percentage

3 Automatic Face Vipul Jain, The proposed approach GRD Journals-


Recognition Radhika provides a method to Global Research
Attendance Mandhanya identify the individuals by and
System using comparing their input Development
Python and image obtained from the Journal for
OpenCv image in a folder. From Engineering
this model, we can
recognize the faces of
students and can mark
their attendance
automatically in real-time
without human
14
intervention. The feasibility
of the model can be
increased if a cloud can be
hired to store details.

4 Automatic Face Vipul Jain, The proposed approach GRD Journals-


Recognition Radhika provides a method to Global Research
Attendance Mandhanya identify the individuals by and
System using comparing their input Development
Python and image obtained from the Journal for
OpenCv image in a folder. From Engineering
this model, we can
recognize the faces of
students and can mark
their attendance
automatically in real-time
without human
intervention. The feasibility
of the model can be
increased if a cloud can be
hired to store details

5 Automatic Ashish In this system we have International


attendance choudhary, implemented attendance journal of
system using abhishek tripathi, system for lecture, section modern trends
face recognition. abhishek bajaj, or laboratory by which in engineering
mudit rathi, B.M lecturer or teaching and research
nandini assistant and record (IJMTER)
students attendance. It
saves times and efforts
especially if it is a lecture
with huge number of
students. The complete
system is implemented in
MATLAB. This attendance
system shows the use of
facial recognition
techniques for the purpose
of student attendance and
for the further process this
record of student can be
used in exam related
issues.

15
Chapter 3

Requirement Analysis

• Minimum requirements :-

1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor.


4 gigabyte (GB) RAM (32-bit) / 2 GB RAM (64-bit)
10 GB available disk space (32-bit) / 12 GB (64-bit)
Processor – Intel i5 10th generation

• Software :-

Visual studio code


Java : All the coding has been written in java
JFrame
INTELLIJ
NETBEANS
DBSQL

16
Chapter 4

Report on Present
Investigation

4.1 Proposed System

4.1.1 Block diagram of Proposed System

17
Fig. 4.1 Block Diagram

Block diagram :- Camera gets open then face gets detected it matches the face
details with database where already image is kept as reference as the feature are
matched the attendance is marked.

4.2 Implementation

4.2.1 Algorithm/Flowchart

18
Fig. 4.2 Flow chart

Flow chart:- Project starts, images are already stored in the databathe se, student
then select the subject where they have to mark their attendance, the camera starts
and the face gets detected and gets compared with the database then the student is
marked present and the process ends.

4.2.2 Pseudo Code:-

Main Code:-

19
package restaurantsystem;

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;
import restaurantsystem.component.auth.Login;

/**
*
* @author Ritesh
*/
public class Main extends JFrame {

public static void main(String[] args) {


// At first, show the login page and show menu after -
// the authentication process completed

createRequiredFileIfDoesNotExist();

Login im = new Login();


im.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
im.setVisible(true);
}

private static void createRequiredFileIfDoesNotExist() {


String fileNames[];

File rootDir = new File("storage");


rootDir.mkdirs();

fileNames = new String[] { "storage/item.txt",


"storage/labour.txt",
"storage/order.txt",
"storage/orderLine.txt" };

for (String fileName : fileNames) {


File file = new File(fileName);
if (!file.exists()) {
try {
file.createNewFile();
} catch (IOException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
}
}
}

Login page:-

20
package restaurantsystem.component.auth;

import javax.swing.JOptionPane;
import restaurantsystem.MainMenu;

/**
*
* @author Ritesh
*/
public class Login extends javax.swing.JFrame {

public Login() {
initComponents();

setDefaultUserName();
}

private void setDefaultUserName() {


this.userNameField.setText("ritesh");
this.passwordField.setText("ritesh");
}

@SuppressWarnings("unchecked")

private void initComponents() {

loginPanel = new javax.swing.JPanel();


userNameLabel = new javax.swing.JLabel();
userNameField = new javax.swing.JTextField();
passwordLabel = new javax.swing.JLabel();
loginButton = new javax.swing.JButton();
passwordField = new javax.swing.JPasswordField();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

loginPanel.setBackground(new java.awt.Color(153, 153, 255));


loginPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "E - RESTAURANT",
javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
javax.swing.border.TitledBorder.DEFAULT_POSITION,
new java.awt.Font("Lucida Grande", 0, 13), new java.awt.Color(0, 0, 204))); // NOI18N
loginPanel.setForeground(new java.awt.Color(153, 153, 255));
loginPanel.setToolTipText("");
loginPanel.setName(""); // NOI18N

userNameLabel.setBackground(new java.awt.Color(255, 153, 153));


userNameLabel.setForeground(new java.awt.Color(0, 0, 255));
userNameLabel.setText("User Name: ");

userNameField.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
userNameFieldActionPerformed(evt);
}
});

passwordLabel.setForeground(new java.awt.Color(0, 0, 204));


passwordLabel.setText("Password :");

loginButton.setText("Log In");

21
loginButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
loginButtonActionPerformed(evt);
}
});

javax.swing.GroupLayout loginPanelLayout = new javax.swing.GroupLayout(loginPanel);


loginPanel.setLayout(loginPanelLayout);
loginPanelLayout.setHorizontalGroup(
loginPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(loginPanelLayout.createSequentialGroup()
.addGap(31, 31, 31)
.addGroup(loginPanelLayout
.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(loginButton)
.addGroup(loginPanelLayout.createSequentialGroup()
.addGroup(loginPanelLayout
.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(userNameLabel,
javax.swing.GroupLayout.PREFERRED_SIZE, 89,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(passwordLabel))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(loginPanelLayout
.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addComponent(userNameField)
.addComponent(passwordField,
javax.swing.GroupLayout.DEFAULT_SIZE, 116,
Short.MAX_VALUE))))
.addContainerGap(57, Short.MAX_VALUE)));
loginPanelLayout.setVerticalGroup(
loginPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(loginPanelLayout.createSequentialGroup()
.addGap(23, 23, 23)
.addGroup(
loginPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(userNameLabel)
.addComponent(userNameField, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(
loginPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(passwordLabel)
.addComponent(passwordField, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addComponent(loginButton)
.addContainerGap(34, Short.MAX_VALUE)));

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());


getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(45, 45, 45)
.addComponent(loginPanel, javax.swing.GroupLayout.PREFERRED_SIZE,

22
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(46, Short.MAX_VALUE)));
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(54, 54, 54)
.addComponent(loginPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addContainerGap(67, Short.MAX_VALUE)));

loginPanel.getAccessibleContext().setAccessibleName("");

pack();
}// </editor-fold>//GEN-END:initComponents

private void loginButtonActionPerformed(java.awt.event.ActionEvent evt) {// GEN-


FIRST:event_loginButtonActionPerformed
if (userNameField.getText().equalsIgnoreCase("ritesh")) {
JOptionPane.showMessageDialog(this, "Access granted");
this.dispose();
MainMenu mainMenu = new MainMenu();
mainMenu.setVisible(true);
} else {
userNameField.setText("");
passwordField.setText("");
JOptionPane.showMessageDialog(this, userNameField.getText() + " Access Denied");
}

}// GEN-LAST:event_loginButtonActionPerformed

private void userNameFieldActionPerformed(java.awt.event.ActionEvent evt) {// GEN-


FIRST:event_userNameFieldActionPerformed
// TODO add your handling code here:
}// GEN-LAST:event_userNameFieldActionPerformed
public static void main(String args[]) {

try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}

java.awt.EventQueue.invokeLater(() -> {
new Login().setVisible(true);
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables

23
private javax.swing.JButton loginButton;
private javax.swing.JPanel loginPanel;
private javax.swing.JPasswordField passwordField;
private javax.swing.JLabel passwordLabel;
private javax.swing.JTextField userNameField;
private javax.swing.JLabel userNameLabel;
// End of variables declaration//GEN-END:variables

4.2.3 Screenshots of the output with description:

4.2. Login page –


Here only admin can login.

Management Page :
-

24
Order page :-
Here you can see the food items that you have to ordered.

Order placed:-
Here your order is successfully placed.

25
Chapter 5
Result and Discussion

As this was a small-scale project, data structure and implementation did not have many
problems. However, it took the author many efforts with research and study with different
technologies needed as these tools and technologies were new to the author. This caused a
delay in the development of the project. Despite the delay and difficulties, the author was able
to incorporate those tools and technologies and complete the project.
However, the success rate of e-Restaurant was not as expected. The success rate depended
upon the quality of the code, program, and sufficient dataset in the database. When these
factors were to be managed properly, the success rate of E restaurant increased.
While the process of researching and implementing was overwhelming, it started to be
interesting as the project started to show some results.

26
Chapter 6

Conclusion

6.1 Conclusion

The ultimate objective of our project is to provide a platform where users can save
their precious time standing in queue This system focuses on three major goals:

 Recommendation of food items

 Future prediction for food outlet owners

 Reduce queues and billing hassle

 Displaying all outlets and their menu list

27
Thus by using wireless communication and mobile application will enable efficient
ordering and payment system to reduce queues at food courts in mall. The system
discussed in the paper will essence good service and improves overall food court
experience of customer making the poor order management process simple for the
counters at the food court.

Reference

1)Connecting Food Courts in Mall using Web App, International Journal of Computer
Applications (0975 – 8887) Volume 139 – No.13, April 2016.

2) A Framework for Recommendation System for Food Court Amit Choudhary , Savita
Ahlawat

3) Shashank S U, Raksha Hegde M, K Raghuveer, “A Survey on Food Recommendation


Systems”, IJARCSSE, vol 6, issue 4, April 2016.

4) Market Research – Restaurant Management System.

5) DhoreB.,SurabhiThakar1,PrajaktaKulkarni, RasikaThorat(2014), “Digital Table Booking and


Food Ordering System Using Android Application” in International Journal of Emerging
Engineering Research and Technology Volume 2, Issue 7, October , PP 76-81.

28
6) Mayur D. Jakhete , Piyush C.Mankar(2015), "Implementation of SmartRestaurant with e-
menu Card" ,in International Journal of Computer Applications (0975 – 8887) Volume 119
–No.21, June 2015 .

Acknowledgment

Today, we cannot find appropriate words that will express a deep sense of gratitude and satisfaction.
We are indebted to our inspiring guide Mrs.Soniya khatu who has extended all the valuable guidance
giving constant encouragement through various difficult stages of the development of the project. We
express our sincere gratitude to our respected principal Dr. G. V. Mulgund for the encouragement and
facilities provided to us. We would also like to acknowledge the patience that our ever-beloved parents
have shown during our efforts and the encouragement we have received from them. Thus, we have
fully obliged and convey our thanks to the teaching and as well as non-teaching staff of the
department. Special thanks to all the lab assistants for helping us with problems developed in the lab
and assisting, helping us to solve any problems generated on the spot. Last but not least we would like
to thank all direct and indirect identities of the college with whom we took the strides for this
successful project.

29

You might also like