Online Gatepass Management System Project
Online Gatepass Management System Project
A
Mini Project
On
BACHELOR OF TECHNOLOGY
in
INFORMATION TECHNOLOGY
BY
POLINENI SUMANTH (177R1A1234)
PATHA NATARAJ (177R1A1244)
PULABALA SREENADH (177R1A1241)
2017-2021
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
CERTIFICATE
CERTIFICATE
This is to certify that the project entitled “ONLINE GATEPASS MANAGEMENT SYSTEM”
being submitted by POLINENI SUMANTH (177R1A1234), PATHA NATARAJ
(177R1A1244) & PULABALA SREENADH (177R1A1241) in partial fulfillment of the
requirements for the award of the degree of [Link] in Information Technology of the Jawaharlal
Nehru Technological University Hyderabad, during the year 2020-2021. It is certified that they
have completed the project satisfactorily.
(Associate Professor)
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
ACKNOWLEDGEMENT
Apart from the efforts of us, the success of any project depends largely on the
encouragement and guidelines of many others. We take this opportunity to express our gratitude
to the people who have been instrumental in the successful completion of this project. We take
this opportunity to express my profound gratitude and deep regard to my guide.
Dr.M. Varaprasad Rao, Assistant Professor for his exemplary guidance, monitoring and
constant encouragement throughout the project work. The blessing, help and guidance given by
him shall carry us a long way in the journey of life on which we are about to embark.
We also take this opportunity to express a deep sense of gratitude to Project Review
Committee (PRC) Coordinators: Dr.M. Varaprasad Rao & Mr. J. Narasimha Rao for their
cordial support, valuable information and guidance, which helped us in completing this task
through various stages.
We are also thankful to the Head of the Department for providing excellent infrastructure and a
nice atmosphere for completing this project successfully.
We are obliged to our Director Dr. A. Raji Reddy for being cooperative throughout the course
of this project. We would like to express our sincere gratitude to our Chairman Sri. Ch. Gopal
Reddy for his encouragement throughout the course of this project.
The guidance and support received from all the members of CMR TECHNICAL
CAMPUS who contributed and who are contributing to this project, was vital for the success of
the project. We are grateful for their constant support and help.
Finally, we would like to take this opportunity to thank our family for their constant
encouragement without which this assignment would not be possible. We sincerely acknowledge
and thank all those who gave support directly and indirectly in completion of this project.
POLINENI SUMANTH(177R1A1234)
PATHA NATARAJ (177R1A1244)
PULABALA SREENADH (177R1A1241)
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
ABSTRACT
This Project 'Online Gate-pass Management System' is to record the details and various
activities of the user. It simplifies the task and reduces the paperwork. In this project, we are
reducing the paperwork which is done by giving the paper gate pass. We are providing the
electronic version of the paper gate pass. Admin is monitoring all the user and system. In this
project, the only faculty is approving the user gate application .if they want to allow visitor then
gate pass system is a pop-up on the guard system database. The system is very user-friendly
and it is anticipated that functions of the system are easily accessed by administrators, Faculties,
Visitors, and applicants.
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
LIST OF FIGURES
ii
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
LIST OF SCREENSHOTS
iii
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
TABLE OF CONTENTS
Page No’s
ABSTRACT i
LIST OF FIGURES ii
LIST OF SCREENSHOTS iii
1. INTRODUCTION 1
1.1 PROJECT SCOPE 1
1.2 PROJECT PURPOSE 1
1.3 PROJECT FEATURES 1
2. SYSTEM ANALYSIS 2
2.1 PROBLEM DEFINITION 2
2.2 EXISTING SYSTEM 2
2.2.1 LIMITATION OF EXISTING SYSTEM 3
2.3 PROPOSED SYSTEM 3
2.3.1 ADVANTAGES OF PROPOSED SYSTEM 3
2.4 FEASIBILITY STUDY 4
2.4.1 ECONOMIC FEASIBILITY 4
2.4.2 TECHNICAL FEASIBILITY 4
2.4.3 BEHAVIORAL FEASIBILITY 5
2.5 HARDWARE & SOFTWARE REQUIREMENTS 5
2.5.1 HARDWARE REQUIREMENTS 5
2.5.2 SOFTWARE REQUIREMENTS 5
3. ARCHITECTURE 7
3.1 PROJECT ARCHITECTURE 7
3.2 MODULES DESCRIPTION 7
iv
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
3.2.2 ADMINISTRATOR 8
3.2.2 USER 8
3.2.3 DATABSE 8
3.3 USE CASE DIAGRAM 9
3.4 CLASS DIAGRAM 10
3.5 SEQUENCE DIAGRAM 11
3.6 ACTIVITY DIAGRAM 12
4. IMPLEMENTATION 13
5. TESTING 21
6.1 INTRODUCTION TO TESTING 28
6.2 BASIC LEVELS OF TESTING 28
6.2.1 UNIT TESTING 28
6.2.2 SYSTEM TESTING 30
6.2.3 INTEGRATION TESTING 30
6.3 TEST CASES 31
6.3.1 NEW USER ID TESTING 31
6. SCREEN SHOTS
7. CONCLUSION 33
7.1 PROJECT CONCLUSION 34
7.2 FUTURE ENHANCEMENT 34
8. BIBLIOGRAPHY 35
8.1 REFERENCES 36
8.2 WEBSITES 36
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
1. INTRODUCTION
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
1. INTRODUCTION
Admin can track of the entry and exit times of all visitors
CMRTC 1
ONLINE GATEPASS MANAGEMENT SYSTEM
2. SYSTEM ANALYSIS
CMRTC 2
ONLINE GATEPASS MANAGEMENT SYSTEM
2. SYSTEM ANALYSIS
INTRODUCTION
System Analysis is the important phase in the system development process. The
System is studied to the minute details and analyzed. To conduct studies and analyses of
an operational and technological nature and to promote the exchange and development
of methods and tools for operational analysis as applied to defense problems.
CMRTC 5
ONLINE GATEPASS MANAGEMENT SYSTEM
Existing System is a manual process in this one has to note all the
details of visitors on register.
The developed system as well within the budget and this was achieved
because most of the technologies used are freely [Link] the system is
CMRTC 5
ONLINE GATEPASS MANAGEMENT SYSTEM
developed as part of project work, there is no manual cost to spend for the
proposed system. Also, all the resources are already available, it gives an
indication of the system is economically possible for development.
2.4.2 TECHNICAL FEASIBILITY
This study takes stock of the technical resources available to undertake a project
from an organization’s perspective. It includes ensuring that the technical resources are
adequate , and the hardware and software requirements are met. Technical Feasibility
will also include if proven technologies and methodologies exist to support the proposed
development.
CMRTC 5
ONLINE GATEPASS MANAGEMENT SYSTEM
CMRTC 6
ONLINE GATEPASS MANAGEMENT SYSTEM
CMRTC 8
ONLINE GATEPASS MANAGEMENT SYSTEM
[Link]
CMRTC 8
ONLINE GATEPASS MANAGEMENT SYSTEM
3. ARCHITECTURE
3.1PROJECT ARCITECTURE
This project architecture describes about how a data will
be stored in database. This describes how a user requests and an admin will
generate a response. The detailed architecture is explained below.
Modules:
System Administrator
DBA
3.2.1 ADMINISTRATOR
8
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
This website helps the department representatives to register the expected visitor
online, process the visit and pass on the information to the security.
Security and dept. can view the reports of the visitors for the date range. The
dept .The administrator can fill in secondary data for the visitor and also generate reports
and initiate other interdepartmental communication for coordinating/facilitating
arrangements.
3.2.2 DATABASE
Video Images: It will store the video images
in the database. And also create and manage
database reports, visualization and
dashboards.
Replicate databases: DBA creates backup and recovery plans
and procedures.
Image AI: Image AI contains functions like
ObjectDetection class to perform object detection on any
image or set of images using pre-trained modules.
Results: DBA stores the results for the maintenance and
evaluation purposes.
9
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
In the use case diagram, we have basically two actors who are the
visitor and the faculty. The visitor has the rights to login, access to resources
and to view the details. Whereas the faculty has the login, access to resources
of the users and also the right to accept the request of all visitors.
Fig. 3.2 Use Case Diagram for ONLINE GATEPASS MANAGEMENT SYSTEM
10
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
10
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
The user posts the queries to the hostel and the admin will perform the task and
he will give response to those queries.
11
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
12
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
4. IMPLEMENTATION
13
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
4. IMPLEMENTATION
[Link]
<?php
session_start();
include_once 'db/[Link]';
$objUser = new User();
$data=$objUser->login($_POST['regno'], $_POST['pass']);
if (mysqli_num_rows($data) > 0) {
$fetch_data = mysqli_fetch_assoc($data);
$_SESSION['type'] = $fetch_data['reg_as'];
$_SESSION['regno'] = $fetch_data['regno'];
$_SESSION['id'] = $fetch_data['id'];
if($_SESSION['type']=='STUDENT')
header("location:student/[Link]");
if($_SESSION['type']=='GUARD')
header("location:guard/[Link]");
if($_SESSION['type']=='FACULTY')
header("location:faculty/[Link]");
if($_SESSION['type']=='HOD')
header("location:hod/[Link]");
if($_SESSION['type']=='ADMIN')
header("location:admin/[Link]");
if($_SESSION['type']=='OFFICE')
header("location:office/[Link]");
else {
echo "<script>[Link]='[Link]';alert('Invalid User Name or Password !!')</script>";
}
?>
CMRTC
17
ONLINE GATEPASS MANAGEMENT SYSTEM
[Link]
<?php session_start(); if(session_destroy()) {header("Location: [Link]");}?>
[Link]
<?php
$text=$_GET['regno'];
include('vendor/phpqrcode/[Link]');
?>
[Link]
<?php
class db {
/*
type 1:Select, 2:Insert, 3:Update
return boolean
*/
public function ExecuteQuery($sql, $type = 1) {
$returnData;
try {
$sql = str_replace("''", "null", $sql);
$this->Connect();
//$sql = mysqli_escape_string($this->con, $sql);
$data = mysqli_query($this->con, $sql);
if ($type == 1) {
$returnData = $data;
}
if ($type == 2) {
$returnData = mysqli_insert_id($this->con);
}
if ($type == 3) {
$returnData = mysqli_affected_rows($this->con);
}
18
ONLINE GATEPASS MANAGEMENT SYSTEM
$this->Disconnect();
} catch (Exception $exe) {
$returnData = FALSE;
}
return $returnData;
}
CMRTC
19
ONLINE GATEPASS MANAGEMENT SYSTEM
20
ONLINE GATEPASS MANAGEMENT SYSTEM
CMRTC
21
ONLINE GATEPASS MANAGEMENT SYSTEM
self.pushButton_2 = [Link](Dialog)
self.pushButton_2.setGeometry([Link](150, 220, 100, 80))
self.pushButton_2.setStyleSheet("border-image:
url([Link]);") self.pushButton_2.setText("")
self.pushButton_2.setObjectName("pushButton_2")
######################3
self.pushButton_2.[Link]([Link])
#################
[Link] = [Link](Dialog)
[Link]([Link](140, 340, 110, 100))
[Link]("border-image: url(traffic-light-
[Link]);") [Link]("")
[Link]("Detection")
######################3
[Link]([Link])
#################
[Link](Dialog)
[Link](Dialog)
CMRTC
22
ONLINE GATEPASS MANAGEMENT SYSTEM
app = [Link]([Link])
Dialog = [Link]()
ui = ImageUpload()
[Link](Dialog)
[Link]()
[Link](app.exec_())
[Link]
from [Link] import ObjectDetection
import os
class TrafficDetection:
@staticmethod
def process(image):
execution_path = [Link]()
detector = ObjectDetection()
[Link]()
[Link]( [Link](execution_path , "resnet50_coco_best_v2.0.1.h5"))
[Link]()
detections = [Link](input_image=[Link](image),
output_image_path=[Link]( "[Link]"))
[Link]("powershell -c [Link]")
for eachObject in detections:
print(eachObject["name"] , " : " , eachObject["percentage_probability"] )
CMRTC
23
ONLINE GATEPASS MANAGEMENT SYSTEM
24
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
5. TESTING
27
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
5. TESTING
This examines the logic of the program. For example, the logic for updating
various sample data and with the sample files and directories were tested and verified.
SPECIFICATION TESTING:
Executing this specification starting what the program should do and how it
should perform under various conditions. Test cases for various situation and
combination of conditions in all the modules are tested.
28
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
29
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
It is one of two parts of the "box testing" approach of software testing. Its
counterpart, black box testing, involves testing from an external or end-user type
perspective. On the other hand, Whitebox testing is based on the inner workings of an
application and revolves around internal testing. The testing can be done at system,
integration and unit levels of software development. One of the basic goals of white box
testing is to verify a working flow for an application. It involves testing a series of
predefined inputs against expected or desired outputs so that when a specific input does
not result in the expected output, you have encountered a bug.
5.2.2 SYSTEM TESTING:
Once the individual module testing is completed, modules are assembled and
integrated to perform as a system. The top-down testing, which began from upper level
to lower-level module, was carried out to check whether the entire system is performing
satisfactorily.
There are three main kinds of System testing:
Alpha Testing
Beta Testing
ALPHA TESTING:
This refers to the system testing that is carried out by the test team with the
Organization.
BETA TESTING:
This refers to the system testing that is performed by a selected group of
friendly customers.
5.2.3 INTEGRATION TESTING:
Data can be lost across an interface, one module can have an adverse effort on
the other sub functions, when combined, may not produce the desired major functions.
CMRTC 30
ONLINE GATEPASS MANAGEMENT SYSTEM
Integrated testing is the systematic testing for constructing the uncover errors within the
interface. The testing was done with sample data. The developed system has run successfully
for this sample data. The need for integrated test is to find the overall system performance.
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
6. SCREENSHOTS
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
6. SCREEN SHOTS
21
CMRTC
ONLINEGATEPASS MANAGEMENT SYSTEM
22
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
6.2 ADMIN
6.3 QR CODE
23
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
24
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
6.4 RESULT
25
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
[Link]
33
CMRTC
ONLINE GATEPASS MANAGEMT SYSTEM
The project titled as “ ONLINE RICE TRADING ” is a web-based application. In this project, we
offer the bulk amount of rice for minimum price. This will get profits to farmers and savings to
customers. And also quality is also good due to the rice offering directly from farmers. Our website
consist of maps to order from their desired location and can select their necessary quantity and
placing the order. This type of system is never [Link] constraints are met and overcome
successfully. The system is designed as like it was decided in the design phase. The project gives
good idea on developing a full-fledged application satisfying the user requirements.
The system is very flexible and versatile. This software has a user-friendly screen that enables the user
to use without any inconvenience. Validation checks induced have greatly reduced errors. Provisions have
been made to upgrade the software. The application has been tested with live data and has provided a
successful result. Hence the software has proved to work efficiently.
In future the software can be developed further to include a lot of modules because the proposed system
is developed on the view of future. For example, we can connect different universities to the site so that
they can conduct their entrance exams online through this website. We can also add some modules like
NGO’s so that the user can get support from different organizations through different ways. Based on future
requirements advanced features can be added to the software so that it meets the demand of the users.
26
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
8. BIBILOGRAPHY
35
CMRTC
ONLIN E GATEPASS MANAGEMENT SYSTEM
[Link]
References
Websites
[Link]
33
CMRTC
ONLINE GATEPASS MANAGEMENT SYSTEM
CMRTC 36