1822 B.E Cse Batchno 84
1822 B.E Cse Batchno 84
LEARNING
Submitted in partial fulfillment of the requirements for the award of Bachelorof
Engineering degree in Computer Science and Engineering
by
SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(DEEMED TO BE UNIVERSITY)
Accredited with Grade “A” by NAAC
MAY - 2022
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERINGBONAFIDE
CERTIFICATE
This is to certify that this Project Report is the bonafide work of KORAPATI MAHESH (Reg.
No: 38110288), SILUVERU HAKHILESH RAM (Reg. No: 38110189) who
ad of the Department
Dr. L. LAKSHMANAN M.E., Ph.D.,
I G.sai jithin, Yanamala Umesh hereby declare that the Project Report entitled TRAFFIC-
LEARNING done by me under the guidance of Dr. G. Nagarajan M.E., Ph.D., (Internal)
is submitted in partial fulfillment of the requirements for the award of Bachelor of Engineering
I convey my thanks to Dr. T. Sasikala M.E., Ph. D, Dean, School of Computing Dr. L.
Lakshmanan M.E., Ph.D., and Dr. S. Vigneshwari M.E., Ph.D. Head of the Department,
Dept. of Computer Science and Engineering for providing me necessary support and
details at the right time during the progressive reviews.
I would like to express my sincere and deep sense of gratitude to my Project Guide Dr.
G. Nagarajan ME., Ph. D for his valuable guidance, suggestions and constant
encouragement paved way for the successful completion of my project work.
I wish to express my thanks to all Teaching and Non-teaching staff members of the
Department of Computer Science and Engineering who were helpful in many ways for
the completion of the project.
TABLE OF CONTENTS
ABSRACT i
LIST OF FIGURES vi
1 INTRODUCTION 1
1.5 Objectives 4
2 LITERATURE SURVEY 6
3.3.1 Disadvantages 15
3.4 Preparing Dataset 15
23
4.1 Project Requirements
23
4.1.1 Functional Requirements
23
4.1.2 Non-Functional Requirements
24
4.1.3 Environment Requirements
24
4.2 Software Description
24
4.2.1 Anaconda Navigator
26
4.2.2 Jupyter Notebook
28
4.2.3 Python
30
4.3 Python Libraries Needed
30
4.3.1 NUMPY Library
31
4.3.2 PANDAS Library
31
4.3.3 MATPLOTLIB Library
31
4.3.4 SCIKIT-LEARN Library
32
4.3.5 TKINTER
32
4.4 System Architecture
33
4.5 UML Diagrams
33
4.5.1 Class Diagram
34
4.5.2 Use Case Diagram
35
4.5.3 Workflow Diagram
36
4.5.4 Activity Diagram
37
4.5.5 Sequence Diagram
38
4.5.6 Entity Relationship Diagram
48
4.8.1 Data Validation process and
Visualization
54
4.8.2 Prediction of DOS Attacks
55
4.8.3 Prediction of R2L Attacks
56
4.8.4 Prediction of U2R Attacks
57
4.8.5 Prediction of Probe Attacks
58
4.8.6 Prediction of Overall Network
Attacks
59
4.8.7 GUI based prediction results
of
Network Attacks
5 61
RESULTS AND DISCUSSION,
PERFORMANCE ANALYSIS
61
5.1 Performance Analysis
64
5.2 Discussion
6 65
SUMMARY AND CONCLUSION
65
6.1 Summary
65
6.2 Conclusion
65
6.3 Future Work
66
REFERENCES
67
APPENDIX
A. SOURCE CODE 67
B. SCREENSHOTS 118
LIST OF FIGURES
Abstract
Automatic detection and recognition of traffic signs plays a crucial role in
management of the traffic-sign inventory. It provides an accurate and timely way to
manage traffic-sign inventory with a minimal human effort. In the computer vision
community, the recognition and detection of traffic signs are a well-researched
problem. A vast majority of existing approaches perform well on traffic signs needed
for advanced driver-assistance and autonomous systems. However, this represents a
relatively small number of all traffic signs (around 50 categories out of several
hundred) and performance on the remaining set of traffic signs, which are required
to eliminate the manual labor in traffic-sign inventory management, remains an open
question. In this paper, we address the issue of detecting and recognizing a large
number of traffic-sign categories suitable for automating traffic-sign inventory
management. We adopt a convolutional neural network (CNN) approach, the mask
R-CNN, to address the full pipeline of detection and recognition with automatic end-
to-end learning. We propose several improvements that are evaluated on the
detection of traffic signs and result in an improved overall performance. This
approach is applied to detection of 200 traffic-sign categories represented in our
novel dataset. The results are reported on highly challenging traffic-sign categories
that have not yet been considered in previous works. We provide comprehensive
analysis of the deep learning method for the detection of traffic signs with a large
intra-category appearance variation and show below 3% error rates with the
proposed approach, which is sufficient for deployment in practical applications of
the traffic-sign inventory management.
CHAPTER 1
INTRODUCTION
LITERATURE SURVEY
Literature survey is the most important step in software development process. Before
developing the tool it is necessary to determine the time factor, economy and
company strength. Once these things are satisfied, then the next step is to determine
which operating system and language can be used for developing the tool. Once the
programmers start building the tool the programmers need lot of external support.
This support can be obtained from senior programmers, from book or from websites.
Before building the system the above consideration are taken into account for
developing the proposed system. The major part of the project development sector
considers and fully survey all the required needs for developing the project. For
every project Literature survey is the most important sector in software development
process. Before developing the tools and the associated designing it is necessary to
determine and survey the time factor, resource requirement, man power, economy,
and company strength. Once these things are satisfied and fully surveyed, then the
next step is to determine about the software specifications in the respective system
such as what type of operating system the project would require, and what are all the
necessary software are needed to proceed with the next step such as developing the
tools, and the associated operations.
[2.1] A novel lightweight CNN architecture for traffic sign recognition without
GPU requirements
For a safe and automated vehicle driving application, it is a prerequisite to have a
robust and highly accurate traffic sign detection system. In this paper, we proposed
a novel energy-efficient Thin yet Deep convolutional neural network architecture for
traffic sign recognition. Within the proposed architecture, each convolutional layer
contains less than 50 features enabling our convolutional neural network to be
trained quickly even without the aid of a graphics processing unit. The performance
of the proposed architecture is measured using two publicly available traffic sign
datasets, namely the German Traffic Sign Recognition Benchmark and the Belgian
Traffic Sign Classification dataset. First, we train and test the performance of the
proposed architecture using the large German Traffic Sign Recognition Benchmark
dataset. Then, we retrain the network models using transfer learning on the more
challenging Belgian Traffic Sign Classification dataset to evaluate test performance.
The proposed architecture outperforms the performance of the state-of-the-art traffic
sign methods with at least five times less parameter in the individual end-to-end
network for training.
[2.2]An efficient convolutional neural network for small traffic sign detection
Deep learning has become a ubiquitous method in object detection among multiple
domains recently. However, in the era of edge computing, deploying deep neural
networks on mobile edge platforms are challenging due to long latency and huge
computational cost. As previous research efforts were usually focused on accuracy,
achieving the balance between computational consumption and accuracy is a more
significant problem to be tackled in mobile edge computing domain. To this end, we
proposed an efficient convolutional neural network (CNN), which can remarkably
minimize the redundancy, reduce the parameters and speed up the networks. The
effectiveness of the network is further proved with experiments on a Tsinghua-
Tencent 100K traffic sign dataset. Results show that under the same-level model
size, our network outperforms the state-of-the-art Fast R-CNN and Faster R-CNN
with 10% improvement in accuracy. Compared to similar work, the computational
consumption on running time and memory of our network has been also reduced in
the premise of little loss in accuracy.
SYSTEM REQUIREMENTS
Ram : 2 GB
SYSTEM ANALYSIS
4.1 PURPOSE
The purpose of this document is detection of traffic sign using machine learning
algorithms. In detail, this document will provide a general description of our project,
including user requirements, product perspective, and overview of requirements,
general constraints. In addition, it will also provide the specific requirements and
functionality needed for this project - such as interface, functional requirements and
performance requirements.
4.2 SCOPE
The scope of this SRSdocument persists for the entire life cycle of the project.
This document defines the final state of the software requirements agreed upon by the
customers and designers. Finally at the end of the project execution all the
functionalities may be traceable from the SRSto the product. The document describes
the functionality, performance, constraints, interface and reliability for the entire life
cycle of the project.
Yuan et al. in which though the accuracy rate was high, the processing time was also
very high. Another method used fusion network formation to obtain features of the
signs and background statistics around the observed image, but the complexity was
high.
4.4 Disadvantages of exsisting system
➢ Increased algorithms complexity
➢ Heavy system hardware requirement
➢ Different pre-processing for training data are necessary
1. The DFD is also called as bubble chart. It is a simple graphical formalism that
can be used to represent a system in terms of input data to the system, various
processing carried out on this data, and the output data is generated by this
system.
2. The data flow diagram (DFD) is one of the most important modeling tools. It
is used to model the system components. These components are the system
process, the data used by the process, an external entity that interacts with the
system and the information flows in the system.
3. DFD shows how the information moves through the system and how it is
modified by a series of transformations. It is a graphical technique that depicts
information flow and the transformations that are applied as data moves from
input to output.
4. DFD is also known as bubble chart. A DFD may be used to represent a system
at any level of abstraction. DFD may be partitioned into levels that represent
increasing information flow and functional detail.
ER DIAGRAM
UML DIAGRAMS
GOALS:
The Primary goals in the design of the UML are as follows:
1. Provide users a ready-to-use, expressive visual modeling Language so that
they can develop and exchange meaningful models.
2. Provide extendibility and specialization mechanisms to extend the core
concepts.
3. Be independent of particular programming languages and development
process.
4. Provide a formal basis for understanding the modeling language.
5. Encourage the growth of OO tools market.
6. Support higher level development concepts such as collaborations,
frameworks, patterns and components.
7. Integrate best practices.
SEQUENCE DIAGRAM:
A sequence diagram in Unified Modeling Language (UML) is a kind of interaction
diagram that shows how processes operate with one another and in what order. It is
a construct of a Message Sequence Chart. Sequence diagrams are sometimes called
event diagrams, event scenarios, and timing diagrams.
ACTIVITY DIAGRAM:
Activity diagrams are graphical representations of workflows of stepwise activities
and actions with support for choice, iteration and concurrency. In the Unified
Modeling Language, activity diagrams can be used to describe the business and
operational step-by-step workflows of components in a system. An activity diagram
shows the overall flow of control.
CHAPTER 6
MODULES DESCRIPTION
6.1 MODULES
➢ Segmentation Module
➢ Data Pre-processing
➢ Traffic Sign-Recognition
➢ Traffic Sign-Detection
MODULE DESCRIPTION
6.1.1 Segmentation Module
Segmentation is the method of partitioning a visual image into different subgroups
(of pixels) called Image Objects, which reduces the image's complexity and makes
image analysis easier. Thresholding is the method of using an optimal threshold to
transform a grayscale input image to a bi-level image.
CHAPTER 7
SYSTEM IMPLEMENTATION
➢ After completing the pre-processing with the collected data and then by
applying machine learning algorithms it detects and recognizes the traffic
signal.
7.2 Problem Statement:
CONCLUSION
In this paper, we have discussed that how our proposed system detects the
traffic signal and recognizes using machine learning algorithms. The proposed
system is also scalable for detecting and recognizing the traffic sign by image
processing. The system is not having complex process to detect and recognize that
the data like the existing system. Proposed system gives genuine and fast result than
existing system. Here in this system we use cnn algorithm to detect and recognize
the traffic sign.
REFERENCES
[1] Aziz S, Mohamed E, Youssef F (2018) Traffic sign recognition based on multi-
feature fusion and ELM classifier. Proc Comput Sci 127:146–153.
[2] Jang, C., Kim, H., Park, E., Kim, H. (2016). Data debiased traffic sign
recognition using MSERs and CNN. In 2016 International Conference on
Electronics, Information, and Communications (ICEIC), Da Nang, Vietnam, pp. 1-
4. https://doi.org/10.1109/ELINFOCOM.2016.7562938.
[3] Lai, Y., Wang, N., Yang, Y., & Lin, L. (2018). Traffic signs recognition and
classification based on deep feature learning. In 7th International Conference on
Pattern Recognition Applications and Methods (ICPRAM), Madeira, Portugal (pp.
622-629).
[4] Rosario G, Sonderman T, Zhu X. (2018) Deep Transfer Learning for Traffic Sign
Recognition[C]//2018IEEE International Conference on Information Reuse and
Integration (IRI). IEEE: 178–185. MLA.
[5] Hatolkar, Y., Agarwal, P., & Patil, S. (2018). A Survey on Road Traffic Sign
Recognition System using Convolution Neural Network.
[6] Huang, Z., Yu, Y., Gu, J., & Liu, H. (2017). An efficient method for traffic sign
recognition based on extreme learning machine. IEEE transactions on cybernetics,
47(4), 920-933.
[7] Li, C., Hu, Y., Xiao, L., Tian, L. (2012). Salient traffic sign recognition based on
sparse representation of visual perception. In 2012 International Conference on
Computer Vision in Remote Sensing, Xiamen, China, pp. 273-278.
https://doi.org/10.1109/CVRS.2012.6421274.
[8] Shi W, Xin L, Yu Z et al (2017) An FPGA-based hardware accelerator for traffic
sign detection. IEEETransactions on Very Large Scale Integration Systems 4:1362–
1372.
[9] Rosario G, Sonderman T, Zhu X. (2018) Deep Transfer Learning for Traffic
signal Recognition[C] 2018 IEEE International Conference on Information Reuse
and Integration.
[10] Li, H., Gong, M. (2017). Self-paced Convolutional Neural Networks. In IJCAI,
pp. 2110-2116.